forked from aldrin-labs/spl-token-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
279 lines (279 loc) · 10.3 KB
/
Copy pathpackage.json
File metadata and controls
279 lines (279 loc) · 10.3 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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
{
"name": "svmseek-wallet",
"version": "0.1.0",
"private": true,
"description": "SVMSeek Wallet - Secure Solana wallet for SPL tokens and DeFi applications",
"homepage": "https://opensvm.github.io/svmseek",
"author": {
"name": "OpenSVM",
"email": "dev@opensvm.com"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"dependencies": {
"@coral-xyz/anchor": "^0.31.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@ledgerhq/hw-transport-webhid": "^6.30.4",
"@ledgerhq/hw-transport-webusb": "^6.29.8",
"@mui/icons-material": "^7.2.0",
"@mui/material": "^7.2.0",
"@mui/styles": "^6.4.8",
"@project-serum/anchor": "^0.26.0",
"@project-serum/serum": "^0.13.65",
"@solana/spl-token-registry": "^0.2.4574",
"@solana/web3.js": "^1.98.2",
"@types/uuid": "^10.0.0",
"argon2-browser": "^1.18.0",
"assert": "^2.1.0",
"bip32": "^4.0.0",
"bip39": "^3.1.0",
"bn.js": "^5.2.2",
"bs58": "^6.0.0",
"buffer": "^6.0.3",
"buffer-layout": "^1.2.2",
"clipboard-copy": "^4.0.1",
"crypto-browserify": "^3.12.1",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"ed25519-hd-key": "^1.3.0",
"i18next": "^25.3.2",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-http-backend": "^3.0.2",
"immutable-tuple": "^0.4.10",
"mdi-material-ui": "^7.9.4",
"notistack": "^3.0.2",
"os": "^0.1.2",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"qrcode.react": "^4.2.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-helmet": "^6.1.0",
"react-i18next": "^15.6.1",
"react-is": "^19.1.1",
"react-router-dom": "^7.7.1",
"scrypt-js": "^3.0.1",
"stream-browserify": "^3.0.0",
"styled-components": "^6.1.19",
"svm-pay": "^1.1.0",
"tiny-secp256k1": "^2.2.4",
"tweetnacl": "^1.0.3",
"url": "^0.11.4",
"util": "^0.12.5",
"uuid": "^11.1.0",
"vm-browserify": "^1.1.2",
"web3": "^4.16.0"
},
"scripts": {
"predeploy": "git pull --ff-only && yarn && yarn build",
"deploy": "gh-pages -d build",
"deploy:github-pages": "cross-env PUBLIC_URL=/svmseek yarn build && gh-pages -d build",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.js\" \"extension/src/*.js\" --write",
"start": "vite",
"build": "vite build",
"preview": "vite preview",
"build:analyze": "yarn build && node scripts/analyze-bundle.js",
"buildMaster": "cross-env MASTER_BUILD=TRUE vite build",
"build:extension": "yarn build && yarn build:extension-chrome && yarn build:extension-firefox && yarn build:extension-safari && yarn build:extension-edge",
"build:extension-all": "./build-extensions.sh",
"build:extension-enhanced": "./scripts/build-extensions.sh",
"build:web-deploy": "./scripts/build-web.sh",
"build:mobile-all": "./scripts/build-mobile.sh",
"build:native-windows": "./scripts/build-native-windows.sh",
"build:native-linux": "./scripts/build-native-linux.sh",
"build:native-macos": "./scripts/build-native-macos.sh",
"build:native-all": "./scripts/build-native-all.sh",
"build:all-platforms": "./scripts/build-all-platforms.sh",
"build:extension-chrome": "mkdir -p ./extension/chrome/build && cp -a ./build/. ./extension/chrome/build/ && cp -a ./extension/src/. ./extension/chrome/build/ && cp ./extension/chrome/manifest.json ./extension/chrome/build/manifest.json",
"build:extension-firefox": "mkdir -p ./extension/firefox/build && cp -a ./build/. ./extension/firefox/build/ && cp -a ./extension/src/. ./extension/firefox/build/ && cp ./extension/firefox/manifest.json ./extension/firefox/build/manifest.json",
"build:extension-safari": "mkdir -p ./extension/safari/build && cp -a ./build/. ./extension/safari/build/ && cp -a ./extension/src/. ./extension/safari/build/ && cp ./extension/safari/manifest.json ./extension/safari/build/manifest.json",
"build:extension-edge": "mkdir -p ./extension/edge/build && cp -a ./build/. ./extension/edge/build/ && cp -a ./extension/src/. ./extension/edge/build/ && cp ./extension/edge/manifest.json ./extension/edge/build/manifest.json",
"build:extension-scripts": "cp -a ./extension/src/. ./extension/build/.",
"build:android": "npx cap build android",
"sync:android": "npx cap sync android",
"cap:init": "npx cap init",
"cap:add-android": "npx cap add android",
"test": "vitest",
"test:e2e": "npx playwright test --config=playwright.simple.config.ts",
"test:e2e-headed": "npx playwright test --config=playwright.simple.config.ts --headed",
"test:e2e-ui": "npx playwright test --config=playwright.simple.config.ts --ui",
"test:all-pages": "npx playwright test e2e/comprehensive-all-pages.spec.ts --reporter=html",
"test:all-pages-quick": "npx playwright test e2e/comprehensive-all-pages.spec.ts --grep \"should load.*correctly\" --reporter=list --timeout=15000",
"test:realnet": "REALNET_TESTS=true playwright test realnet-integration.spec.ts",
"test:realnet-headed": "REALNET_TESTS=true playwright test realnet-integration.spec.ts --headed",
"test:comprehensive": "./scripts/run-comprehensive-e2e.sh",
"test:comprehensive-production": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/comprehensive-production.spec.ts --reporter=html",
"test:individual-pages": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/individual-pages.spec.ts --reporter=html",
"test:cross-browser": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/cross-browser.spec.ts --reporter=html",
"test:production-all": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/comprehensive-production.spec.ts e2e/individual-pages.spec.ts e2e/cross-browser.spec.ts --reporter=html",
"test:accessibility": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/comprehensive-production.spec.ts --grep=\"Accessibility\" --reporter=html",
"test:responsive": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/comprehensive-production.spec.ts --grep=\"Responsive\" --reporter=html",
"test:performance": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/comprehensive-production.spec.ts --grep=\"Performance\" --reporter=html",
"test:visual-regression": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/visual-regression.spec.ts --reporter=html",
"test:advanced-performance": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/advanced-performance.spec.ts --reporter=html",
"test:mobile-ux": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/mobile-ux-enhancement.spec.ts --reporter=html",
"test:error-boundary": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/comprehensive-error-boundary.spec.ts --reporter=html",
"test:enhanced-all": "PLAYWRIGHT_BASE_URL=https://svmseek.com npx playwright test e2e/visual-regression.spec.ts e2e/advanced-performance.spec.ts e2e/mobile-ux-enhancement.spec.ts e2e/comprehensive-error-boundary.spec.ts --reporter=html",
"playwright:install": "playwright install",
"eject": "react-scripts eject"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"webextensions": true
},
"extends": [
"react-app"
]
},
"jest": {
"transformIgnorePatterns": [
"^.+\\.cjs$"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"husky": {
"hooks": {
"pre-commit": "git-format-staged -f 'prettier --stdin-filepath \"{}\"' src/*.js"
}
},
"devDependencies": {
"@capacitor/android": "^7.4.2",
"@capacitor/cli": "^7.4.2",
"@capacitor/core": "^7.4.2",
"@playwright/test": "^1.54.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/bn.js": "^5.2.0",
"@types/chrome": "^0.1.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.1.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-legacy": "^7.2.1",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/ui": "^3.2.4",
"cross-env": "^10.0.0",
"csstype": "^3.1.3",
"electron": "^37.2.4",
"electron-builder": "^26.0.12",
"electron-is-dev": "^3.0.1",
"gh-pages": "^6.3.0",
"git-format-staged": "^3.1.1",
"husky": "^9.1.7",
"jsdom": "^26.1.0",
"playwright": "^1.54.1",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"serve": "^14.2.4",
"terser": "^5.36.0",
"typescript": "^5.8.3",
"vite": "^7.1.2",
"vite-plugin-node-polyfills": "^0.24.0",
"vite-plugin-top-level-await": "^1.6.0",
"vite-plugin-wasm": "^3.5.0",
"vitest": "^3.2.4"
},
"main": "public/electron.js",
"build": {
"appId": "com.svmseek.wallet",
"productName": "SVMSeek Wallet",
"copyright": "Copyright © 2024 SVMSeek",
"directories": {
"buildResources": "assets"
},
"files": [
"build/**/*",
"public/electron.js",
"node_modules/**/*"
],
"mac": {
"category": "public.app-category.finance",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
{
"target": "portable",
"arch": [
"x64",
"ia32"
]
}
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "rpm",
"arch": [
"x64"
]
}
],
"category": "Finance"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"resolutions": {
"elliptic": "6.6.1"
}
}