build(cordova): Begin basing cordova build on more standard config.xml

This completes the installations of cordova-plugin-qrscanner, including
required changes to config.xml. Where possible, other plugins are now
included with versioning in config.xml.
This commit is contained in:
Jason Dreyzehner 2016-09-30 21:18:54 -04:00
commit 15836bb817
9 changed files with 103 additions and 66 deletions

View file

@ -86,12 +86,18 @@
"xcode": "^0.8.2"
},
"scripts": {
"preinstall": "bower install && npm i fs-extra && cd app-template && node apply.js",
"postinstall": "npm run build",
"preinstall": "bower install && npm i fs-extra",
"build": "grunt",
"start": "node app.js",
"apply:copay": "cd app-template && node apply.js",
"apply:bitpay-wallet": "cd app-template && node apply.js bitpay-wallet",
"start": "npm run build && node app.js",
"watch": "grunt watch",
"test": "./node_modules/.bin/grunt test-coveralls",
"clean": "git clean -dfx"
"clean": "git clean -dfx",
"start:ios": "npm run build && cd cordova && trash project-ios && make ios && open project-ios/platforms/ios/BitPay\\ Wallet.xcodeproj",
"start:android": "npm run build && cd cordova && trash project-android && make android"
},
"devDependencies": {}
"devDependencies": {
"trash-cli": "^1.4.0"
}
}