2013-09-28 15:55:19 +02:00
|
|
|
# use "yapm install ." if you're installing this from git repository
|
2013-05-29 07:10:57 +02:00
|
|
|
|
2013-06-08 03:16:28 +02:00
|
|
|
name: sinopia
|
2015-02-12 12:59:58 +01:00
|
|
|
version: 1.0.1
|
2013-05-29 07:10:57 +02:00
|
|
|
description: Private npm repository server
|
|
|
|
|
|
|
|
author:
|
|
|
|
name: Alex Kocharin
|
|
|
|
email: alex@kocharin.ru
|
2013-12-29 01:52:23 +01:00
|
|
|
|
2013-06-14 11:08:29 +02:00
|
|
|
repository:
|
|
|
|
type: git
|
2013-09-28 15:55:19 +02:00
|
|
|
url: git://github.com/rlidwka/sinopia
|
2013-05-29 07:10:57 +02:00
|
|
|
|
|
|
|
main: index.js
|
|
|
|
|
|
|
|
bin:
|
2013-06-08 03:16:28 +02:00
|
|
|
sinopia: ./bin/sinopia
|
2013-05-31 08:26:11 +02:00
|
|
|
|
2013-05-29 07:10:57 +02:00
|
|
|
dependencies:
|
2014-11-13 17:15:50 +01: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-11 01:52:09 +02: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-25 00:44:01 +01:00
|
|
|
es6-shim: '0.21.x'
|
2014-11-25 01:12:03 +01:00
|
|
|
semver: '>=2.2.1 <5.0.0-0'
|
2014-08-11 01:52:09 +02:00
|
|
|
minimatch: '>=0.2.14 <2.0.0-0'
|
|
|
|
bunyan: '>=0.22.1 <2.0.0-0'
|
2014-12-10 07:29:52 +01:00
|
|
|
handlebars: '2.x'
|
2014-08-11 01:52:09 +02:00
|
|
|
highlight.js: '8.x'
|
|
|
|
lunr: '>=0.5.2 <1.0.0-0'
|
2014-12-10 07:14:31 +01:00
|
|
|
render-readme: '>=0.2.1'
|
2014-11-16 13:37:50 +01:00
|
|
|
jju: '1.x'
|
2014-08-11 01:52:09 +02:00
|
|
|
|
|
|
|
mkdirp: '>=0.3.5 <1.0.0-0'
|
2014-09-18 01:16:58 +02:00
|
|
|
sinopia-htpasswd: '>= 0.4.3'
|
2014-11-25 00:38:38 +01:00
|
|
|
http-errors: '>=1.2.0'
|
2014-08-11 01:52:09 +02:00
|
|
|
|
2014-03-31 06:32:11 +02:00
|
|
|
optionalDependencies:
|
2014-08-11 01:52:09 +02:00
|
|
|
# those are native modules that could fail to compile
|
|
|
|
# and unavailable on windows
|
2014-11-25 02:25:42 +01:00
|
|
|
fs-ext: '>=0.4.1 <1.0.0-0'
|
2014-11-15 02:43:21 +01:00
|
|
|
crypt3: '>=0.1.6 <1.0.0-0' # for sinopia-htpasswd
|
2014-08-11 01:52:09 +02:00
|
|
|
|
2013-09-27 08:16:46 +02:00
|
|
|
devDependencies:
|
2014-11-30 09:14:14 +01:00
|
|
|
#
|
|
|
|
# Tools required for testing
|
|
|
|
#
|
2014-08-11 01:52:09 +02:00
|
|
|
rimraf: '>=2.2.5 <3.0.0-0'
|
|
|
|
mocha: '>=1.17.0 <2.0.0-0'
|
2013-09-27 08:16:46 +02:00
|
|
|
|
2014-11-30 09:14:14 +01:00
|
|
|
#
|
|
|
|
# Linting tools
|
|
|
|
#
|
2014-08-11 01:52:09 +02:00
|
|
|
eslint: '~0.6.0'
|
2013-12-23 01:14:57 +01:00
|
|
|
|
2013-12-29 01:52:23 +01: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 09:14:14 +01:00
|
|
|
#
|
|
|
|
# Tools required to build static files
|
|
|
|
#
|
2014-12-10 07:29:52 +01:00
|
|
|
browserify: '7.x'
|
|
|
|
browserify-handlebars: '1.x'
|
2014-08-11 01:52:09 +02:00
|
|
|
grunt: '>=0.4.4 <1.0.0-0'
|
2014-11-30 09:14:14 +01:00
|
|
|
grunt-cli: '*'
|
2014-08-11 01:52:09 +02: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 17:42:04 +02:00
|
|
|
|
2014-11-30 09:14:14 +01: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'
|
|
|
|
onscroll: '>=0.0.3 <1.0.0-0'
|
|
|
|
transition-complete: '>=0.0.2 <1.0.0-0'
|
|
|
|
|
2013-09-27 02:19:16 +02:00
|
|
|
keywords:
|
2013-06-14 11:08:29 +02:00
|
|
|
- private
|
2013-09-27 02:19:16 +02:00
|
|
|
- package
|
2013-06-14 11:08:29 +02:00
|
|
|
- repository
|
|
|
|
- registry
|
2013-09-27 02:19:16 +02:00
|
|
|
- modules
|
|
|
|
- proxy
|
|
|
|
- server
|
2013-06-14 11:08:29 +02:00
|
|
|
|
2013-09-27 08:16:46 +02:00
|
|
|
scripts:
|
2014-08-08 03:08:41 +02:00
|
|
|
test: mocha -R dot ./test/functional ./test/unit
|
2014-08-11 06:09:18 +02:00
|
|
|
test-travis: mocha -R spec ./test/functional ./test/unit
|
2014-02-06 21:56:46 +01:00
|
|
|
lint: eslint -c ./.eslint.yaml ./lib
|
2014-07-26 19:27:10 +02:00
|
|
|
prepublish: js-yaml package.yaml > package.json
|
2015-03-28 17:01:48 +01: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 08:16:46 +02:00
|
|
|
|
2013-09-27 10:54:16 +02: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 18:59:18 +02:00
|
|
|
node: '>=0.10'
|
2013-09-27 10:54:16 +02:00
|
|
|
|
2013-05-29 07:10:57 +02:00
|
|
|
preferGlobal: true
|
2013-12-23 01:14:57 +01:00
|
|
|
|
2014-04-01 02:19:52 +02:00
|
|
|
publishConfig:
|
|
|
|
registry: https://registry.npmjs.org/
|
|
|
|
|
|
|
|
license:
|
|
|
|
type: WTFPL
|
|
|
|
url: http://www.wtfpl.net/txt/copying/
|