forked from Eclipse-Laboratories-Inc/eclipse-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·174 lines (174 loc) · 7.72 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
{
"name": "salmon-app",
"version": "0.4.2",
"private": true,
"license": "GPL-3.0-only",
"dependencies": {
"@babel/preset-env": "^7.24.0",
"@babel/preset-flow": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@bonfida/spl-name-service": "^1.1.1",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@mui/material": "^5.10.4",
"@react-native-clipboard/clipboard": "^1.11.0",
"@react-navigation/bottom-tabs": "^6.3.3",
"@react-navigation/native": "^6.0.12",
"@react-navigation/native-stack": "^6.8.0",
"@silvermine/serverless-plugin-cloudfront-lambda-edge": "^2.2.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@testing-library/user-event": "^13.5.0",
"assert": "^2.0.0",
"aws-sdk": "^2.1281.0",
"babel-plugin-module-resolver": "^5.0.0",
"bip32": "^4.0.0",
"bip39": "^3.1.0",
"bitcoinjs-lib": "^6.1.4",
"bitcore-lib": "^10.0.11",
"browserify-zlib": "^0.2.0",
"bs58": "^5.0.0",
"crypto-browserify": "^3.12.0",
"deprecated-react-native-prop-types": "^2.3.0",
"ed25519-hd-key": "^1.3.0",
"file": "^0.2.2",
"i18next": "^21.9.1",
"jsc-android": "^250230.2.1",
"keen-slider": "^6.8.3",
"metro-config": "^0.72.2",
"moment": "^2.29.4",
"patch-package": "^6.4.7",
"postcss-normalize": "^10.0.1",
"process": "^0.11.10",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-content-loader": "^6.2.0",
"react-dom": "^18.2.0",
"react-ga": "^3.3.1",
"react-ga4": "^1.4.1",
"react-i18next": "^11.18.5",
"react-idle-timer": "^5.4.2",
"react-native": "^0.70.5",
"react-native-bootsplash": "^4.3.2",
"react-native-camera": "^4.2.1",
"react-native-crypto-js": "^1.0.0",
"react-native-encrypted-storage": "^4.0.2",
"react-native-fast-crypto": "^2.2.0",
"react-native-paper": "^4.12.4",
"react-native-paper-dropdown": "^1.0.7",
"react-native-permissions": "^3.6.0",
"react-native-qrcode-scanner": "^1.5.5",
"react-native-qrcode-svg": "^6.1.2",
"react-native-reanimated": "^3.5.4",
"react-native-safe-area-context": "^4.3.3",
"react-native-screens": "^3.17.0",
"react-native-snackbar": "^2.4.0",
"react-native-snap-carousel": "^3.9.1",
"react-native-svg": "^12.4.3",
"react-native-toast-message": "^2.1.5",
"react-native-url-polyfill": "^1.3.0",
"react-native-user-inactivity": "^1.2.0",
"react-native-vector-icons": "^9.1.0",
"react-native-web": "^0.18.9",
"react-native-web-hover": "^0.2.9",
"react-router-dom": "6",
"react-scripts": "^5.0.1",
"salmon-wallet-standard": "^0.0.6",
"serverless": "^3.25.1",
"serverless-s3-sync": "^3.1.0",
"simple-uniswap-sdk": "^3.7.0",
"stream-browserify": "^3.0.0",
"tweetnacl": "^1.0.3",
"typescript": "^5.2.2",
"util": "^0.12.4",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"babel-jest": "^26.6.3",
"buffer": "^6.0.3",
"customize-cra": "^1.0.0",
"esbuild": "^0.15.12",
"events": "^3.3.0",
"https-browserify": "^1.0.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.73.3",
"os-browserify": "^0.3.0",
"path": "^0.12.7",
"postinstall-postinstall": "^2.1.0",
"react-app-rewired": "2.x",
"react-native-get-random-values": "^1.8.0",
"react-test-renderer": "18.1.0",
"react-zlib-js": "^1.0.5",
"rimraf": "^3.0.2",
"stream-http": "^3.2.0",
"url": "^0.11.0"
},
"overrides": {
"node-fetch": "^2.6.7",
"nth-check": "^2.0.1",
"minimatch": "^3.0.5",
"jpeg-js": "^0.4.4",
"cross-fetch": "^3.1.5"
},
"scripts": {
"start:web": "react-app-rewired start",
"start:web:main": "REACT_APP_SALMON_ENV=main react-app-rewired start",
"start:web:prod": "REACT_APP_SALMON_ENV=production react-app-rewired start",
"build:ios": "react-native bundle --entry-file='./src/index.native.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'",
"build": "react-app-rewired build",
"build:develop": "REACT_APP_SALMON_ENV=development npm run build",
"build:main": "REACT_APP_SALMON_ENV=main npm run build",
"build:prod": "REACT_APP_SALMON_ENV=production npm run build",
"build:extension:chrome": "rm -rf build-extension && CI=false BUILD_PATH=./build-extension REACT_APP_IS_EXTENSION=true GENERATE_SOURCEMAP=false react-app-rewired build && esbuild ./extension/src/background.js ./extension/src/contentscript.js ./extension/src/script.js --bundle --minify --target=chrome58 --outdir=./build-extension && cp -a ./extension/src/manifest.json ./build-extension/manifest.json",
"build:extension:mozilla": "rm -rf build-extension-mozilla && CI=false BUILD_PATH=./build-extension-mozilla REACT_APP_IS_EXTENSION=true GENERATE_SOURCEMAP=false react-app-rewired build && esbuild ./extension/src/background.js ./extension/src/contentscript.js ./extension/src/script.js --bundle --minify --target=firefox57 --outdir=./build-extension-mozilla && cp -a ./extension/src/manifest.mozilla.json ./build-extension-mozilla/manifest.json",
"build:extension": "npm run build:extension:chrome && npm run build:extension:mozilla",
"upload:bundle:mozilla:develop": "aws s3 sync ./build-extension-mozilla s3://salmon-extensions/develop/mozilla/",
"upload:bundle:mozilla:main": "aws s3 sync ./build-extension-mozilla s3://salmon-extensions/main/mozilla/",
"upload:bundle:mozilla": "aws s3 sync ./build-extension-mozilla s3://salmon-extensions/prod/mozilla/",
"upload:bundle:chrome:develop": "aws s3 sync ./build-extension s3://salmon-extensions/develop/chrome/",
"upload:bundle:chrome:main": "aws s3 sync ./build-extension s3://salmon-extensions/main/chrome/",
"upload:bundle:chrome": "aws s3 sync ./build-extension s3://salmon-extensions/prod/chrome/",
"upload:bundle:develop": "npm run upload:bundle:chrome:develop && npm run upload:bundle:mozilla:develop",
"upload:bundle:main": "npm run upload:bundle:chrome:main && npm run upload:bundle:mozilla:main",
"upload:bundle": "npm run upload:bundle:chrome && npm run upload:bundle:mozilla",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"start:packager": "react-native start",
"start:android": "react-native run-android",
"start:ios": "react-native run-ios",
"start:native": "react-native start",
"test:native": "jest",
"postinstall": "yarn patch-package",
"login:4m": "aws codeartifact login --tool npm --repository npm-modules --domain four-m --domain-owner 363894166745 --namespace '@4m' --profile salmon --region us-east-1",
"apk:bundle": "rimraf android/app/build/* && react-native bundle --platform android --dev false --entry-file src/index.native.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res --reset-cache",
"apk:assemble": "cd ./android && ./gradlew assembleDebug",
"serverless:remove:main": "serverless remove --stage main",
"serverless:deploy:main": "serverless deploy --stage main",
"serverless:remove:develop": "serverless remove --stage develop",
"serverless:deploy:develop": "serverless deploy --stage develop",
"serverless:remove": "serverless remove --stage prod",
"serverless:deploy": "serverless deploy --stage prod"
},
"browser": {
"stream": "stream-browserify",
"crypto": "crypto-browserify"
},
"browserslist": {
"production": [
"chrome >= 67",
"edge >= 79",
"firefox >= 68",
"opera >= 54",
"safari >= 14"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}