2016-08-10 17:35:40 -03:00
{
2016-10-19 02:29:42 -04:00
"//" : "Having trouble with this file? Try `npm run reset`" ,
"//" : "Want git to ignore changes to this file? Run `npm run ignore`" ,
2016-10-01 19:53:57 -04:00
"name" : "*PACKAGENAME*" ,
2016-08-10 17:35:40 -03:00
"description" : "*DESCRIPTION*" ,
"author" : "BitPay" ,
"version" : "*VERSION*" ,
"keywords" : [
2016-09-28 15:28:11 -04:00
"bitcoin" ,
2016-08-10 17:35:40 -03:00
"wallet" ,
2016-09-28 15:28:11 -04:00
"bitpay" ,
2016-08-10 17:35:40 -03:00
"copay" ,
"multisignature" ,
"bitcore"
] ,
2016-10-06 00:18:29 -04:00
"main" : "www/index.html" ,
2016-10-18 15:27:09 -03:00
"title" : "*USERVISIBLENAME*" ,
2016-08-10 17:35:40 -03:00
"window" : {
2016-10-01 19:53:57 -04:00
"title" : "*USERVISIBLENAME* - *PURPOSELINE*" ,
2016-10-18 11:19:21 -03:00
"icon" : "www/img/icons/logo.ico" ,
2016-08-10 17:35:40 -03:00
"toolbar" : false ,
"show" : true ,
"visible" : true ,
"resizable" : true ,
"frame" : true ,
2016-09-06 15:14:07 -03:00
"width" : 400 ,
2016-10-11 10:50:43 -03:00
"height" : 650 ,
2016-10-19 09:57:07 -03:00
"min_width" : 400 ,
"max_width" : 800 ,
"min_height" : 650 ,
2016-08-10 17:35:40 -03:00
"position" : "center" ,
"fullscreen" : false
} ,
"webkit" : {
"page-cache" : false ,
"java" : false ,
"plugin" : false
} ,
"dom_storage_quota" : 200 ,
"id" : "jid1-x7bV5evAaI1P9Q" ,
2016-10-11 10:50:43 -03:00
"homepage" : "*URL*" ,
2016-08-10 17:35:40 -03:00
"license" : "MIT" ,
"repository" : {
2016-10-11 10:50:43 -03:00
"url" : "*GITHUBREPOURL*" ,
2016-08-10 17:35:40 -03:00
"type" : "git"
} ,
"bugs" : {
2016-10-11 10:50:43 -03:00
"url" : "*GITHUBREPOBUGS*"
2016-08-10 17:35:40 -03:00
} ,
"dependencies" : {
2016-09-28 15:28:11 -04:00
"adm-zip" : "^0.4.7" ,
"angular" : "1.4.6" ,
"angular-mocks" : "1.4.10" ,
2016-10-11 17:07:02 -03:00
"bezier-easing" : "^2.0.3" ,
2016-09-28 15:28:11 -04:00
"bhttp" : "^1.2.1" ,
2016-10-06 19:23:39 -03:00
"bitauth" : "^0.3.2" ,
2016-10-16 12:31:03 -03:00
"bitcore-wallet-client" : "4.3.2" ,
2016-09-28 15:28:11 -04:00
"bower" : "^1.7.9" ,
"chai" : "^3.5.0" ,
"cordova-android" : "5.1.1" ,
2016-10-12 15:32:05 -03:00
"cordova-custom-config" : "^3.0.5" ,
2016-09-28 15:28:11 -04:00
"cordova-plugin-qrscanner" : "^2.3.1" ,
2016-08-10 17:35:40 -03:00
"coveralls" : "^2.11.9" ,
"express" : "^4.11.2" ,
"fs" : "0.0.2" ,
"fs-extra" : "^0.30.0" ,
2016-09-28 15:28:11 -04:00
"grunt-angular-gettext" : "^2.2.3" ,
2016-08-10 17:35:40 -03:00
"grunt-browserify" : "^5.0.0" ,
"grunt-cli" : "^1.2.0" ,
"grunt-contrib-compress" : "^1.3.0" ,
"grunt-contrib-concat" : "^1.0.1" ,
"grunt-contrib-copy" : "^1.0.0" ,
"grunt-contrib-uglify" : "^2.0.0" ,
"grunt-contrib-watch" : "^1.0.0" ,
"grunt-exec" : "^1.0.0" ,
"grunt-nw-builder" : "^2.0.3" ,
"grunt-sass" : "^1.2.0" ,
"load-grunt-tasks" : "^3.5.0" ,
"mocha" : "^2.4.5" ,
"phantomjs-prebuilt" : "^2.1.7" ,
2016-10-11 10:50:43 -03:00
"shelljs" : "^0.3.0"
2016-08-10 17:56:27 -03:00
} ,
"scripts" : {
2016-10-19 02:29:42 -04:00
"postinstall" : "bower install && echo && echo \"To finish, choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.\" && echo" ,
2016-10-11 10:50:43 -03:00
"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" ,
"watch" : "grunt watch" ,
"build:www" : "grunt" ,
"build:www-release" : "grunt prod" ,
"build:ios" : "cordova prepare ios && cordova build ios --debug" ,
"build:android" : "cordova prepare android && cordova build android --debug" ,
"build:ios-release" : "cordova prepare ios && cordova build ios --release" ,
"build:android-release" : "cordova prepare android && cordova build android --release" ,
2016-10-18 15:27:09 -03:00
"build:desktop" : "grunt desktop" ,
"build:macos" : "grunt macos" ,
2016-10-11 10:50:43 -03:00
"open:ios" : "open platforms/ios/*.xcodeproj" ,
"open:android" : "open -a open -a /Applications/Android\\ Studio.app platforms/android" ,
2016-10-17 20:07:41 -04:00
"final:www" : "npm run build:www-release" ,
2016-10-11 10:50:43 -03:00
"final:ios" : "npm run final:www && npm run build:ios-release && npm run open:ios" ,
"final:android" : "npm run final:www && npm run build:android-release && npm run run:android" ,
2016-10-19 02:29:42 -04:00
"final:desktop" : "npm run build:desktop && npm run build:macos" ,
2016-10-11 10:50:43 -03:00
"run:android" : "cordova run android --device" ,
"log:android" : "adb logcat | grep chromium" ,
2016-10-19 02:29:42 -04:00
"sign:android" : "rm -f platforms/android/build/outputs/apk/android-release-signed-aligned.apk; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../copay.keystore -signedjar platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-unsigned.apk copay_play && ../android-sdk-macosx/build-tools/21.1.1/zipalign -v 4 platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-signed-aligned.apk" ,
2016-10-17 20:07:41 -04:00
"apply:copay" : "cd app-template && node apply.js copay && cordova prepare" ,
"apply:bitpay" : "cd app-template && node apply.js bitpay && cordova prepare" ,
2016-10-11 10:50:43 -03:00
"test" : "./node_modules/.bin/grunt test-coveralls" ,
2016-10-17 20:07:41 -04:00
"clean" : "trash platforms && trash plugins && cordova prepare" ,
2016-10-19 02:29:42 -04:00
"ignore" : "git update-index --skip-worktree package.json" ,
"reset" : "git update-index --no-skip-worktree package.json" ,
"clean-all" : "npm run reset && git clean -dfx"
2016-08-10 17:56:27 -03:00
} ,
2016-09-30 21:18:54 -04:00
"devDependencies" : {
2016-10-12 15:32:05 -03:00
"cordova" : "^6.3.1" ,
"grunt" : "^1.0.1" ,
2016-10-11 10:50:43 -03:00
"ionic" : "^2.1.0" ,
"trash-cli" : "^1.4.0" ,
2016-10-19 02:29:42 -04:00
"lodash" : "^4.3.0" ,
"fileicon" : "^0.1.8"
2016-09-30 21:18:54 -04:00
}
2016-08-10 17:35:40 -03:00
}