-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
246 lines (246 loc) · 9.98 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
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
{
"name": "nova-spektr",
"description": "Polkadot Enterprise application",
"type": "module",
"version": "1.13.2",
"main": "./release/build/main.cjs",
"repository": "https://github.com/novasamatech/nova-spektr",
"license": "MIT",
"author": {
"name": "Novasama Technologies"
},
"scripts": {
"config": "node config/bin.js",
"electron": "electron .",
"preview": "cross-env RENDERER_SOURCE=localhost pnpm build:staging && concurrently \"pnpm renderer:preview\" \"pnpm electron\"",
"start": "pnpm r clean:build main:dev preload:dev && concurrently \"pnpm main:dev:watch\" \"pnpm preload:dev:watch\" \"pnpm renderer:dev:watch\" \"pnpm electron\"",
"start:renderer": "pnpm renderer:dev:watch",
"renderer:dev": "cross-env CHAINS_FILE=chains-dev TOKENS_FILE=tokens-dev LOGGER=false vite build -c vite.config.renderer.ts",
"renderer:dev:watch": "cross-env CHAINS_FILE=chains-dev TOKENS_FILE=tokens-dev LOGGER=false vite -c vite.config.renderer.ts",
"renderer:staging": "cross-env CHAINS_FILE=chains TOKENS_FILE=tokens vite build --mode staging -c vite.config.renderer.ts",
"renderer:prod": "cross-env CHAINS_FILE=chains TOKENS_FILE=tokens vite build --mode production -c vite.config.renderer.ts",
"renderer:preview": "vite preview --mode staging --port $(pnpm --silent run config renderer.server.port) -c vite.config.renderer.ts",
"preload:dev": "vite build --mode development -c vite.config.preload.ts",
"preload:dev:watch": "vite build --mode development -c vite.config.preload.ts --watch",
"preload:staging": "vite build --mode staging -c vite.config.preload.ts",
"preload:prod": "vite build --mode production -c vite.config.preload.ts",
"main:dev": "vite build --mode development -c vite.config.main.ts",
"main:dev:watch": "vite build --mode development -c vite.config.main.ts --watch",
"main:staging": "vite build --mode staging -c vite.config.main.ts",
"main:prod": "vite build -c vite.config.main.ts",
"build": "cross-env CHAINS_FILE=chains TOKENS_FILE=tokens pnpm r clean:prod main:prod preload:prod renderer:prod",
"build:dev": "cross-env CHAINS_FILE=chains-dev TOKENS_FILE=tokens-dev pnpm r clean:prod main:dev preload:dev renderer:dev",
"build:staging": "cross-env CHAINS_FILE=chains TOKENS_FILE=tokens pnpm r clean:prod renderer:staging preload:staging main:staging",
"postbuild": "node scripts/postbuild.js",
"postbuild:staging": "node scripts/postbuild.js staging",
"dist": "cross-env NODE_ENV=production electron-builder --config electron-builder.js -p never",
"dist:staging": "cross-env NODE_ENV=staging electron-builder --config electron-builder.js -p never",
"clean:build": "rimraf $(pnpm --silent run config folders.devBuild)",
"clean:prod": "rimraf $(pnpm --silent run config folders.prodBuild)",
"staging:sequence": "pnpm r clean:build clean:prod build:staging postbuild:staging dist:staging",
"prod:sequence": "pnpm r clean:build clean:prod build postbuild dist",
"test": "cross-env POLKADOTJS_DISABLE_ESM_CJS_WARNING=1 vitest run",
"test:ui": "cross-env POLKADOTJS_DISABLE_ESM_CJS_WARNING=1 vitest --ui",
"test:watch": "cross-env POLKADOTJS_DISABLE_ESM_CJS_WARNING=1 vitest",
"test:coverage": "cross-env POLKADOTJS_DISABLE_ESM_CJS_WARNING=1 vitest run --coverage",
"test:coverage-new-files": "cross-env POLKADOTJS_DISABLE_ESM_CJS_WARNING=1 vitest run --coverage --changed dev",
"test:system": "npx playwright test -j 4",
"test:system-generator": "npx playwright codegen --ignore-https-errors https://localhost:3000",
"test:system:ui-mod": "npx playwright test --ui",
"pretest:system": "npx playwright install",
"knip": "knip",
"types": "tsc -p tsconfig.json --noEmit",
"types:files": "tsc-files --noEmit",
"lint:generic": "eslint --cache --cache-location ./node_modules/.cache/eslint",
"lint": "pnpm lint:generic ./src",
"lint:tests": "pnpm lint:generic ./tests",
"lint:fix": "pnpm lint --fix",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build -o $(pnpm --silent run config folders.storybookBuild)",
"update:chains-file": "node scripts/buildChainsJson.js",
"update:tokens-file": "node scripts/buildTokensJson.js",
"githook:pre-commit": "lint-staged --relative",
"prepare": "husky",
"r": "pnpm run-s"
},
"engines": {
"node": ">=20.x <22",
"pnpm": ">=9.x"
},
"dependencies": {
"@apollo/client": "3.11.8",
"@ariakit/react": "0.4.14",
"@headlessui/react": "^1.7.17",
"@polkadot/api": "15.2.1",
"@polkadot/keyring": "13.3.1",
"@polkadot/react-identicon": "3.11.3",
"@polkadot/rpc-provider": "15.2.1",
"@polkadot/types": "15.2.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"@radix-ui/react-accordion": "1.2.2",
"@radix-ui/react-checkbox": "1.1.3",
"@radix-ui/react-dialog": "1.1.4",
"@radix-ui/react-dropdown-menu": "2.1.4",
"@radix-ui/react-popover": "1.1.4",
"@radix-ui/react-progress": "1.1.1",
"@radix-ui/react-scroll-area": "1.2.0",
"@radix-ui/react-select": "2.1.4",
"@radix-ui/react-slider": "1.2.2",
"@radix-ui/react-tabs": "1.1.2",
"@radix-ui/react-tooltip": "1.1.6",
"@react-spring/web": "9.7.5",
"@remote-ui/rpc": "^1.4.4",
"@substrate/connect": "2.1.1",
"@substrate/txwrapper-orml": "7.5.3",
"@substrate/txwrapper-polkadot": "7.5.3",
"@walletconnect/types": "2.17.2",
"@walletconnect/universal-provider": "^2.17.2",
"@walletconnect/utils": "2.17.2",
"@zxing/browser": "0.1.5",
"@zxing/library": "0.21.3",
"bignumber.js": "9.1.2",
"binary-parser": "2.2.1",
"buffer": "6.0.3",
"classnames": "2.5.1",
"crypto-browserify": "3.12.0",
"date-fns": "4.1.0",
"dexie": "3.2.7",
"dexie-export-import": "^4.1.2",
"dexie-react-hooks": "1.1.7",
"effector": "23.2.3",
"effector-forms": "2.0.0-next.1",
"effector-react": "23.2.1",
"effector-storage": "7.1.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"i18next": "23.15.1",
"immer": "10.1.1",
"lodash": "4.17.21",
"lodash-es": "4.17.21",
"lottie-react": "2.4.0",
"mitt": "3.0.1",
"parity-scale-codec": "^0.6.1",
"patronum": "2.2.0",
"qr-code-styling": "1.6.0-rc.1",
"qrcode-generator": "^1.4.4",
"raptorq": "1.7.24",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "4.0.13",
"react-hook-form": "7.53.0",
"react-i18next": "15.0.2",
"react-markdown": "9.0.1",
"react-router-dom": "6.26.2",
"rehype-raw": "7.0.0",
"remark-gfm": "4.0.0",
"stream-browserify": "^3.0.0",
"tailwind-merge": "2.5.2",
"units-css": "0.4.0",
"yaml": "2.5.1",
"zod": "3.23.8"
},
"devDependencies": {
"@babel/core": "7.25.8",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@effector/swc-plugin": "0.6.0",
"@electron/notarize": "2.5.0",
"@headlessui/tailwindcss": "^0.1.2",
"@jonasgeiler/tsc-files": "2.3.1",
"@peterek/vite-plugin-favicons": "2.0.0",
"@playwright/test": "^1.44.1",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/manager-api": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.4.7",
"@storybook/theming": "^8.4.7",
"@svgr/plugin-svgo": "8.1.0",
"@swc/core": "1.9.3",
"@swc/helpers": "0.5.15",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.10",
"@types/node": "18.19.55",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.5",
"@typescript-eslint/eslint-plugin": "8.10.0",
"@typescript-eslint/parser": "8.10.0",
"@vitejs/plugin-react-swc": "3.7.2",
"@vitest/coverage-v8": "2.1.8",
"@vitest/ui": "2.1.8",
"allure-playwright": "3.0.6",
"autoprefixer": "10.4.20",
"camelcase": "6.3.0",
"concurrently": "7.6.0",
"cross-env": "7.0.3",
"cssnano": "7.0.6",
"cssnano-preset-advanced": "7.0.6",
"csstype": "3.1.3",
"electron": "33.3.1",
"electron-builder": "25.1.8",
"electron-devtools-installer": "3.2.1",
"electron-log": "5.2.4",
"electron-react-devtools": "0.5.3",
"electron-store": "8.2.0",
"electron-updater": "6.3.9",
"electron-window-state": "5.0.3",
"eslint": "8.57.1",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-module-utils": "2.12.0",
"eslint-plugin-boundaries": "4.2.2",
"eslint-plugin-effector": "0.14.0",
"eslint-plugin-i18n-json": "4.0.0",
"eslint-plugin-i18next": "6.1.0",
"eslint-plugin-import-x": "4.3.1",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-local-rules": "3.0.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-unused-imports": "4.1.4",
"fake-indexeddb": "4.0.2",
"favicons": "7.2.0",
"happy-dom": "16.3.0",
"husky": "9.1.6",
"identity-obj-proxy": "^3.0.0",
"knip": "5.33.3",
"lint-staged": "13.3.0",
"mini-css-extract-plugin": "2.9.1",
"nodemon": "2.0.22",
"npm-run-all": "^4.1.5",
"playwright": "^1.44.1",
"pnpm": "^9.15.0",
"postcss": "8.4.47",
"prettier": "3.3.3",
"prettier-plugin-css-order": "2.1.2",
"prettier-plugin-jsdoc": "1.3.0",
"prettier-plugin-tailwindcss": "0.6.8",
"pretty-quick": "4.0.0",
"react-refresh": "0.14.2",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.21",
"storybook": "^8.4.7",
"tailwindcss": "3.4.13",
"tailwindcss-animate": "1.0.7",
"ts-node": "10.9.2",
"tslib": "2.7.0",
"typescript": "5.6.3",
"vite": "6.0.7",
"vite-plugin-compression2": "1.3.3",
"vite-plugin-mkcert": "1.17.6",
"vite-plugin-node-polyfills": "0.22.0",
"vite-plugin-svgr": "4.3.0",
"vite-plugin-target": "0.1.1",
"vite-tsconfig-paths": "5.1.4",
"vitest": "2.1.8",
"whatwg-fetch": "3.6.20"
},
"sideEffects": [
"*.css"
]
}