forked from Emurgo/yoroi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
263 lines (263 loc) · 9.96 KB
/
package.json
File metadata and controls
263 lines (263 loc) · 9.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{
"name": "emurgo",
"version": "0.0.1",
"private": true,
"scripts": {
"android-bundle": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"babel": "babel src",
"e2e:appium-test-android": "./node_modules/.bin/wdio tests/config/wdio.android.local.conf.ts",
"e2e:build-android": "detox build -c android.emu.mainnet.release",
"e2e:build-android-debug": "detox build -c android.emu.mainnet.debug",
"e2e:build-ios": "detox build -c ios.release",
"e2e:test-android": "detox test -c android.emu.mainnet.release",
"e2e:test-android-debug": "detox test -c android.emu.mainnet.debug",
"e2e:test-ios": "detox test -c ios.release",
"flow": "flow --show-all-errors .",
"flow:cover": "yarn flow-coverage-report -i 'src/**/*.js' -x '**/*.test.*' -x '**/*.stories*' -t html",
"flow:install": "flow-typed create-stub path-to-regexp --typescript",
"inhibit-warnings": "react-native-inhibit-warnings",
"postinstall": "react-native-inhibit-warnings",
"lint": "yarn lint:flow && yarn lint:typescript && prettylint \"src/**/*.tsx\" \"src/**/*.ts\" \"legacy/**/*.js\" --config .prettierrc",
"lint:fix": "yarn lint:flow --fix && yarn lint:typescript --fix",
"lint:flow": "eslint --max-warnings=0 ./legacy -c ./legacy/.eslintrc.js",
"lint:typescript": "eslint --max-warnings=0 ./src -c ./src/.eslintrc.js",
"manage-translations": "node ./translations/translation-runner.js",
"prepare": "husky install",
"prettify": "prettier --write ./src ./e2e ./storybook ./translations --config .prettierrc",
"purge-translations": "rimraf ./translations/messages",
"setup_configs": "react-native-schemes-manager all",
"start": "react-native start",
"prestorybook": "rnstl --searchDir ./src ./legacy/components ./storybook --pattern '**/*.stories.{js,tsx}'",
"storybook": "start-storybook",
"test": "jest",
"tsc:cover": "yarn typescript-coverage-report -i '**/*.test.*' -i '**/*.stories*' -t html --threshold=100"
},
"lint-staged": {
"./legacy/**/*.{js,jsx}": [
"eslint --cache --fix --max-warnings=0 --c ./legacy/.eslintrc.js",
"prettier --write",
"flow focus-check"
],
"./src/**/*.{ts,tsx}": [
"eslint --cache --fix --max-warnings=0 -c ./src/.eslintrc.js",
"prettier --write",
"bash -c tsc -p tsconfig.json --noEmit"
],
"*.{md,json}": "prettier --write",
"*.{stories}.*": [
"yarn prestorybook",
"git add ./storybook/storyLoader.js"
]
},
"jest": {
"preset": "react-native",
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(test).[jt]s?(x)"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
},
"dependencies": {
"@cardano-foundation/ledgerjs-hw-app-cardano": "4.0.0",
"@emurgo/cip14-js": "2.0.0",
"@emurgo/cip4-js": "1.0.5",
"@emurgo/react-native-haskell-shelley": "3.1.2",
"@formatjs/intl": "^1.14.1",
"@formatjs/intl-datetimeformat": "^4.2.3",
"@formatjs/intl-getcanonicallocales": "^1.7.3",
"@formatjs/intl-locale": "^2.4.37",
"@formatjs/intl-numberformat": "^7.2.3",
"@formatjs/intl-pluralrules": "^4.1.3",
"@formatjs/intl-relativetimeformat": "^9.2.3",
"@ledgerhq/react-native-hw-transport-ble": "5.51.1",
"@react-native-async-storage/async-storage": "1.15.5",
"@react-native-community/clipboard": "1.5.1",
"@react-native-community/masked-view": "0.1.10",
"@react-native-community/netinfo": "5.9.9",
"@react-navigation/bottom-tabs": "5.11.8",
"@react-navigation/material-top-tabs": "5.3.10",
"@react-navigation/native": "5.9.3",
"@react-navigation/routers": "5.7.2",
"@react-navigation/stack": "5.14.5",
"@sentry/react-native": "1.4.5",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@unstoppabledomains/resolution": "6.0.3",
"@v-almonacid/react-native-hid": "5.15.4",
"@wdio/cli": "^7.16.8",
"add": "2.0.6",
"babel-eslint": "^10.1.0",
"base-x": "3.0.8",
"bech32": "2.0.0",
"bignumber.js": "^7.2.1",
"bip39": "2.5.0",
"blake2b": "2.1.3",
"bluebird": "3.7.2",
"bs58": "^4.0.1",
"chacha": "2.1.0",
"crypto-random-string": "3.3.0",
"es6-error": "^4.1.1",
"es6-symbol": "3.1.3",
"immer": "8.0.1",
"intl": "^1.2.5",
"jsc-android": "241213.1.0",
"lodash": "^4.17.21",
"moment": "2.29.1",
"net": "^1.0.2",
"node-fetch": "^2.6.1",
"p-limit": "3.1.0",
"react": "17.0.2",
"react-intl": "^5.20.10",
"react-markdown": "4.3.1",
"react-native": "0.64.2",
"react-native-background-timer": "2.4.1",
"react-native-ble-plx": "2.0.2",
"react-native-blockies-svg": "git+https://github.com/Emurgo/react-native-blockies-svg",
"react-native-bootsplash": "3.2.3",
"react-native-camera": "3.44.0",
"react-native-config": "0.12.0",
"react-native-crypto": "2.2.0",
"react-native-device-info": "6.0.1",
"react-native-easy-markdown": "1.4.1",
"react-native-gesture-handler": "1.10.3",
"react-native-keychain": "7.0.0",
"react-native-linear-gradient": "2.5.6",
"react-native-local-resource": "^0.1.3",
"react-native-markdown-renderer": "^3.2.8",
"react-native-paper": "4.9.2",
"react-native-permissions": "2.2.2",
"react-native-qrcode-scanner": "1.4.1",
"react-native-qrcode-svg": "6.0.6",
"react-native-randombytes": "3.6.0",
"react-native-reanimated": "1.13.2",
"react-native-safe-area-context": "3.1.9",
"react-native-safe-area-view": "2.0.0",
"react-native-screens": "2.11.0",
"react-native-svg": "^7.2.0",
"react-native-tab-view": "2.15.2",
"react-native-vector-icons": "^8.1.0",
"react-native-webview": "11.14.4",
"react-query": "^3.32.2",
"react-redux": "7.2.2",
"recompose": "^0.30.0",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"safe-buffer": "^5.2.1",
"stream-browserify": "3.0.0",
"tinycolor2": "1.4.2",
"ts-node": "^10.4.0",
"url": "^0.11.0",
"util": "0.12.4",
"uuid": "^3.3.2",
"vm-browserify": "1.1.2"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/node": "^7.15.8",
"@babel/runtime": "^7.15.4",
"@emurgo/cardano-serialization-lib-nodejs": "^9.1.0",
"@storybook/addon-actions": "5.3.14",
"@storybook/addon-knobs": "5.3.14",
"@storybook/addon-links": "5.3.14",
"@storybook/addon-ondevice-actions": "5.3.14",
"@storybook/addon-ondevice-knobs": "5.3.14",
"@storybook/addons": "^5.3.14",
"@storybook/react-native": "^5.3.25",
"@storybook/react-native-server": "^5.3.23",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.175",
"@types/node": "^16.10.3",
"@types/react": "^17.0.27",
"@types/react-native": "^0.65.5",
"@types/react-redux": "^7.1.18",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@wdio/appium-service": "^7.16.6",
"@wdio/local-runner": "^7.16.8",
"@wdio/mocha-framework": "^7.16.6",
"@wdio/selenium-standalone-service": "^7.16.6",
"@wdio/spec-reporter": "^7.16.4",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"babel-plugin-react-intl": "^3.0.1",
"babel-plugin-require-context-hook": "^1.0.0",
"chai": "^4.3.4",
"detox": "16.7.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-vacuumlabs": "1.9.0",
"eslint-plugin-flowtype": "^6.1.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-react-native": "3.11.0",
"eslint-plugin-react-prefer-function-component": "^0.0.7",
"eslint-plugin-simple-import-sort": "^7.0.0",
"extract-react-intl-messages": "^0.14.0",
"flow-bin": "0.131.0",
"flow-coverage-report": "^0.8.0",
"flow-typed": "^3.3.1",
"husky": ">=6",
"jest": "26.6.3",
"jest-circus": "^27.3.1",
"lint-staged": ">=10",
"metro-react-native-babel-preset": "^0.66.2",
"prettier": "2.3.2",
"prettier-plugin-packagejson": "^2.2.11",
"prettylint": "1.0.0",
"react-dom": "16.8.3",
"react-intl-translations-manager": "^5.0.3",
"react-native-inhibit-warnings": "git+https://github.com/Emurgo/react-native-inhibit-warnings.git",
"react-native-schemes-manager": "^1.0.5",
"react-native-storybook-loader": "^1.8.1",
"react-test-renderer": "17.0.2",
"typescript": "^4.5.3",
"typescript-coverage-report": "^0.6.0"
},
"engineStrict": true,
"detox": {
"test-runner": "jest",
"configurations": {
"ios.release": {
"binaryPath": "./ios/build/Build/Products/Release-iphonesimulator/emurgo.app",
"build": "xcodebuild -workspace ios/emurgo.xcworkspace -configuration release -scheme emurgo -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 11"
},
"android.emu.mainnet.debug": {
"binaryPath": "android/app/build/outputs/apk/mainnet/debug/app-mainnet-debug.apk",
"build": "cd android && ENVFILE=.env.e2e ./gradlew assembleMainnetDebug assembleMainnetDebugAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"device": {
"avdName": "Nexus_6_API_28_2_e2e_"
}
},
"android.emu.mainnet.release": {
"binaryPath": "android/app/build/outputs/apk/mainnet/release/app-mainnet-release.apk",
"build": "cd android && ENVFILE=.env.e2e ./gradlew assembleMainnetRelease assembleMainnetReleaseAndroidTest -DtestBuildType=release && cd ..",
"type": "android.emulator",
"device": {
"avdName": "Nexus_6_API_28_2_e2e_"
}
}
}
},
"engine": {
"node": "~16.5.0",
"npm": "~7.19.1"
},
"xcodeSchemes": {
"Debug": [
"Staging.Debug"
],
"Release": [
"Staging.Release"
]
}
}