fix(package): install properly after clean-all

This commit is contained in:
Jason Dreyzehner 2016-10-21 12:11:45 -04:00
commit 0495a8cf9c

View file

@ -7,13 +7,13 @@
"scripts": { "scripts": {
"postinstall": "npm run apply:copay && echo && echo \"Repo configured for standard Copay distribution. To switch to the BitPay distribution, run 'npm run apply:bitpay'.\" && echo", "postinstall": "npm run apply:copay && echo && echo \"Repo configured for standard Copay distribution. To switch to the BitPay distribution, run 'npm run apply:bitpay'.\" && echo",
"start": "echo && echo \"Choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.\" && echo", "start": "echo && echo \"Choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.\" && echo",
"apply:copay": "cd app-template && node apply.js copay && cd .. && npm i && npm run postapply", "apply:copay": "npm i fs-extra@0.30 && cd app-template && node apply.js copay && cd .. && npm i",
"apply:bitpay": "cd app-template && node apply.js bitpay && cd .. && npm i && npm run postapply", "apply:bitpay": "npm i fs-extra@0.30 && cd app-template && node apply.js bitpay && cd .. && npm i",
"unstage-package": "git reset package.json", "unstage-package": "git reset package.json",
"clean-all": "git clean -dfx" "clean-all": "git clean -dfx"
}, },
"dependencies": { "dependencies": {
"fs-extra": "^0.30.0" "pre-commit": "^1.1.3"
}, },
"license": "MIT", "license": "MIT",
"repository": { "repository": {