2013-09-28 08:55:19 -05:00
|
|
|
# use "yapm install ." if you're installing this from git repository
|
2013-05-29 00:10:57 -05:00
|
|
|
|
2013-06-07 20:16:28 -05:00
|
|
|
name: sinopia
|
2015-02-12 06:59:58 -05:00
|
|
|
version: 1.0.1
|
2013-05-29 00:10:57 -05:00
|
|
|
description: Private npm repository server
|
|
|
|
|
|
|
|
author:
|
|
|
|
name: Alex Kocharin
|
|
|
|
email: alex@kocharin.ru
|
2013-12-28 19:52:23 -05:00
|
|
|
|
2013-06-14 04:08:29 -05:00
|
|
|
repository:
|
|
|
|
type: git
|
2013-09-28 08:55:19 -05:00
|
|
|
url: git://github.com/rlidwka/sinopia
|
2013-05-29 00:10:57 -05:00
|
|
|
|
|
|
|
main: index.js
|
|
|
|
|
|
|
|
bin:
|
2013-06-07 20:16:28 -05:00
|
|
|
sinopia: ./bin/sinopia
|
2013-05-31 01:26:11 -05:00
|
|
|
|
2013-05-29 00:10:57 -05:00
|
|
|
dependencies:
|
2014-11-13 11:15:50 -05:00
|
|
|
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'
|
2014-08-10 18:52:09 -05:00
|
|
|
|
|
|
|
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'
|
2014-11-24 18:44:01 -05:00
|
|
|
es6-shim: '0.21.x'
|
2014-11-24 19:12:03 -05:00
|
|
|
semver: '>=2.2.1 <5.0.0-0'
|
2014-08-10 18:52:09 -05:00
|
|
|
minimatch: '>=0.2.14 <2.0.0-0'
|
|
|
|
bunyan: '>=0.22.1 <2.0.0-0'
|
2014-12-10 01:29:52 -05:00
|
|
|
handlebars: '2.x'
|
2014-08-10 18:52:09 -05:00
|
|
|
highlight.js: '8.x'
|
|
|
|
lunr: '>=0.5.2 <1.0.0-0'
|
2014-12-10 01:14:31 -05:00
|
|
|
render-readme: '>=0.2.1'
|
2014-11-16 07:37:50 -05:00
|
|
|
jju: '1.x'
|
2014-08-10 18:52:09 -05:00
|
|
|
|
|
|
|
mkdirp: '>=0.3.5 <1.0.0-0'
|
2014-09-17 18:16:58 -05:00
|
|
|
sinopia-htpasswd: '>= 0.4.3'
|
2014-11-24 18:38:38 -05:00
|
|
|
http-errors: '>=1.2.0'
|
2014-08-10 18:52:09 -05:00
|
|
|
|
2014-03-30 23:32:11 -05:00
|
|
|
optionalDependencies:
|
2014-08-10 18:52:09 -05:00
|
|
|
# those are native modules that could fail to compile
|
|
|
|
# and unavailable on windows
|
2014-11-24 20:25:42 -05:00
|
|
|
fs-ext: '>=0.4.1 <1.0.0-0'
|
2014-11-14 20:43:21 -05:00
|
|
|
crypt3: '>=0.1.6 <1.0.0-0' # for sinopia-htpasswd
|
2014-08-10 18:52:09 -05:00
|
|
|
|
2013-09-27 01:16:46 -05:00
|
|
|
devDependencies:
|
2014-11-30 03:14:14 -05:00
|
|
|
#
|
|
|
|
# Tools required for testing
|
|
|
|
#
|
2014-08-10 18:52:09 -05:00
|
|
|
rimraf: '>=2.2.5 <3.0.0-0'
|
2015-03-28 13:30:19 -05:00
|
|
|
|
|
|
|
# https://github.com/mochajs/mocha/issues/1614
|
|
|
|
mocha: '<= 1.20'
|
2013-09-27 01:16:46 -05:00
|
|
|
|
2014-11-30 03:14:14 -05:00
|
|
|
#
|
|
|
|
# Linting tools
|
|
|
|
#
|
2015-03-28 13:25:53 -05:00
|
|
|
eslint: '>= 0.18'
|
2013-12-22 19:14:57 -05:00
|
|
|
|
2013-12-28 19:52:23 -05:00
|
|
|
# for debugging memory leaks, it'll be require()'d if
|
|
|
|
# installed, but I don't want it to be installed everytime
|
|
|
|
#heapdump: '*'
|
|
|
|
|
2014-11-30 03:14:14 -05:00
|
|
|
#
|
|
|
|
# Tools required to build static files
|
|
|
|
#
|
2014-12-10 01:29:52 -05:00
|
|
|
browserify: '7.x'
|
|
|
|
browserify-handlebars: '1.x'
|
2014-08-10 18:52:09 -05:00
|
|
|
grunt: '>=0.4.4 <1.0.0-0'
|
2014-11-30 03:14:14 -05:00
|
|
|
grunt-cli: '*'
|
2014-08-10 18:52:09 -05:00
|
|
|
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'
|
2014-05-12 10:42:04 -05:00
|
|
|
|
2014-11-30 03:14:14 -05:00
|
|
|
# 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'
|
|
|
|
|
2013-09-26 19:19:16 -05:00
|
|
|
keywords:
|
2013-06-14 04:08:29 -05:00
|
|
|
- private
|
2013-09-26 19:19:16 -05:00
|
|
|
- package
|
2013-06-14 04:08:29 -05:00
|
|
|
- repository
|
|
|
|
- registry
|
2013-09-26 19:19:16 -05:00
|
|
|
- modules
|
|
|
|
- proxy
|
|
|
|
- server
|
2013-06-14 04:08:29 -05:00
|
|
|
|
2013-09-27 01:16:46 -05:00
|
|
|
scripts:
|
2015-03-28 13:25:53 -05:00
|
|
|
test: eslint --reset . && mocha -R dot ./test/functional ./test/unit
|
|
|
|
test-travis: eslint --reset . && mocha -R spec ./test/functional ./test/unit
|
|
|
|
test-only: mocha -R dot ./test/functional ./test/unit
|
|
|
|
lint: eslint --reset .
|
2014-07-26 12:27:10 -05:00
|
|
|
prepublish: js-yaml package.yaml > package.json
|
2015-03-28 11:01:48 -05:00
|
|
|
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 = require("jju").stringify(x, {mode: "json", indent: 2})
|
|
|
|
require("fs").writeFileSync("./npm-shrinkwrap.json", x + "\n")
|
|
|
|
'
|
2013-09-27 01:16:46 -05:00
|
|
|
|
2013-09-27 03:54:16 -05:00
|
|
|
# we depend on streams2 stuff
|
|
|
|
# it can be replaced with isaacs/readable-stream, ask if you need to use 0.8
|
|
|
|
engines:
|
2013-09-28 11:59:18 -05:00
|
|
|
node: '>=0.10'
|
2013-09-27 03:54:16 -05:00
|
|
|
|
2013-05-29 00:10:57 -05:00
|
|
|
preferGlobal: true
|
2013-12-22 19:14:57 -05:00
|
|
|
|
2014-03-31 19:19:52 -05:00
|
|
|
publishConfig:
|
|
|
|
registry: https://registry.npmjs.org/
|
|
|
|
|
|
|
|
license:
|
|
|
|
type: WTFPL
|
|
|
|
url: http://www.wtfpl.net/txt/copying/
|