-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
248 lines (248 loc) · 10.1 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
247
248
{
"name": "nova-spektr",
"description": "Polkadot Enterprise application",
"version": "1.11.1",
"main": "./release/build/main.js",
"repository": "https://github.com/novasamatech/nova-spektr",
"license": "MIT",
"author": {
"name": "Novasama Technologies"
},
"scripts": {
"start": "pnpm clean:build && concurrently \"pnpm start:renderer\" \"pnpm start:main\" && pnpm watch",
"start:dev": "pnpm clean:build && concurrently \"pnpm start:renderer:dev\" \"pnpm start:main:dev\" && pnpm watch",
"start:electron": "electron .",
"start:renderer": "cross-env NODE_ENV=stage CHAINS_FILE=chains TOKENS_FILE=tokens pnpm webpack:renderer:stage",
"start:renderer:dev": "cross-env NODE_ENV=development CHAINS_FILE=chains-dev TOKENS_FILE=tokens-dev LOGGER=false pnpm webpack:renderer:dev",
"start:main": "cross-env NODE_ENV=stage pnpm r webpack:main:stage start:electron",
"start:main:dev": "cross-env NODE_ENV=development pnpm r webpack:main:dev start:electron",
"watch": "nodemon --watch src/main --ignore src/main/resources --ext \"*\" --exec",
"webpack:renderer:dev": "webpack serve --config webpack/webpack.renderer.dev.ts",
"webpack:renderer:stage": "webpack serve --config webpack/webpack.renderer.stage.ts",
"webpack:renderer:prod": "webpack --config webpack/webpack.renderer.prod.ts",
"webpack:renderer:prod:internal": "webpack --config webpack/webpack.renderer.prod.internal.ts",
"webpack:main:dev": "webpack --config webpack/webpack.main.dev.ts",
"webpack:main:stage": "webpack --config webpack/webpack.main.stage.ts",
"webpack:main:prod": "webpack --config webpack/webpack.main.prod.ts",
"webpack:main:prod:internal": "webpack --config webpack/webpack.main.prod.internal.ts",
"build": "cross-env NODE_ENV=production CHAINS_FILE=chains TOKENS_FILE=tokens pnpm r clean:prod webpack:renderer:prod webpack:main:prod",
"build:stage": "cross-env NODE_ENV=stage CHAINS_FILE=chains-dev TOKENS_FILE=tokens-dev pnpm r clean:prod webpack:renderer:prod:internal webpack:main:prod:internal",
"postbuild": "node scripts/postbuild.js",
"postbuild:stage": "node scripts/postbuild.js stage",
"dist": "cross-env NODE_ENV=production electron-builder -p never",
"dist:stage": "cross-env NODE_ENV=stage electron-builder -p never",
"clean:build": "rimraf release/build",
"clean:prod": "rimraf release/dist",
"stage:sequence": "pnpm r clean:build clean:prod build:stage postbuild:stage dist:stage",
"prod:sequence": "pnpm run clean:build && pnpm run clean:prod && pnpm run build && pnpm run postbuild && pnpm run dist",
"test": "jest --config=jest.config.ts --json --outputFile=jest-unit-results.json",
"test:integration": "jest --config=tests/integrations/jest.config.ts --group=integration --json --outputFile=jest-results.json",
"test:migration": "jest --config=tests/integrations/jest.config.ts --group=migrations --json --outputFile=jest-results.json",
"test:dataVerification": "jest --config=tests/integrations/jest.config.ts --group=dataVerification --json --outputFile=jest-results.json",
"test:coverage": "jest --config=jest.config.ts --coverage --passWithNoTests | tee ./coverage.txt",
"test:coverage-new-files": "jest --config=jest.config.pr.ts --coverage --changedSince=dev ; exitCode=$? ; echo $exitCode | tee ./coverage.txt ; exit $exitCode",
"pretest:system": "npx playwright install",
"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",
"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:webpack": "pnpm lint:generic ./webpack",
"lint:fix": "pnpm lint --fix",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build -o ./release/storybook",
"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": ">=18.x",
"pnpm": ">=9.x"
},
"dependencies": {
"@apollo/client": "3.11.8",
"@headlessui/react": "^1.7.17",
"@polkadot/api": "13.1.1",
"@polkadot/keyring": "13.1.1",
"@polkadot/react-identicon": "3.9.1",
"@polkadot/rpc-provider": "14.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/util": "13.1.1",
"@polkadot/util-crypto": "13.1.1",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-dialog": "1.1.2",
"@radix-ui/react-dropdown-menu": "2.1.2",
"@radix-ui/react-popover": "1.1.2",
"@radix-ui/react-scroll-area": "1.2.0",
"@radix-ui/react-select": "2.1.2",
"@radix-ui/react-slider": "1.2.1",
"@radix-ui/react-tooltip": "1.1.3",
"@react-spring/web": "9.7.5",
"@remote-ui/rpc": "^1.4.4",
"@substrate/connect": "^1.1.0",
"@substrate/txwrapper-orml": "7.5.2",
"@substrate/txwrapper-polkadot": "7.5.2",
"@walletconnect/sign-client": "2.17.1",
"@walletconnect/types": "2.17.1",
"@walletconnect/utils": "2.17.1",
"@zxing/browser": "^0.1.3",
"@zxing/library": "^0.20.0",
"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-react-hooks": "1.1.7",
"effector": "23.2.3",
"effector-forms": "2.0.0-next.1",
"effector-react": "23.2.1",
"electron": "32.2.0",
"electron-log": "5.2.0",
"electron-store": "8.2.0",
"electron-updater": "6.3.9",
"electron-window-state": "5.0.3",
"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",
"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.22",
"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.5.1",
"@electron/notarize": "2.5.0",
"@headlessui/tailwindcss": "^0.1.2",
"@jest/types": "^29.6.3",
"@jonasgeiler/tsc-files": "2.3.1",
"@playwright/test": "^1.44.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@storybook/addon-essentials": "8.3.6",
"@storybook/addon-interactions": "8.3.6",
"@storybook/addon-links": "8.3.6",
"@storybook/addon-styling-webpack": "1.0.0",
"@storybook/addon-webpack5-compiler-swc": "1.0.5",
"@storybook/manager-api": "8.3.6",
"@storybook/react": "8.3.6",
"@storybook/react-webpack5": "8.3.6",
"@storybook/test": "8.3.6",
"@storybook/theming": "8.3.6",
"@svgr/webpack": "8.1.0",
"@swc/core": "1.7.35",
"@swc/helpers": "0.5.13",
"@swc/jest": "0.2.36",
"@testing-library/jest-dom": "6.6.2",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.13",
"@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",
"autoprefixer": "10.4.20",
"axios": "0.28.1",
"camelcase": "6.3.0",
"concurrently": "7.6.0",
"copy-webpack-plugin": "12.0.2",
"cross-env": "^7.0.3",
"css-loader": "7.1.2",
"css-minimizer-webpack-plugin": "7.0.0",
"cssnano-preset-advanced": "7.0.6",
"csstype": "3.1.3",
"electron-builder": "25.1.8",
"electron-devtools-installer": "3.2.0",
"electron-react-devtools": "0.5.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-jest-dom": "5.4.0",
"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",
"file-loader": "6.2.0",
"html-webpack-plugin": "5.6.0",
"husky": "9.1.6",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-runner-groups": "^2.2.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.2.0",
"postcss": "8.4.47",
"postcss-loader": "8.1.1",
"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",
"simple-progress-webpack-plugin": "2.0.0",
"source-map-support": "^0.5.21",
"storybook": "8.3.6",
"style-loader": "4.0.0",
"swc-loader": "0.2.6",
"tailwindcss": "3.4.13",
"tailwindcss-animate": "1.0.7",
"terser-webpack-plugin": "5.3.10",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tsconfig-paths-webpack-plugin": "4.1.0",
"tslib": "2.7.0",
"typescript": "5.6.3",
"webpack": "5.95.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0",
"webpack-merge": "6.0.1",
"whatwg-fetch": "3.6.20"
},
"sideEffects": [
"*.css"
]
}