2018-01-30 22:42:38 +00:00
{
2020-03-30 22:52:01 +01:00
"name" : "bluewallet" ,
2022-02-02 10:23:26 -05:00
"version" : "6.2.19" ,
2020-03-31 20:10:49 +02:00
"license" : "MIT" ,
2021-02-12 22:48:11 +00:00
"repository" : {
2021-02-16 23:38:50 -05:00
"type" : "git" ,
"url" : "https://github.com/BlueWallet/BlueWallet.git"
2021-02-12 22:48:11 +00:00
} ,
2018-01-30 22:42:38 +00:00
"devDependencies" : {
2021-07-06 05:38:53 -04:00
"@babel/core" : "^7.12.9" ,
2021-06-22 16:47:00 -04:00
"@babel/runtime" : "^7.14.6" ,
2020-10-07 08:24:36 -04:00
"@jest/reporters" : "^26.4.1" ,
2021-08-06 11:31:27 +00:00
"@react-native-community/eslint-config" : "^3.0.0" ,
2021-07-21 15:11:04 +02:00
"@types/bs58check" : "^2.1.0" ,
"@types/create-hash" : "^1.2.2" ,
2021-07-18 14:56:59 +02:00
"@types/jest" : "^26.0.24" ,
"@types/react" : "^17.0.14" ,
2022-02-28 01:43:51 +00:00
"@types/react-native" : "^0.67.0" ,
2021-07-18 14:56:59 +02:00
"@types/react-test-renderer" : "^17.0.1" ,
"@typescript-eslint/eslint-plugin" : "^4.28.3" ,
"@typescript-eslint/parser" : "^4.28.3" ,
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" ,
2021-07-06 05:38:53 -04:00
"babel-jest" : "^26.6.3" ,
2021-07-18 14:56:59 +02:00
"eslint" : "^7.30.0" ,
2021-05-08 09:41:45 +03:00
"eslint-config-prettier" : "^8.3.0" ,
"eslint-config-standard" : "^16.0.2" ,
"eslint-config-standard-jsx" : "^10.0.0" ,
"eslint-config-standard-react" : "^11.0.1" ,
2020-10-07 08:24:36 -04:00
"eslint-plugin-babel" : "^5.3.1" ,
2021-05-08 09:41:45 +03:00
"eslint-plugin-import" : "^2.22.1" ,
2020-06-01 15:54:23 +03:00
"eslint-plugin-node" : "^11.1.0" ,
2021-08-30 22:03:36 +00:00
"eslint-plugin-prettier" : "^4.0.0" ,
2021-12-18 10:17:15 +00:00
"eslint-plugin-promise" : "^6.0.0" ,
2021-05-08 09:41:45 +03:00
"eslint-plugin-react" : "^7.23.2" ,
"eslint-plugin-standard" : "^4.1.0" ,
2020-10-07 08:24:36 -04:00
"jest" : "^26.1.0" ,
2021-09-09 18:02:15 +01:00
"node-fetch" : "^2.6.2" ,
2021-05-08 09:41:45 +03:00
"prettier" : "^2.2.1" ,
2022-02-11 06:47:06 -05:00
"react-test-renderer" : "17.0.2" ,
2021-07-18 14:56:59 +02:00
"typescript" : "^4.3.5"
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" ,
2021-09-13 14:22:00 +01:00
"branch2json" : "./scripts/current-branch.sh > current-branch.json" ,
2020-05-19 18:16:30 +01:00
"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" ,
2021-09-13 14:22:00 +01:00
"postinstall" : "rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path,assert,crypto --hack; npm run releasenotes2json; npm run branch2json; npm run podinstall" ,
2021-07-18 14:56:59 +02:00
"test" : "npm run tslint && npm run lint && npm run unit && npm run jest" ,
2021-09-14 14:38:45 +01:00
"jest" : "jest -b tests/integration/*" ,
2021-07-21 11:47:16 -04:00
"windowspatches" : "./scripts/windows-patches.sh" ,
2020-11-18 10:04:20 -05:00
"maccatalystpatches" : "./scripts/maccatalystpatches/applypatchesformaccatalyst.sh" ,
2020-06-23 14:40:51 +03:00
"e2e:debug-build" : "detox build -c android.emu.debug" ,
2021-09-14 14:38:45 +01:00
"e2e:debug-test" : "detox test -c android.emu.debug -d 200000 -l info" ,
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" ,
2021-05-05 17:36:01 +01:00
"e2e:release-build" : "detox build -c android.emu.release" ,
2021-09-15 20:48:39 +01:00
"e2e:release-test" : "detox test -c android.emu.release --record-videos all --take-screenshots all --headless -d 200000 --loglevel info" ,
2021-07-18 14:56:59 +02:00
"tslint" : "tsc" ,
"lint" : "eslint --ext .js,.ts,.tsx '*.@(js|ts|tsx)' screen 'blue_modules/*.@(js|ts|tsx)' class models loc tests components" ,
2020-06-01 15:54:23 +03:00
"lint:fix" : "npm run lint -- --fix" ,
2021-10-29 12:12:31 +01:00
"lint:quickfix" : "git status --porcelain | grep -v '\\.json' | grep -E '\\.js|\\.ts' --color=never | awk '{print $2}' | xargs eslint --fix; exit 0" ,
2021-09-14 14:38:45 +01:00
"unit" : "jest -b tests/unit/*" ,
2021-07-20 12:21:46 -04:00
"windows" : "react-native run-windows"
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
} ,
2021-07-18 14:56:59 +02:00
"moduleFileExtensions" : [
"js" ,
"json" ,
"ts" ,
"tsx"
] ,
2021-07-06 05:38:53 -04:00
"transformIgnorePatterns" : [
"node_modules/(?!((jest-)?react-native(-.*)?|@react-native(-community)?)/)"
] ,
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" : {
2022-05-25 17:45:16 +00:00
"@babel/preset-env" : "7.18.2" ,
2022-06-01 11:44:51 +00:00
"@bugsnag/react-native" : "7.16.7" ,
2022-02-04 11:36:30 +00:00
"@bugsnag/source-maps" : "2.3.1" ,
2021-10-27 20:59:31 +01:00
"@keystonehq/bc-ur-registry" : "0.4.4" ,
"@ngraveio/bc-ur" : "1.1.6" ,
2022-06-01 11:45:20 +00:00
"@react-native-async-storage/async-storage" : "1.17.6" ,
2022-04-26 06:45:18 +00:00
"@react-native-clipboard/clipboard" : "1.10.0" ,
2021-09-08 03:55:41 +00:00
"@react-native-community/push-notification-ios" : "1.10.1" ,
2021-04-25 03:51:43 +00:00
"@react-navigation/drawer" : "5.12.5" ,
2021-05-09 13:08:53 +03:00
"@react-navigation/native" : "5.9.4" ,
2021-05-04 12:09:38 +01:00
"@remobile/react-native-qrcode-local-image" : "https://github.com/BlueWallet/react-native-qrcode-local-image" ,
2021-01-28 12:54:23 +00:00
"aez" : "1.0.1" ,
2021-05-09 13:08:53 +03:00
"assert" : "2.0.0" ,
2021-10-23 02:17:54 +00:00
"base-x" : "3.0.9" ,
2020-06-24 12:56:35 +01:00
"bc-bech32" : "file:blue_modules/bc-bech32" ,
2021-05-09 13:08:53 +03:00
"bech32" : "2.0.0" ,
2021-12-13 04:05:04 +00:00
"bignumber.js" : "9.0.2" ,
2020-06-30 05:51:44 +00:00
"bip21" : "2.0.3" ,
2022-01-11 04:34:08 +00:00
"bip32" : "3.0.1" ,
2021-08-07 17:39:01 +03:00
"bip38" : "github:BlueWallet/bip38" ,
2021-05-09 13:08:53 +03:00
"bip39" : "3.0.4" ,
2021-11-27 04:18:58 +00:00
"bitcoinjs-lib" : "6.0.1" ,
2021-03-09 14:26:56 +03:00
"bitcoinjs-message" : "2.2.0" ,
2021-11-18 17:06:02 +00:00
"bolt11" : "1.3.4" ,
2021-02-21 03:52:16 +00:00
"buffer" : "6.0.3" ,
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" ,
2021-08-06 00:34:49 +00:00
"crypto-js" : "4.1.1" ,
2022-05-06 20:09:32 +00:00
"dayjs" : "1.11.2" ,
2022-02-09 19:56:45 +00:00
"detox" : "19.4.4" ,
2021-12-17 10:57:34 +00:00
"ecpair" : "2.0.1" ,
2019-10-05 18:36:16 -04:00
"ecurve" : "1.0.6" ,
2021-05-04 12:09:38 +01:00
"electrum-client" : "https://github.com/BlueWallet/rn-electrum-client#99ebcc649d91a8dc39bea7964b02dd9ead464aa4" ,
2020-05-04 12:53:14 +09:00
"electrum-mnemonic" : "2.0.0" ,
2021-08-06 14:20:33 +00:00
"events" : "3.3.0" ,
2020-08-03 05:51:33 +00:00
"frisbee" : "3.1.4" ,
2021-01-28 12:54:23 +00:00
"junderw-crc32c" : "1.2.0" ,
2022-02-11 06:47:06 -05:00
"lottie-ios" : "3.2.3" ,
2022-05-11 18:12:55 +00:00
"lottie-react-native" : "5.1.2" ,
2022-05-05 16:50:37 +00:00
"metro-react-native-babel-preset" : "0.70.3" ,
2020-06-24 05:50:28 +00:00
"path-browserify" : "1.0.1" ,
2021-09-01 09:12:15 +00:00
"payjoin-client" : "1.0.1" ,
2019-02-16 22:12:50 +00:00
"process" : "0.11.10" ,
2022-01-05 03:21:02 +00:00
"prop-types" : "15.8.1" ,
2022-02-11 06:47:06 -05:00
"react" : "17.0.2" ,
2022-04-07 23:18:38 +00:00
"react-localization" : "1.0.19" ,
2022-03-18 12:35:52 +00:00
"react-native" : "0.67.4" ,
2021-08-18 13:30:43 +01:00
"react-native-blue-crypto" : "https://github.com/BlueWallet/react-native-blue-crypto#fbc2e6beded0b7f61e0986ce98cca1230f84bc1c" ,
2021-09-21 22:09:15 +00:00
"react-native-camera" : "4.2.1" ,
2021-04-15 20:52:48 +03:00
"react-native-crypto" : "2.2.0" ,
2022-04-13 13:33:23 +00:00
"react-native-default-preference" : "1.4.4" ,
2022-04-30 22:14:02 +00:00
"react-native-device-info" : "8.7.1" ,
2021-12-27 15:08:06 -06:00
"react-native-document-picker" : "https://github.com/BlueWallet/react-native-document-picker#c52e7a6d2a08f5506c23de86c1401775419f772c" ,
2021-08-07 09:37:16 +00:00
"react-native-elements" : "3.4.2" ,
2021-05-04 12:09:38 +01:00
"react-native-fingerprint-scanner" : "https://github.com/BlueWallet/react-native-fingerprint-scanner#ce644673681716335d786727bab998f7e632ab5e" ,
2022-02-18 20:40:46 +00:00
"react-native-fs" : "2.19.0" ,
2022-05-05 19:02:04 +00:00
"react-native-gesture-handler" : "2.4.2" ,
2021-09-24 23:36:08 -04:00
"react-native-handoff" : "https://github.com/BlueWallet/react-native-handoff#31d005f93d31099d0e564590a3bbd052b8a02b39" ,
2022-03-03 11:41:41 +00:00
"react-native-haptic-feedback" : "1.13.1" ,
2021-05-04 12:09:38 +01:00
"react-native-idle-timer" : "https://github.com/BlueWallet/react-native-idle-timer#8587876d68ab5920e79619726aeca9e672beaf2b" ,
2022-04-28 14:45:17 +00:00
"react-native-image-picker" : "4.8.1" ,
2022-01-17 18:13:45 -05:00
"react-native-ios-context-menu" : "https://github.com/BlueWallet/react-native-ios-context-menu.git#v1.3.0" ,
2021-10-02 18:22:54 +00:00
"react-native-keychain" : "8.0.0" ,
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" ,
2022-03-26 12:04:31 +00:00
"react-native-localize" : "2.2.1" ,
2022-03-01 16:20:00 +00:00
"react-native-modal" : "13.0.1" ,
2021-07-06 05:38:53 -04:00
"react-native-navigation-bar-color" : "https://github.com/BlueWallet/react-native-navigation-bar-color#3b2894ae62fbce99a3bd24105f0921cebaef5c94" ,
"react-native-obscure" : "https://github.com/BlueWallet/react-native-obscure.git#f4b83b4a261e39b1f5ed4a45ac5bcabc8a59eadb" ,
2021-05-04 12:09:38 +01:00
"react-native-passcode-auth" : "https://github.com/BlueWallet/react-native-passcode-auth#a2ff977ba92b36f8d0a5567f59c05cc608e8bd12" ,
"react-native-privacy-snapshot" : "https://github.com/BlueWallet/react-native-privacy-snapshot#529e4627d93f67752a27e82a040ff7b64dca0783" ,
2021-05-29 02:23:15 -04:00
"react-native-prompt-android" : "https://github.com/BlueWallet/react-native-prompt-android#ed168d66fed556bc2ed07cf498770f058b78a376" ,
2020-09-17 20:03:00 -04:00
"react-native-push-notification" : "5.1.1" ,
2021-12-08 15:41:17 +00:00
"react-native-qrcode-svg" : "6.1.2" ,
2020-01-02 00:09:14 -06:00
"react-native-quick-actions" : "0.3.13" ,
2021-05-21 23:31:34 +00:00
"react-native-randombytes" : "3.6.1" ,
2021-09-14 19:22:54 +00:00
"react-native-rate" : "1.2.9" ,
2022-04-23 19:20:08 +01:00
"react-native-reanimated" : "2.8.0" ,
2022-02-19 00:44:43 +00:00
"react-native-safe-area-context" : "3.4.1" ,
2022-04-02 11:57:08 +00:00
"react-native-screens" : "3.13.1" ,
2021-05-22 18:58:29 -04:00
"react-native-secure-key-store" : "https://github.com/BlueWallet/react-native-secure-key-store#63ab38c9d382a819844a086a69cc204c46aa93f9" ,
2022-05-09 18:26:57 +00:00
"react-native-share" : "7.4.1" ,
2022-03-02 12:41:20 +00:00
"react-native-svg" : "12.3.0" ,
2022-04-27 03:00:54 +00:00
"react-native-tcp-socket" : "5.6.2" ,
2022-02-11 06:47:06 -05:00
"react-native-tor" : "0.1.8" ,
2022-02-13 17:39:47 +00:00
"react-native-vector-icons" : "9.1.0" ,
2022-05-18 18:11:28 +00:00
"react-native-watch-connectivity" : "1.0.5" ,
2022-05-31 18:12:08 +00:00
"react-native-webview" : "11.21.1" ,
2021-08-02 20:17:18 -04:00
"react-native-widget-center" : "https://github.com/BlueWallet/react-native-widget-center#b1382bbe1ed631b50a8aa03390f64c50775bc9ff" ,
2022-03-29 19:26:41 +00:00
"react-native-windows" : "0.67.6" ,
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" ,
2022-04-23 19:20:08 +01:00
"realm" : "^10.20.0-beta.5" ,
2022-05-06 21:49:14 -04:00
"rn-ldk" : "github:BlueWallet/rn-ldk#v0.8.4" ,
2021-05-25 01:16:57 +00:00
"rn-nodeify" : "10.3.0" ,
2021-07-23 19:56:41 +01:00
"scryptsy" : "2.1.0" ,
2019-07-06 04:03:42 -04:00
"secure-random" : "1.1.2" ,
2021-07-23 21:18:34 +01:00
"slip39" : "https://github.com/BlueWallet/slip39-js" ,
2021-08-06 22:08:38 +00:00
"stream-browserify" : "3.0.0" ,
2019-05-02 16:33:03 -04:00
"url" : "0.11.0" ,
2021-06-19 21:59:47 +00:00
"util" : "0.12.4" ,
2021-07-20 11:33:14 -04:00
"wif" : "2.0.6"
2018-01-30 22:42:38 +00:00
} ,
"react-native" : {
2021-04-15 20:52:48 +03:00
"crypto" : "react-native-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" : {
2021-04-15 20:52:48 +03:00
"crypto" : "react-native-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"
}
}