forked from novasamatech/nova-spektr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
230 lines (225 loc) · 9.61 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
{
"name": "nova-spektr",
"description": "Polkadot Enterprise application",
"version": "1.7.0",
"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\" && watch",
"start:dev": "pnpm clean:build && concurrently \"pnpm start:renderer:dev\" \"pnpm start:main:dev\" && watch",
"start:electron": "electron .",
"start:renderer": "cross-env NODE_ENV=stage CHAINS_FILE=chains pnpm webpack:renderer:stage",
"start:renderer:dev": "cross-env NODE_ENV=development CHAINS_FILE=chains-dev 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 pnpm r clean:prod webpack:renderer:prod webpack:main:prod",
"build:stage": "cross-env NODE_ENV=stage CHAINS_FILE=chains-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:matrix": "jest --config=tests/integrations/jest.config.ts --group=matrix --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",
"lint": "eslint . --ext=js,ts,tsx,json",
"lint:fix": "pnpm lint --fix",
"lint:i18n-locale": "cross-env I18N=true eslint src/renderer/shared/api/translation/locales/ --ext=json --plugin i18n-json",
"lint:i18n-fix": "cross-env I18N=true pnpm lint:i18n-locale --fix",
"lint:i18n-tsx": "cross-env I18N=true eslint . --ext=tsx --ignore-pattern=**/*.test.* --ignore-pattern=**/*.stories.* --plugin i18next",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook",
"update:chains-file": "node scripts/buildChainsJson.js",
"githook:pre-commit": "cross-env NODE_ENV=production lint-staged && tsc -p tsconfig.json",
"githook:pre-push": "cross-env pnpm test -- --changedSince=dev",
"prepare": "husky install",
"r": "pnpm run-s"
},
"engines": {
"node": ">=18.x",
"pnpm": ">=8.x"
},
"dependencies": {
"@apollo/client": "^3.7.1",
"@headlessui/react": "^1.7.17",
"@matrix-org/olm": "^3.2.15",
"@polkadot/api": "^10.11.2",
"@polkadot/keyring": "^12.6.2",
"@polkadot/react-identicon": "^3.6.4",
"@polkadot/rpc-provider": "^10.11.2",
"@polkadot/types": "^10.11.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@remote-ui/rpc": "^1.4.4",
"@substrate/connect": "^0.8.1",
"@substrate/txwrapper-orml": "^7.1.1",
"@substrate/txwrapper-polkadot": "^7.1.1",
"@walletconnect/core": "^2.10.4",
"@walletconnect/sign-client": "^2.10.4",
"@walletconnect/types": "^2.10.4",
"@walletconnect/utils": "^2.10.4",
"@web3modal/react": "^2.7.1",
"@zxing/browser": "^0.1.3",
"@zxing/library": "^0.20.0",
"bignumber.js": "^9.0.2",
"binary-parser": "^2.2.1",
"buffer": "^6.0.3",
"classnames": "^2.3.1",
"crypto-browserify": "^3.12.0",
"date-fns": "^2.29.3",
"dexie": "^3.2.4",
"dexie-react-hooks": "^1.1.6",
"effector": "^23.1.0",
"effector-forms": "2.0.0-next.0",
"effector-react": "^23.1.0",
"electron": "^29.1.1",
"electron-log": "^5.1.2",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.1",
"electron-window-state": "^5.0.3",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"i18next": "^21.8.13",
"lodash": "^4.17.21",
"lottie-react": "^2.4.0",
"matrix-js-sdk": "^30.3.0",
"parity-scale-codec": "^0.6.1",
"patronum": "^2.1.1",
"qr-code-styling": "1.6.0-rc.1",
"qrcode-generator": "^1.4.4",
"raptorq": "^1.7.22",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-hook-form": "^7.33.1",
"react-i18next": "^11.18.0",
"react-router-dom": "^6.4.5",
"stream-browserify": "^3.0.0",
"styled-components": "^5.3.6",
"tailwind-merge": "^1.12.0",
"tailwindcss": "^3.3.5",
"units-css": "^0.4.0",
"yaml": "^2.3.3"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.0.3",
"@electron/notarize": "^2.3.0",
"@headlessui/tailwindcss": "^0.1.2",
"@jest/types": "^29.6.3",
"@playwright/test": "^1.38.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/react": "^6.5.9",
"@svgr/webpack": "^6.2.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.80",
"@swc/helpers": "^0.5.1",
"@swc/jest": "^0.2.34",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.182",
"@types/node": "^18.0.0",
"@types/qrcode": "^1.5.1",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/react-lottie": "^1.2.6",
"@types/request": "^2.48.8",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"autoprefixer": "^10.4.13",
"axios": "^0.28.0",
"babel-loader": "^8.2.5",
"camelcase": "6.3.0",
"child_process": "^1.0.2",
"concurrently": "^7.2.2",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
"electron-builder": "^24.9.1",
"electron-devtools-installer": "^3.2.0",
"electron-react-devtools": "^0.5.3",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-effector": "^0.12.0",
"eslint-plugin-i18n-json": "^4.0.0",
"eslint-plugin-i18next": "6.0.0-2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-unused-imports": "^2.0.0",
"fake-indexeddb": "^4.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.0",
"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",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"nodemon": "^2.0.18",
"npm-run-all": "^4.1.5",
"playwright": "^1.38.0",
"pnpm": "^8.6.11",
"postcss": "^8.4.31",
"postcss-loader": "^7.3.3",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"react-refresh": "^0.14.0",
"regenerator-runtime": "^0.13.9",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"simple-progress-webpack-plugin": "^2.0.0",
"style-loader": "^3.3.1",
"suppress-exit-code": "^1.0.0",
"swc-loader": "^0.2.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typescript": "^4.9.3",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.9.0",
"whatwg-fetch": "^3.6.2"
}
}