mirror of https://github.com/BTCPrivate/copay.git
215 lines
8.8 KiB
JSON
215 lines
8.8 KiB
JSON
{
|
|
"name": "copay",
|
|
"description": "A Secure Bitcoin Wallet",
|
|
"author": "BitPay",
|
|
"version": "4.0.5",
|
|
"main": "electron/main.js",
|
|
"keywords": [
|
|
"bitcoin",
|
|
"wallet",
|
|
"bitpay",
|
|
"copay",
|
|
"multisignature",
|
|
"bitcore"
|
|
],
|
|
"homepage": "https://copay,io",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"url": "git://github.com/bitpay/copay.git",
|
|
"type": "git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bitpay/copay/issues"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "sed -i -e \"s/.*require(...\\/...);//g\" node_modules/asn1.js-rfc5280/index.js && npm run e2e-update",
|
|
"start": "ionic serve --no-open",
|
|
"clean": "trash platforms && trash plugins && trash config.xml",
|
|
"prepare:copay": "npm run clean && npm run apply:copay && cordova prepare && npm run fix:fcm",
|
|
"prepare:bitpay": "npm run clean && npm run apply:bitpay && cordova prepare && npm run fix:fcm",
|
|
"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": "ng test --browsers=Chrome",
|
|
"test-coverage": "ng test --code-coverage",
|
|
"test-ci": "ng test --watch=false --code-coverage --no-progress",
|
|
"e2e": "npm run ionic:build && npm run e2e-test",
|
|
"e2e-test": "protractor",
|
|
"e2e-update": "webdriver-manager update --gecko false",
|
|
"extract": "ngx-translate-extract --input ./src --output ./src/assets/i18n/app.pot --clean --sort --format pot",
|
|
"start:ios": "npm run build:ios && npm run open:ios",
|
|
"start:android": "npm run run:android",
|
|
"build:ios": "ionic cordova build ios --debug",
|
|
"build:android": "ionic cordova build android --debug",
|
|
"build:ios-release": "ionic cordova build ios --prod --release",
|
|
"build:android-release": "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": "npm run build:ios-release && npm run open:ios",
|
|
"final:android": "npm run build:android-release && npm run sign:android && npm run run:android-release",
|
|
"run:android": "ionic cordova run android --device --debug",
|
|
"run:android-release": "ionic cordova run android --device --release",
|
|
"log:android": "adb logcat | grep chromium",
|
|
"sign:android": "rm -f platforms/android/app/build/outputs/apk/release/android-release-signed-aligned.apk; jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../copay.keystore -signedjar platforms/android/app/build/outputs/apk/release/android-release-signed.apk platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk copay_play && $ANDROID_HOME/build-tools/26.0.1/zipalign -v 4 platforms/android/app/build/outputs/apk/release/android-release-signed.apk platforms/android/app/build/outputs/apk/release/android-release-signed-aligned.apk",
|
|
"apply:copay": "npm i fs-extra shelljs && cd app-template && node apply.js copay && npm i",
|
|
"apply:bitpay": "npm i fs-extra shelljs && cd app-template && node apply.js bitpay && npm i",
|
|
"fix:fcm": "echo platforms/ios/Copay/Resources platforms/ios/Copay/Resources/Resources platforms/ios/Bitpay/Resources platforms/ios/Bitpay/Resources/Resources | xargs -n 1 cp GoogleService-Info.plist 2>/dev/null; mkdir -p platforms/android/app/src/debug platforms/android/app/src/release; echo platforms/android/app/src/debug platforms/android/app/src/release platforms/android/app | xargs -n 1 cp google-services.json"
|
|
},
|
|
"dependencies": {
|
|
"@angular/common": "^5.1.3",
|
|
"@angular/compiler": "^5.1.3",
|
|
"@angular/compiler-cli": "^5.1.3",
|
|
"@angular/core": "^5.1.3",
|
|
"@angular/forms": "^5.1.3",
|
|
"@angular/http": "^5.1.3",
|
|
"@angular/platform-browser": "^5.1.3",
|
|
"@angular/platform-browser-dynamic": "^5.1.3",
|
|
"@angular/tsc-wrapped": "^4.4.6",
|
|
"@biesbjerg/ngx-translate-po-http-loader": "^2.0.1",
|
|
"@ionic-native/android-fingerprint-auth": "^4.5.2",
|
|
"@ionic-native/clipboard": "^4.5.2",
|
|
"@ionic-native/core": "^4.5.2",
|
|
"@ionic-native/fcm": "^4.5.2",
|
|
"@ionic-native/file": "^4.5.2",
|
|
"@ionic-native/qr-scanner": "^4.5.2",
|
|
"@ionic-native/social-sharing": "^4.5.2",
|
|
"@ionic-native/splash-screen": "^4.5.2",
|
|
"@ionic-native/status-bar": "^4.5.2",
|
|
"@ionic-native/toast": "^4.5.2",
|
|
"@ionic-native/touch-id": "^4.5.2",
|
|
"@ionic/storage": "^2.1.3",
|
|
"@ngx-translate/core": "^8.0.0",
|
|
"@nsalaun/ng-logger": "^5.0.0",
|
|
"@types/papaparse": "^4.1.33",
|
|
"ajv": "^5.5.2",
|
|
"angular2-moment": "^1.7.1",
|
|
"autoprefixer": "^7.2.4",
|
|
"bitcore-wallet-client": "^6.5.0",
|
|
"bitauth": "git@github.com:matiu/bitauth.git",
|
|
"buffer-compare": "^1.1.1",
|
|
"cordova": "^8.0.0",
|
|
"cordova-android": "7.0.0",
|
|
"cordova-clipboard": "^1.1.1",
|
|
"cordova-custom-config": "^5.0.2",
|
|
"cordova-ios": "4.5.4",
|
|
"cordova-plugin-android-fingerprint-auth": "^1.4.2",
|
|
"cordova-plugin-compat": "^1.2.0",
|
|
"cordova-plugin-customurlscheme": "git+https://github.com/cmgustavo/Custom-URL-scheme.git#v4.0",
|
|
"cordova-plugin-device": "^2.0.1",
|
|
"cordova-plugin-dialogs": "^2.0.1",
|
|
"cordova-plugin-fcm": "git+https://github.com/cmgustavo/cordova-plugin-fcm.git#v4.0",
|
|
"cordova-plugin-file": "^6.0.1",
|
|
"cordova-plugin-globalization": "^1.0.9",
|
|
"cordova-plugin-inappbrowser": "^2.0.2",
|
|
"cordova-plugin-ionic-webview": "^1.1.16",
|
|
"cordova-plugin-network-information": "^2.0.1",
|
|
"cordova-plugin-qrscanner": "^2.5.0",
|
|
"cordova-plugin-spinner-dialog": "^1.3.1",
|
|
"cordova-plugin-splashscreen": "^5.0.2",
|
|
"cordova-plugin-statusbar": "^2.4.1",
|
|
"cordova-plugin-swift-support": "^3.1.1",
|
|
"cordova-plugin-touch-id": "^3.3.1",
|
|
"cordova-plugin-uniquedeviceid": "^1.3.2",
|
|
"cordova-plugin-whitelist": "^1.3.3",
|
|
"cordova-plugin-x-socialsharing": "^5.2.1",
|
|
"cordova-plugin-x-toast": "^2.6.0",
|
|
"es6-promise-plugin": "^4.1.0",
|
|
"ionic-angular": "^3.9.2",
|
|
"ionic-plugin-keyboard": "^2.2.1",
|
|
"ionicons": "^3.0.0",
|
|
"lodash": "^4.17.4",
|
|
"ngx-qrcode2": "0.0.5",
|
|
"papaparse": "^4.3.6",
|
|
"preconditions": "^2.2.0",
|
|
"rxjs": "^5.5.6",
|
|
"simple-plist": "^0.2.1",
|
|
"sw-toolbox": "^3.6.0",
|
|
"ts-md5": "^1.2.2",
|
|
"zone.js": "^0.8.19"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/cli": "^1.6.8",
|
|
"@biesbjerg/ngx-translate-extract": "^2.3.4",
|
|
"@ionic/app-scripts": "^3.1.7",
|
|
"@types/chrome": "^0.0.57",
|
|
"@types/cordova-plugin-qrscanner": "^1.0.31",
|
|
"@types/jasmine": "^2.8.6",
|
|
"@types/jasminewd2": "^2.0.3",
|
|
"@types/lodash": "^4.14.92",
|
|
"angular2-template-loader": "^0.6.2",
|
|
"codecov": "^3.0.0",
|
|
"connect": "^3.6.5",
|
|
"fs-extra": "^4.0.3",
|
|
"html-loader": "^0.5.4",
|
|
"ionic": "3.19.1",
|
|
"ionic-mocks": "^1.2.1",
|
|
"jasmine-core": "^2.99.1",
|
|
"jasmine-reporters": "^2.3.0",
|
|
"jasmine-spec-reporter": "^4.2.1",
|
|
"karma": "^2.0.0",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-cli": "^1.0.1",
|
|
"karma-coverage-istanbul-reporter": "^1.4.1",
|
|
"karma-jasmine": "^1.1.1",
|
|
"karma-jasmine-html-reporter": "^0.2.2",
|
|
"karma-mocha-reporter": "^2.2.5",
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
|
"karma-remap-istanbul": "^0.6.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-webpack": "^2.0.9",
|
|
"null-loader": "^0.1.1",
|
|
"path": "^0.12.7",
|
|
"plist": "^2.1.0",
|
|
"protractor": "^5.3.0",
|
|
"serve-static": "^1.13.2",
|
|
"shelljs": "^0.3.0",
|
|
"trash-cli": "^1.4.0",
|
|
"ts-loader": "^3.2.0",
|
|
"ts-node": "^4.1.0",
|
|
"tslint": "^5.8.0",
|
|
"tslint-eslint-rules": "^4.1.1",
|
|
"typescript": "^2.4.2"
|
|
},
|
|
"cordova": {
|
|
"plugins": {
|
|
"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-touch-id": {
|
|
"FACEID_USAGE_DESCRIPTION": " "
|
|
},
|
|
"cordova-plugin-android-fingerprint-auth": {},
|
|
"cordova-plugin-dialogs": {},
|
|
"cordova-plugin-network-information": {},
|
|
"cordova-plugin-uniquedeviceid": {},
|
|
"cordova-plugin-file": {},
|
|
"cordova-plugin-ionic-webview": {},
|
|
"cordova-custom-config": {},
|
|
"cordova-plugin-customurlscheme": {
|
|
"URL_SCHEME": "bitcoin",
|
|
"SECOND_URL_SCHEME": "copay",
|
|
"THIRD_URL_SCHEME": "bitcoincash",
|
|
"ANDROID_SCHEME": " ",
|
|
"ANDROID_HOST": " ",
|
|
"ANDROID_PATHPREFIX": "/"
|
|
},
|
|
"cordova-plugin-fcm": {},
|
|
"cordova-plugin-globalization": {},
|
|
"cordova-plugin-inappbrowser": {},
|
|
"cordova-plugin-spinner-dialog": {}
|
|
},
|
|
"platforms": [
|
|
"android",
|
|
"ios"
|
|
]
|
|
}
|
|
}
|