feature(externalServices): apply external services configuration via environment variable --no-verify

This commit is contained in:
Jason Dreyzehner 2016-10-21 12:01:29 -04:00
commit 819e977ae3
4 changed files with 27 additions and 12 deletions

View file

@ -1,20 +1,21 @@
{
"changes": "changes to this file can be commited with the --no-verify option",
"name": "distribution-not-selected",
"description": "Choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.",
"primary-package-json": "See the tempate in app-template/package.json",
"scripts": {
"postinstall": "npm run apply:copay",
"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",
"preapply": "npm i fs-extra",
"apply:copay": "npm run preapply && cd app-template && node apply.js copay && cd .. && npm i && npm run postapply",
"apply:bitpay": "npm run preapply && cd app-template && node apply.js bitpay && cd .. && npm i && npm run postapply",
"apply:copay": "cd app-template && node apply.js copay && cd .. && npm i && npm run postapply",
"apply:bitpay": "cd app-template && node apply.js bitpay && cd .. && npm i && npm run postapply",
"clean-all": "git clean -dfx"
},
"dependencies": {
"fs-extra": "^0.30.0"
},
"license": "MIT",
"repository": {
"url": "git://github.com/bitpay/copay.git",
"url": "git://github.com/bitpay/bitpay-wallet.git",
"type": "git"
},
"changes": "changes to this file can be commited with the --no-verify option"
}
}