forked from rlidwka/sinopia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
135 lines (112 loc) · 3.02 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# use "yapm install ." if you're installing this from git repository
name: sinopia
version: 1.4.0
description: Private npm repository server
author:
name: Alex Kocharin
email: [email protected]
repository:
type: git
url: git://github.com/rlidwka/sinopia
main: index.js
bin:
sinopia: ./bin/sinopia
dependencies:
express: '>=5.0.0-0 <6.0.0-0'
# express middlewares
express-json5: '>=0.1.0 <1.0.0-0'
body-parser: '>=1.9.2 <2.0.0-0'
compression: '>=1.2.0 <2.0.0-0'
commander: '>=2.3.0 <3.0.0-0'
js-yaml: '>=3.0.1 <4.0.0-0'
cookies: '>=0.5.0 <1.0.0-0'
request: '>=2.31.0 <3.0.0-0'
async: '>=0.9.0 <1.0.0-0'
es6-shim: '0.21.x'
semver: '>=2.2.1 <5.0.0-0'
minimatch: '>=0.2.14 <2.0.0-0'
bunyan: '>=0.22.1 <2.0.0-0'
handlebars: '2.x'
highlight.js: '8.x'
lunr: '>=0.5.2 <1.0.0-0'
render-readme: '>=0.2.1'
jju: '1.x'
JSONStream: '1.x'
mkdirp: '>=0.3.5 <1.0.0-0'
sinopia-htpasswd: '>= 0.4.3'
http-errors: '>=1.2.0'
# node 0.10 compatibility, should go away soon
readable-stream: '~1.1.0'
optionalDependencies:
# those are native modules that could fail to compile
# and unavailable on windows
fs-ext: '>=0.4.1 <1.0.0-0'
crypt3: '>=0.1.6 <1.0.0-0' # for sinopia-htpasswd
devDependencies:
#
# Tools required for testing
#
rimraf: '>=2.2.5 <3.0.0-0'
bluebird: '2 >=2.9'
mocha: '2 >=2.2.3'
#
# Linting tools
#
eslint: '>= 0.18'
# for debugging memory leaks, it'll be require()'d if
# installed, but I don't want it to be installed everytime
#heapdump: '*'
#
# Tools required to build static files
#
browserify: '7.x'
browserify-handlebars: '1.x'
grunt: '>=0.4.4 <1.0.0-0'
grunt-cli: '*'
grunt-browserify: '>=2.0.8 <3.0.0-0'
grunt-contrib-less: '>=0.11.0 <1.0.0-0'
grunt-contrib-watch: '>=0.6.1 <1.0.0-0'
# for building static/main.js,
# not required in runtime
unopinionate: '>=0.0.4 <1.0.0-0'
onclick: '>=0.1.0 <1.0.0-0'
transition-complete: '>=0.0.2 <1.0.0-0'
keywords:
- private
- package
- repository
- registry
- modules
- proxy
- server
scripts:
test: eslint --reset . && mocha ./test/functional ./test/unit
test-travis: eslint --reset . && mocha -R spec ./test/functional ./test/unit
test-only: mocha ./test/functional ./test/unit
lint: eslint --reset .
prepublish: js-yaml package.yaml > package.json
clean-shrinkwrap: |
node -e '
function clean(j) {
if (!j) return
for (var k in j) {
delete j[k].from
delete j[k].resolved
if (j[k].dependencies) clean(j[k].dependencies)
}
}
x = JSON.parse(require("fs").readFileSync("./npm-shrinkwrap.json"))
clean(x.dependencies)
x = JSON.stringify(x, null, " ")
require("fs").writeFileSync("./npm-shrinkwrap.json", x + "\n")
'
# we depend on streams2 stuff
# it can be replaced with isaacs/readable-stream, ask if you need to use 0.8
engines:
node: '>=0.10'
preferGlobal: true
publishConfig:
registry: https://registry.npmjs.org/
license:
type: WTFPL
url: http://www.wtfpl.net/txt/copying/