-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
188 lines (188 loc) · 7.39 KB
/
package.json
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
{
"name": "plug-mobile",
"version": "0.4.0",
"private": true,
"scripts": {
"rename-build": "chmod +x ./rename-ic-agent.sh && ./rename-ic-agent.sh",
"ic:build.ios": "cd rust/.cargo/mobile_app && make ios",
"ic:build.android": "cd rust/.cargo/mobile_app && make android",
"patch:ios": "sh copy-patches.sh ios && rm -rf node_modules && yarn install",
"patch:android": "sh copy-patches.sh android && rm -rf node_modules && yarn install",
"ios": "yarn run ic:build.ios && react-native run-ios --scheme plug-dev",
"ios:stage": "yarn run ic:build.ios && react-native run-ios --scheme plug-stage --configuration Debug",
"ios:prod": "yarn run ic:build.ios && react-native run-ios --scheme plug-prod --configuration Debug",
"android": "yarn run ic:build.android && npx react-native run-android --variant=devDebug --appId co.psychedelic.plug.dev ",
"android:stage": "yarn run ic:build.android && react-native run-android --variant=stageDebug ",
"android:prod": "yarn run ic:build.android && react-native run-android --variant=productionDebug ",
"android:build.dev": "yarn run ic:build.android && yarn run patch:android && cd android && ./gradlew clean && ./gradlew assembleDevRelease",
"android:build.stage": "yarn run ic:build.android && yarn run patch:android && cd android && ./gradlew clean && ./gradlew assembleStageRelease",
"android:build.prod": "yarn run ic:build.android && yarn run patch:android && cd android && ./gradlew clean && ./gradlew assembleProductionRelease",
"android:bundle.prod": "yarn run ic:build.android && yarn run patch:android && cd android && ./gradlew clean && ./gradlew bundleProductionRelease",
"start": "react-native start",
"test": "jest",
"lint": "eslint . --max-warnings=0",
"nodeify": "rn-nodeify --hack --install crypto,buffer,react-native-randombytes,process,stream",
"lint-fix": "eslint . --fix",
"removeDeps": "rm -rf yarn.lock node_modules && cd ios && rm -rf Pods Podfile.lock && cd ..",
"fullInstall": "yarn install && cd ios && pod install",
"reset": "yarn removeDeps && yarn run fullInstall",
"patch": "npx patch-package --use-yarn",
"postinstall": "yarn nodeify && yarn patch"
},
"dependencies": {
"@dfinity/candid": "0.9.3",
"@dfinity/principal": "^0.9.3",
"@hookform/error-message": "^2.0.0",
"@psychedelic/dab-js": "^1.6.0-alpha.2",
"@psychedelic/plug-controller": "0.25.3",
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-native-clipboard/clipboard": "^1.11.1",
"@react-native-community/blur": "^4.2.0",
"@react-native-masked-view/masked-view": "^0.2.7",
"@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/elements": "^1.3.6",
"@react-navigation/material-top-tabs": "^6.3.0",
"@react-navigation/native": "^6.0.13",
"@react-navigation/stack": "^6.3.4",
"@reduxjs/toolkit": "^1.8.6",
"@sentry/react-native": "^4.5.0",
"@shopify/flash-list": "^1.4.0",
"@walletconnect/client": "^1.7.5",
"assert-browserify": "^2.0.0",
"axios": "0.24.0",
"buffer": "^4.9.2",
"crypto": "^1.0.1",
"crypto-browserify": "^3.12.0",
"dayjs": "^1.11.2",
"emoji-datasource": "^7.0.2",
"events": "^1.1.1",
"events-browserify": "^0.0.1",
"flatted": "^3.2.4",
"i18next": "^21.8.0",
"js-sha256": "^0.9.0",
"json-bigint": "^1.0.0",
"mime-types": "^2.1.35",
"patch-package": "^6.4.7",
"process": "^0.11.10",
"punycode": "^2.1.1",
"react": "18.1.0",
"react-hook-form": "^7.36.1",
"react-i18next": "^11.16.9",
"react-native": "^0.70.0",
"react-native-bip39": "^2.3.0",
"react-native-bootsplash": "^4.3.2",
"react-native-code-push": "^7.0.5",
"react-native-config": "^1.4.6",
"react-native-crypto": "^2.2.0",
"react-native-crypto-js": "^1.0.0",
"react-native-device-info": "^10.3.0",
"react-native-document-picker": "^8.1.1",
"react-native-fast-image": "^8.6.1",
"react-native-fetch-api": "^2.0.0",
"react-native-file-access": "^2.5.0",
"react-native-file-viewer": "^2.1.5",
"react-native-gesture-handler": "^2.6.0",
"react-native-haptic-feedback": "^1.14.0",
"react-native-linear-gradient": "^2.6.2",
"react-native-localize": "^2.2.3",
"react-native-minimizer": "https://github.com/Psychedelic/react-native-minimizer",
"react-native-modalize": "^2.1.1",
"react-native-pager-view": "^5.4.4",
"react-native-portalize": "^1.0.7",
"react-native-process-shim": "^1.1.1",
"react-native-randombytes": "^3.6.1",
"react-native-reanimated": "^2.12.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.14.1",
"react-native-sensitive-info": "^6.0.0-alpha.9",
"react-native-svg": "^13.5.0",
"react-native-tab-view": "^3.1.1",
"react-native-toast-notifications": "^3.3.1",
"react-native-url-polyfill": "^1.3.0",
"react-native-video": "^6.0.0-alpha.1",
"react-native-webview": "^11.23.0",
"react-number-format": "^4.9.3",
"react-redux": "7.2.6",
"reactotron-react-native": "^5.0.2",
"reactotron-redux": "^3.1.3",
"readable-stream": "npm:vite-compatible-readable-stream",
"redux-persist": "^6.0.0",
"rn-nodeify": "^10.3.0",
"stream-browserify": "^3.0.0",
"string_decoder": "^1.3.0",
"text-encoding-polyfill": "^0.6.7",
"url": "^0.10.3",
"use-memo-one": "^1.1.2",
"util": "^0.10.4",
"web-streams-polyfill": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/runtime": "7.18.3",
"@react-native-community/eslint-config": "^3.1.0",
"@rnx-kit/dep-check": "^1.13.1",
"@types/jest": "^27.5.1",
"@types/react-native": "0.66.3",
"@types/react-native-video": "^5.0.13",
"@types/react-test-renderer": "16.9.2",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-exponentiation-operator": "^6.24.1",
"eslint": "^7.32.0",
"eslint-plugin-ft-flow": "^2.0.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.72.1",
"prettier": "^2.7.1",
"react-native-svg-transformer": "^1.0.0",
"react-test-renderer": "18.1.0",
"typescript": "4.6.4"
},
"jest": {
"preset": "react-native"
},
"react-native": {
"_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",
"crypto": "react-native-crypto",
"stream": "stream-browserify"
},
"browser": {
"_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",
"crypto": "react-native-crypto",
"stream": "stream-browserify"
},
"resolutions": {
"jpeg-js": "0.4.4"
},
"rnx-kit": {
"reactNativeVersion": "^0.70",
"kitType": "app",
"capabilities": [
"animation",
"babel-preset-react-native",
"core",
"core-android",
"core-ios",
"gestures",
"jest",
"masked-view",
"navigation/native",
"navigation/stack",
"react",
"react-test-renderer",
"safe-area",
"screens",
"storage",
"svg",
"webview"
]
}
}