2018-01-30 22:42:38 +00:00
{
2020-03-30 22:52:01 +01:00
"name" : "bluewallet" ,
2020-10-07 12:03:02 +01:00
"version" : "5.6.2" ,
2020-03-31 20:10:49 +02:00
"license" : "MIT" ,
2018-01-30 22:42:38 +00:00
"devDependencies" : {
2020-10-07 08:24:36 -04:00
"@babel/core" : "^7.10.4" ,
"@babel/runtime" : "^7.10.4" ,
"@jest/reporters" : "^26.4.1" ,
"@react-native-community/eslint-config" : "^2.0.0" ,
2019-05-02 16:33:03 -04:00
"babel-cli" : "^6.26.0" ,
2020-05-27 14:12:17 +03:00
"babel-eslint" : "^10.1.0" ,
2020-10-07 08:24:36 -04:00
"babel-jest" : "^26.1.0" ,
2019-05-02 16:33:03 -04:00
"babel-preset-flow" : "^6.23.0" ,
2020-10-07 08:24:36 -04:00
"eslint" : "^7.5.0" ,
"eslint-plugin-babel" : "^5.3.1" ,
"eslint-plugin-import" : "^2.22.0" ,
2020-06-01 15:54:23 +03:00
"eslint-plugin-node" : "^11.1.0" ,
2019-07-06 04:03:42 -04:00
"eslint-plugin-promise" : "^4.2.1" ,
2020-10-07 08:24:36 -04:00
"eslint-plugin-react" : "^7.20.3" ,
"flow-bin" : "^0.134.0" ,
"jest" : "^26.1.0" ,
2019-07-18 19:55:51 +01:00
"jetifier" : "^1.6.3" ,
2020-10-07 08:24:36 -04:00
"react-test-renderer" : "16.13.1"
2018-01-30 22:42:38 +00:00
} ,
2019-12-29 11:59:10 -08:00
"engines" : {
"node" : ">=10.16.0" ,
"npm" : ">=6.9.0"
} ,
2018-01-30 22:42:38 +00:00
"scripts" : {
2019-01-25 21:55:35 +00:00
"clean" : "cd android/; ./gradlew clean; cd ..; rm -r -f /tmp/metro-cache/; rm -r -f node_modules/; npm cache clean --force; npm i; npm start -- --reset-cache" ,
2020-07-01 12:18:40 +01:00
"clean:ios" : "rm -fr node_modules && rm -fr ios/Pods && npm i && cd ios && pod update && cd ..; npm start -- --reset-cache" ,
2020-05-19 18:16:30 +01:00
"releasenotes2json" : "./scripts/release-notes.sh > release-notes.txt; node -e 'console.log(JSON.stringify(require(\"fs\").readFileSync(\"release-notes.txt\", \"utf8\")));' > release-notes.json" ,
"podinstall" : "./scripts/podinstall.sh" ,
2018-12-11 22:52:46 +00:00
"start" : "node node_modules/react-native/local-cli/cli.js start" ,
"android" : "react-native run-android" ,
2020-04-07 15:25:56 +01:00
"android:clean" : "cd android; ./gradlew clean ; cd .. ; npm run android" ,
2018-12-11 22:52:46 +00:00
"ios" : "react-native run-ios" ,
2020-06-09 16:22:47 +01:00
"postinstall" : "rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path,assert --hack; npm run releasenotes2json; npm run podinstall; npx jetify" ,
2020-05-30 11:57:08 +03:00
"test" : "npm run lint && npm run unit && npm run jest" ,
2020-06-01 15:54:23 +03:00
"jest" : "jest -b -w 1 tests/integration/*" ,
2020-06-23 14:40:51 +03:00
"e2e:debug-build" : "detox build -c android.emu.debug" ,
"e2e:debug-test" : "detox test -c android.emu.debug" ,
2020-06-29 18:42:14 +01:00
"e2e:debug" : "(test -f android/app/build/outputs/apk/debug/app-debug.apk && test -f android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk) || npm run e2e:debug-build; npm run e2e:debug-test" ,
2020-06-23 14:40:51 +03:00
"e2e:release-build" : "npx detox build -c android.emu.release" ,
"e2e:release-test" : "detox test -c android.emu.release --record-videos all --take-screenshots all --headless" ,
2020-10-05 22:25:14 +01:00
"lint" : "eslint *.js screen/**/*.js blue_modules/*.js class/**/*.js models/ loc/ tests/**/*.js components/**/*.js" ,
2020-06-01 15:54:23 +03:00
"lint:fix" : "npm run lint -- --fix" ,
"lint:quickfix" : "git status --porcelain | grep -v '\\.json' | grep '\\.js' --color=never | awk '{print $2}' | xargs eslint --fix; exit 0" ,
"unit" : "jest tests/unit/*"
2018-01-30 22:42:38 +00:00
} ,
"jest" : {
2018-12-11 22:52:46 +00:00
"preset" : "react-native" ,
"transform" : {
"^.+\\.js$" : "<rootDir>/node_modules/react-native/jest/preprocessor.js"
2019-10-21 11:13:16 -04:00
} ,
"setupFiles" : [
"./tests/setup.js"
2020-05-18 11:08:01 +01:00
] ,
2020-10-07 19:54:07 +01:00
"watchPathIgnorePatterns" : [
"<rootDir>/node_modules"
] ,
2020-05-18 11:08:01 +01:00
"setupFilesAfterEnv" : [
"./tests/setupAfterEnv.js"
2019-10-21 22:59:53 -04:00
]
2018-01-30 22:42:38 +00:00
} ,
"dependencies" : {
2020-09-24 05:55:22 +00:00
"@babel/preset-env" : "7.11.5" ,
2020-10-08 18:38:29 -04:00
"@react-native-community/async-storage" : "1.12.1" ,
2020-05-20 06:52:12 +01:00
"@react-native-community/blur" : "3.6.0" ,
2020-10-08 18:38:29 -04:00
"@react-native-community/clipboard" : "1.4.0" ,
2020-08-26 20:20:13 -04:00
"@react-native-community/geolocation" : "2.0.2" ,
2020-05-25 18:39:34 +03:00
"@react-native-community/masked-view" : "0.1.10" ,
2020-09-17 20:03:00 -04:00
"@react-native-community/push-notification-ios" : "1.5.0" ,
2020-08-07 22:11:43 -04:00
"@react-native-community/slider" : "3.0.3" ,
2020-10-07 08:24:36 -04:00
"@react-navigation/drawer" : "5.9.2" ,
"@react-navigation/native" : "5.7.5" ,
"@react-navigation/stack" : "5.9.2" ,
2019-10-07 20:41:58 -04:00
"@remobile/react-native-qrcode-local-image" : "git+https://github.com/BlueWallet/react-native-qrcode-local-image.git" ,
2020-10-07 08:24:36 -04:00
"@sentry/react-native" : "1.8.2" ,
2020-10-15 14:28:44 +01:00
"amplitude-js" : "7.2.2" ,
2020-06-09 16:22:47 +01:00
"assert" : "1.5.0" ,
2020-10-09 16:08:39 +01:00
"base-x" : "3.0.8" ,
2020-06-24 12:56:35 +01:00
"bc-bech32" : "file:blue_modules/bc-bech32" ,
2020-06-29 15:58:43 +03:00
"bc-ur" : "file:blue_modules/bc-ur" ,
2020-07-03 05:50:12 +00:00
"bech32" : "1.1.4" ,
2019-07-06 04:03:42 -04:00
"bignumber.js" : "9.0.0" ,
2020-06-30 05:51:44 +00:00
"bip21" : "2.0.3" ,
2020-03-10 05:53:54 +00:00
"bip32" : "2.0.5" ,
2020-06-01 05:50:23 +00:00
"bip39" : "2.6.0" ,
2020-09-21 20:32:20 +01:00
"bitcoinjs-lib" : "5.2.0" ,
2020-01-10 18:15:04 -03:00
"bolt11" : "1.2.7" ,
2020-06-02 05:50:45 +00:00
"buffer" : "5.6.0" ,
2019-02-16 22:12:50 +00:00
"buffer-reverse" : "1.0.1" ,
2020-07-04 05:50:06 +00:00
"coinselect" : "3.1.12" ,
2019-02-16 22:12:50 +00:00
"crypto-js" : "3.1.9-1" ,
2020-10-21 05:55:06 +00:00
"dayjs" : "1.9.1" ,
2020-10-23 05:51:27 +00:00
"detox" : "17.8.0" ,
2019-10-05 18:36:16 -04:00
"ecurve" : "1.0.6" ,
2020-10-06 14:46:20 +01:00
"electrum-client" : "git+https://github.com/BlueWallet/rn-electrum-client.git#f9a827e724a5a2e578fdfdb483f83793af55b030" ,
2020-05-04 12:53:14 +09:00
"electrum-mnemonic" : "2.0.0" ,
2020-05-21 06:54:58 +01:00
"eslint-config-prettier" : "6.11.0" ,
2020-06-01 15:54:23 +03:00
"eslint-config-standard" : "14.1.1" ,
"eslint-config-standard-react" : "9.2.0" ,
2020-07-08 05:50:14 +00:00
"eslint-plugin-prettier" : "3.1.4" ,
2020-06-01 15:54:23 +03:00
"eslint-plugin-standard" : "4.0.1" ,
2019-07-12 23:34:06 +01:00
"events" : "1.1.1" ,
2020-08-03 05:51:33 +00:00
"frisbee" : "3.1.4" ,
2020-06-18 11:49:36 -04:00
"lottie-ios" : "3.1.8" ,
2020-08-07 22:11:43 -04:00
"lottie-react-native" : "3.5.0" ,
2020-09-15 05:51:46 +00:00
"metro-react-native-babel-preset" : "0.63.0" ,
2020-06-24 05:50:28 +00:00
"path-browserify" : "1.0.1" ,
2020-09-21 20:32:20 +01:00
"payjoin-client" : "git+https://github.com/bitcoinjs/payjoin-client.git#31d2118a4c0d00192d975f3a6da2a96238f8f7a5" ,
2020-06-26 05:50:21 +00:00
"pbkdf2" : "3.1.1" ,
2020-09-16 05:50:03 +00:00
"prettier" : "2.1.1" ,
2019-02-16 22:12:50 +00:00
"process" : "0.11.10" ,
2019-03-31 22:53:25 -04:00
"prop-types" : "15.7.2" ,
2020-10-07 08:24:36 -04:00
"react" : "16.13.1" ,
2020-03-11 05:51:49 +00:00
"react-localization" : "1.0.15" ,
2020-10-07 08:24:36 -04:00
"react-native" : "0.63.3" ,
2020-04-10 17:06:37 +01:00
"react-native-blue-crypto" : "git+https://github.com/Overtorment/react-native-blue-crypto.git" ,
2020-09-17 20:03:00 -04:00
"react-native-camera" : "3.39.1" ,
2020-06-01 12:28:44 -04:00
"react-native-default-preference" : "1.4.3" ,
2020-10-08 18:38:29 -04:00
"react-native-device-info" : "6.2.0" ,
2020-08-15 22:43:17 -04:00
"react-native-document-picker" : "git+https://github.com/BlueWallet/react-native-document-picker.git#3684d4fcc2bc0b47c32be39024e4796004c3e428" ,
2020-09-20 05:50:10 +00:00
"react-native-elements" : "2.3.1" ,
2020-09-08 20:01:55 -04:00
"react-native-fingerprint-scanner" : "git+https://github.com/BlueWallet/react-native-fingerprint-scanner.git#ce644673681716335d786727bab998f7e632ab5e" ,
2020-03-31 05:51:10 +00:00
"react-native-fs" : "2.16.6" ,
2020-10-08 18:38:29 -04:00
"react-native-gesture-handler" : "1.8.0" ,
2019-08-13 19:08:38 -04:00
"react-native-handoff" : "git+https://github.com/marcosrdz/react-native-handoff.git" ,
2020-06-18 11:49:36 -04:00
"react-native-haptic-feedback" : "1.10.0" ,
2020-10-08 18:38:29 -04:00
"react-native-image-picker" : "2.3.4" ,
2020-10-22 09:02:49 -04:00
"react-native-inappbrowser-reborn" : "git+https://github.com/BlueWallet/react-native-inappbrowser.git#fa2d8e1763e46dd12a7e53081e97a0f908049103" ,
2019-02-16 22:12:50 +00:00
"react-native-level-fs" : "3.0.1" ,
2020-03-10 05:53:32 +00:00
"react-native-linear-gradient" : "2.5.6" ,
2020-10-07 08:24:36 -04:00
"react-native-localize" : "1.4.2" ,
2020-03-28 20:52:06 -04:00
"react-native-modal" : "11.5.6" ,
2019-02-27 20:29:13 -05:00
"react-native-obscure" : "1.2.1" ,
2020-07-20 10:58:35 -04:00
"react-native-passcode-auth" : "git+https://github.com/BlueWallet/react-native-passcode-auth.git#a2ff977ba92b36f8d0a5567f59c05cc608e8bd12" ,
2019-02-23 10:48:20 -05:00
"react-native-popup-menu-android" : "1.0.3" ,
2019-10-07 20:41:58 -04:00
"react-native-privacy-snapshot" : "git+https://github.com/BlueWallet/react-native-privacy-snapshot.git" ,
2020-05-28 12:44:59 -04:00
"react-native-prompt-android" : "git+https://github.com/BlueWallet/react-native-prompt-android.git#2073b07f64bf5dc95807f64d79f37bdb111e6951" ,
2020-09-17 20:03:00 -04:00
"react-native-push-notification" : "5.1.1" ,
2020-04-26 06:50:05 +01:00
"react-native-qrcode-svg" : "6.0.6" ,
2020-01-02 00:09:14 -06:00
"react-native-quick-actions" : "0.3.13" ,
2019-07-06 04:03:42 -04:00
"react-native-randombytes" : "3.5.3" ,
2020-08-07 22:11:43 -04:00
"react-native-rate" : "1.2.4" ,
2020-10-17 05:50:04 +00:00
"react-native-reanimated" : "1.13.1" ,
2020-09-17 20:03:00 -04:00
"react-native-safe-area-context" : "3.1.8" ,
"react-native-screens" : "2.11.0" ,
2020-05-10 16:05:51 -04:00
"react-native-secure-key-store" : "git+https://github.com/BlueWallet/react-native-secure-key-store.git#4ba25dedb3d5ae15c22fd0ea0555116055630966" ,
2020-10-08 18:38:29 -04:00
"react-native-share" : "4.0.2" ,
2020-06-01 12:28:44 -04:00
"react-native-snap-carousel" : "3.9.1" ,
"react-native-sortable-list" : "0.0.24" ,
2020-06-22 08:04:25 -04:00
"react-native-svg" : "12.1.0" ,
2020-06-15 11:05:11 +01:00
"react-native-tcp-socket" : "3.7.1" ,
2020-06-22 08:04:25 -04:00
"react-native-tooltip" : "git+https://github.com/BlueWallet/react-native-tooltip.git#d369e7ece09e4dec73873f1cfeac83e9d35294a6" ,
2019-07-06 04:03:42 -04:00
"react-native-vector-icons" : "6.6.0" ,
2020-09-07 07:35:08 -04:00
"react-native-watch-connectivity" : "1.0.2" ,
2020-10-08 18:38:29 -04:00
"react-native-webview" : "10.9.2" ,
2019-10-05 18:36:16 -04:00
"react-test-render" : "1.1.2" ,
2020-03-11 05:51:44 +00:00
"readable-stream" : "3.6.0" ,
2020-10-10 05:50:17 +00:00
"realm" : "6.1.2" ,
2020-05-27 18:10:14 +01:00
"rn-nodeify" : "10.2.0" ,
2019-07-06 04:03:42 -04:00
"secure-random" : "1.1.2" ,
2019-02-16 22:12:50 +00:00
"stream-browserify" : "2.0.2" ,
2019-05-02 16:33:03 -04:00
"url" : "0.11.0" ,
2020-05-22 06:50:31 +01:00
"util" : "0.12.3" ,
2019-07-06 04:03:42 -04:00
"wif" : "2.0.6"
2018-01-30 22:42:38 +00:00
} ,
"react-native" : {
2020-05-07 00:22:54 +08:00
"crypto" : "bluewallet/blue_modules/crypto" ,
2018-01-30 22:42:38 +00:00
"path" : "path-browserify" ,
"fs" : "react-native-level-fs" ,
"_stream_transform" : "readable-stream/transform" ,
"_stream_readable" : "readable-stream/readable" ,
"_stream_writable" : "readable-stream/writable" ,
"_stream_duplex" : "readable-stream/duplex" ,
"_stream_passthrough" : "readable-stream/passthrough" ,
"stream" : "stream-browserify"
} ,
2020-03-16 13:51:08 +00:00
"detox" : {
"configurations" : {
"ios.sim.release" : {
"binaryPath" : "ios/build/Build/Products/Release-iphonesimulator/BlueWallet.app" ,
2020-06-23 14:40:51 +03:00
"build" : "xcodebuild clean build -workspace ios/BlueWallet.xcworkspace -scheme BlueWallet -configuration Release -derivedDataPath ios/build -sdk iphonesimulator13.2" ,
2020-03-16 13:51:08 +00:00
"type" : "ios.simulator" ,
"device" : {
"type" : "iPhone 11"
}
} ,
"android.emu.debug" : {
"binaryPath" : "android/app/build/outputs/apk/debug/app-debug.apk" ,
"build" : "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .." ,
"type" : "android.emulator" ,
"device" : {
2020-03-18 15:38:52 +00:00
"avdName" : "Pixel_API_29_AOSP"
2020-03-16 13:51:08 +00:00
}
} ,
"android.emu.release" : {
"binaryPath" : "android/app/build/outputs/apk/release/app-release.apk" ,
"build" : "# deleting old artifacts\nfind | grep '\\.apk' --color=never | grep -v node_modules | xargs -l rm\n\n# creating fresh keystore\nrm detox.keystore\nkeytool -genkeypair -v -keystore detox.keystore -alias detox -keyalg RSA -keysize 2048 -validity 10000 -storepass 123456 -keypass 123456 -dname 'cn=Unknown, ou=Unknown, o=Unknown, c=Unknown'\n\n# building release APK\ncd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..\n\n# backup & sign apk1\ncp ./android/app/build/outputs/apk/release/app-release-unsigned.apk ./android/app/build/outputs/apk/release/app-release-unsigned.apk.bak\njarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore detox.keystore ./android/app/build/outputs/apk/release/app-release-unsigned.apk detox -storepass 123456\n\n# move apk1 to expected filename\nmv ./android/app/build/outputs/apk/release/app-release-unsigned.apk ./android/app/build/outputs/apk/release/app-release.apk\n\n# backup and sign apk2\ncp android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk.bak\njarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore detox.keystore android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk detox -storepass 123456" ,
"type" : "android.emulator" ,
"device" : {
2020-03-18 15:38:52 +00:00
"avdName" : "Pixel_API_29_AOSP"
2020-03-16 13:51:08 +00:00
}
}
} ,
"test-runner" : "jest" ,
"runner-config" : "tests/e2e/config.json"
} ,
2018-01-30 22:42:38 +00:00
"browser" : {
"path" : "path-browserify" ,
"fs" : "react-native-level-fs" ,
"_stream_transform" : "readable-stream/transform" ,
"_stream_readable" : "readable-stream/readable" ,
"_stream_writable" : "readable-stream/writable" ,
"_stream_duplex" : "readable-stream/duplex" ,
"_stream_passthrough" : "readable-stream/passthrough" ,
"stream" : "stream-browserify"
}
}