{
  "name": "copay-crown",
  "version": "0.0.0",
  "publishConfig": {
    "tag": "next"
  },
  "description": "A Secure Crown Wallet",
  "author": "Crown Developers <info@crown.tech>",
  "contributors": [
    {
      "name": "BitPay",
      "email": "dev@bitpay.com"
    }
  ],
  "main": "electron/main.js",
  "keywords": [
    "crown",
    "wallet",
    "copay",
    "multisignature",
    "bitcore"
  ],
  "homepage": "https://crown.tech",
  "license": "MIT",
  "repository": {
    "url": "git://github.com/Crowndev/copay-crown.git",
    "type": "git"
  },
  "bugs": {
    "url": "https://github.com/Crowndev/copay-crown/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": "rm -rf platforms && rm -rf plugins && rm -f 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",
    "watch": "ng test --browsers=Chrome",
    "test": "npm run test:lint && npm run test:ci && npm run e2e:capture-latest && npm run test:visual",
    "test:coverage": "ng test --code-coverage",
    "test:ci": "ng test --watch=false --code-coverage --no-progress",
    "test:lint": "tslint --project . --format codeFrame && tslint '{test,electron,src}/**/*.ts' --format codeFrame && prettier --list-different '{*,**/*}.{js,ts,md,json,scss}'",
    "test:visual": "cd test/visual && reg-cli latest approved diffs --report report.html --json report.json --enableAntialias --thresholdRate 0.005",
    "fix:tslint": "tslint --fix --project . && tslint --fix '{test,electron,src}/**/*.ts'",
    "fix:prettier": "prettier --write '{*,**/*}.{js,ts,md,json,scss}'",
    "e2e": "npm run ionic:build && npm run e2e:test",
    "e2e:test": "protractor",
    "e2e:capture-latest": "npm run apply:copay && npm run e2e && npm run apply:bitpay && npm run e2e",
    "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": "^3.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": "^9.1.1",
    "@nsalaun/ng-logger": "^5.0.0",
    "@types/papaparse": "^4.1.33",
    "angular2-moment": "^1.7.1",
    "bitauth": "git+https://github.com/bitpay/bitauth.git#copay",
    "bitcore-wallet-client-crown": "0.0.0",
    "buffer-compare": "^1.1.1",
    "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": "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": "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.8",
    "@types/cordova-plugin-qrscanner": "^1.0.31",
    "@types/jasmine": "^2.8.6",
    "@types/jasminewd2": "^2.0.3",
    "@types/lodash": "^4.14.104",
    "codecov": "^3.0.0",
    "connect": "^3.6.5",
    "fs-extra": "^5.0.0",
    "html-loader": "^0.5.4",
    "ionic": "3.19.1",
    "ionic-mocks": "^1.2.1",
    "jasmine-core": "^2.99.1",
    "jasmine-reporters": "^2.3.0",
    "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-junit-reporter": "^1.2.0",
    "mkdirp": "^0.5.1",
    "path": "^0.12.7",
    "plist": "^2.1.0",
    "prettier": "^1.10.2",
    "protractor": "^5.3.0",
    "reg-cli": "^0.11.2",
    "serve-static": "^1.13.2",
    "shelljs": "^0.8.1",
    "trash-cli": "^1.4.0",
    "ts-node": "^5.0.0",
    "tslint": "^5.8.0",
    "tslint-config-prettier": "^1.7.0",
    "typescript": "^2.6.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"
    ]
  },
  "prettier": {
    "singleQuote": true
  }
}
