build(package): give more helpful note at the end of the install process

This commit is contained in:
Jason Dreyzehner 2016-10-19 22:03:57 -04:00
parent f7333d1807
commit 45dfe7b5de
2 changed files with 5 additions and 3 deletions

View File

@ -79,7 +79,8 @@
"shelljs": "^0.3.0"
},
"scripts": {
"postinstall": "bower install && echo && echo \"To finish, choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.\" && echo",
"postinstall": "bower install && npm run postapply",
"postapply": "echo && echo \"To finish, choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.\" && echo",
"start": "npm run build:www && ionic serve --nolivereload --nogulp -s",
"start:ios": "npm run build:www && npm run build:ios && npm run open:ios",
"start:android": "npm run build:www && npm run build:android && npm run run:android",

View File

@ -6,8 +6,9 @@
"postinstall": "npm run apply:copay",
"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",
"apply:bitpay": "npm run preapply && cd app-template && node apply.js bitpay && cd .. && npm i"
"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",
"clean-all": "git clean -dfx"
},
"license": "MIT",
"repository": {