0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

install -> prepublish, add version

This commit is contained in:
Alex Kocharin 2014-07-10 17:19:17 +00:00
parent 1e438d7dae
commit 404acfae49
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
{ "name": "sinopia",
"version": "0.0.0",
"dependencies": {"js-yaml": "*"},
"scripts": {"install": "js-yaml package.yaml > package.json ; npm install --production"}
"scripts": {"prepublish": "js-yaml package.yaml > package.json ; npm install --production"}
}

View file

@ -56,7 +56,7 @@ keywords:
scripts:
test: mocha ./test/functional ./test/unit
lint: eslint -c ./.eslint.yaml ./lib
build: js-yaml package.yaml > package.json
prepublish: js-yaml package.yaml > package.json
# we depend on streams2 stuff
# it can be replaced with isaacs/readable-stream, ask if you need to use 0.8