diff --git a/app-template/apply.js b/app-template/apply.js index 5a292df56..b6a6b90e8 100755 --- a/app-template/apply.js +++ b/app-template/apply.js @@ -5,7 +5,6 @@ // var templates = { -// 'package-template.json': '/', 'index-template.html': 'src/', 'config-template.xml': '/', 'ionic.config-template.json': '/', diff --git a/app-template/package-template.json b/app-template/package-template.json deleted file mode 100644 index a5f54df5c..000000000 --- a/app-template/package-template.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "name": "*PACKAGENAME*", - "description": "*DESCRIPTION*", - "author": "BitPay", - "version": "*VERSION*", - "keywords": [ - "bitcoin", - "wallet", - "bitpay", - "copay", - "multisignature", - "bitcore" - ], - "main": "www/index.html", - "title": "*USERVISIBLENAME*", - "window": { - "title": "*USERVISIBLENAME* - *PURPOSELINE*", - "icon": "www/assets/img/app/icon.png", - "toolbar": false, - "show": true, - "visible": true, - "resizable": true, - "frame": true, - "width": 400, - "height": 650, - "min_width": 400, - "max_width": 800, - "min_height": 650, - "position": "center", - "fullscreen": false - }, - "webkit": { - "page-cache": false, - "java": false, - "plugin": false - }, - "dom_storage_quota": 200, - "id": "jid1-x7bV5evAaI1P9Q", - "homepage": "*URL*", - "license": "MIT", - "repository": { - "url": "*GITHUBREPOURL*", - "type": "git" - }, - "bugs": { - "url": "*GITHUBREPOBUGS*" - }, - "scripts": { - "start": "ionic serve", - "clean": "ionic-app-scripts clean", - "clean-all": "git clean -dfx", - "build": "ionic-app-scripts build", - "lint": "ionic-app-scripts lint", - "ionic:build": "ionic-app-scripts build", - "ionic:serve": "ionic-app-scripts serve", - "test": "karma start ./test-config/karma.conf.js", - "test-ci": "karma start ./test-config/karma.conf.js --single-run", - "extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/app.pot --clean --sort --format pot", - "start:ios": "ionic build && npm run build:ios && npm run open:ios", - "start:android": "ionic build && npm run build:android && npm run run:android", - "build:ios": "ionic cordova prepare ios && ionic cordova build ios --debug", - "build:android": "ionic cordova prepare android && ionic cordova build android --debug", - "build:ios-release": "ionic cordova prepare ios && ionic cordova build ios --prod --release", - "build:android-release": "ionic cordova prepare android && ionic cordova build android --prod --release", - "open:ios": "open platforms/ios/*.xcodeproj", - "open:android": "open -a open -a /Applications/Android\\ Studio.app platforms/android", - "final:ios": "ionic build && npm run build:ios-release && npm run open:ios", - "final:android": "ionic build && npm run build:android-release && npm run sign:android && npm run run:android-release", - "run:android": "ionic cordova run android --device", - "run:android-release": "ionic cordova run android --device --release", - "log:android": "adb logcat | grep chromium", - "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_HOME/build-tools/26.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-release-signed.apk platforms/android/build/outputs/apk/android-release-signed-aligned.apk", - "apply:copay": "npm i fs-extra && cd app-template && node apply.js copay && npm i", - "apply:bitpay": "npm i fs-extra && cd app-template && node apply.js bitpay && npm i", - "clean": "trash platforms && trash plugins && ionic cordova prepare", - "clean-all": "git clean -dfx" - }, - "dependencies": { - "@angular/common": "4.1.3", - "@angular/compiler": "4.1.3", - "@angular/compiler-cli": "4.1.3", - "@angular/core": "4.1.3", - "@angular/forms": "4.1.3", - "@angular/http": "4.1.3", - "@angular/platform-browser": "4.1.3", - "@angular/platform-browser-dynamic": "4.1.3", - "@angular/tsc-wrapped": "4.1.3", - "@biesbjerg/ngx-translate-po-http-loader": "1.0.1", - "@ionic-native/android-fingerprint-auth": "4.2.1", - "@ionic-native/clipboard": "4.1.0", - "@ionic-native/core": "3.12.1", - "@ionic-native/file": "4.1.0", - "@ionic-native/qr-scanner": "4.1.0", - "@ionic-native/social-sharing": "4.1.0", - "@ionic-native/splash-screen": "3.12.1", - "@ionic-native/status-bar": "3.12.1", - "@ionic-native/toast": "4.1.0", - "@ionic-native/touch-id": "4.2.1", - "@ionic/storage": "2.0.1", - "@ngx-translate/core": "6.0.1", - "@nsalaun/ng-logger": "2.0.1", - "ajv": "5.2.2", - "angular2-moment": "1.7.0", - "angular2-qrcode": "^2.0.1", - "asn1.js": "=4.5.2", - "autoprefixer": "7.1.2", - "bitcore-wallet-client": "6.2.0", - "buffer-compare": "1.1.1", - "cordova-android": "6.2.3", - "cordova-clipboard": "1.0.0", - "cordova-ios": "4.4.0", - "cordova-plugin-android-fingerprint-auth": "1.4.0", - "cordova-plugin-console": "1.0.5", - "cordova-plugin-device": "1.1.4", - "cordova-plugin-qrscanner": "2.5.0", - "cordova-plugin-splashscreen": "4.0.3", - "cordova-plugin-statusbar": "2.2.2", - "cordova-plugin-touch-id": "3.2.0", - "cordova-plugin-whitelist": "1.3.1", - "cordova-plugin-wkwebview-engine": "git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git", - "cordova-plugin-x-socialsharing": "5.1.8", - "cordova-plugin-x-toast": "2.6.0", - "cordova-sqlite-storage": "2.0.4", - "es6-promise-plugin": "4.1.0", - "ionic-angular": "3.6.0", - "ionic-plugin-keyboard": "2.2.1", - "ionicons": "3.0.0", - "lodash": "4.17.4", - "ngx-clipboard": "8.0.3", - "rxjs": "5.4.0", - "sw-toolbox": "3.6.0", - "zone.js": "0.8.12" - }, - "devDependencies": { - "@angular/cli": "1.3.0", - "@biesbjerg/ngx-translate-extract": "2.3.2", - "@ionic/app-scripts": "2.1.4", - "@types/chrome": "0.0.47", - "@types/cordova-plugin-qrscanner": "^1.0.31", - "@types/jasmine": "2.5.53", - "@types/lodash": "4.14.71", - "angular2-template-loader": "0.6.2", - "codecov": "2.2.0", - "html-loader": "0.4.5", - "ionic": "3.12.0", - "jasmine-core": "2.6.4", - "jasmine-spec-reporter": "4.1.1", - "karma": "1.7.0", - "karma-chrome-launcher": "2.2.0", - "karma-jasmine": "1.1.0", - "karma-jasmine-html-reporter": "0.2.2", - "karma-mocha-reporter": "2.2.3", - "karma-phantomjs-launcher": "1.0.4", - "karma-remap-istanbul": "0.6.0", - "karma-sourcemap-loader": "0.3.7", - "karma-webpack": "2.0.4", - "null-loader": "0.1.1", - "ts-loader": "2.0.3", - "ts-node": "3.3.0", - "tslint": "5.5.0", - "tslint-eslint-rules": "4.1.1", - "typescript": "2.3.4", - "webpack": "3.4.1" - }, - "cordova": { - "plugins": { - "cordova-sqlite-storage": {}, - "cordova-plugin-console": {}, - "cordova-plugin-device": {}, - "cordova-plugin-splashscreen": {}, - "cordova-plugin-statusbar": {}, - "cordova-plugin-whitelist": {}, - "ionic-plugin-keyboard": {}, - "cordova-clipboard": {}, - "cordova-plugin-x-toast": {}, - "cordova-plugin-x-socialsharing": {}, - "cordova-plugin-qrscanner": {}, - "cordova-plugin-wkwebview-engine": {}, - "cordova-plugin-touch-id": {}, - "cordova-plugin-android-fingerprint-auth": {} - }, - "platforms": [ - "android", - "ios" - ] - } -}