0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

remove package.json from git index on recompile

This commit is contained in:
Alex Kocharin 2014-07-26 21:00:43 +04:00
parent 21704c9f84
commit 77af6d4c17

View file

@ -1,5 +1,5 @@
{ "name": "sinopia",
"version": "0.0.0",
"dependencies": {"js-yaml": "*"},
"scripts": {"postinstall": "js-yaml package.yaml > package.json ; npm install --production"}
"scripts": {"postinstall": "js-yaml package.yaml > package.json ; npm install --production ; git update-index --assume-unchanged package.json"}
}