forked from Setheum-Labs/setheum-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 5.36 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
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/setheum-js/console/issues",
"description": "An Apps portal into the Polkadot network",
"homepage": "https://setheum-js.github.io/console",
"license": "Apache-2",
"name": "polkadot-apps",
"packageManager": "yarn@3.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/setheum-js/console.git"
},
"sideEffects": false,
"version": "0.98.2-121",
"workspaces": [
"packages/*"
],
"main": "packages/apps-electron/build/electron.js",
"scripts": {
"analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/main.*.js",
"build": "yarn run build:i18n && yarn run build:code",
"build:code": "NODE_ENV=production yarn polkadot-dev-build-ts",
"build:devElectronMain": "cd packages/apps-electron && yarn webpack --config webpack.main.cjs",
"build:devElectronRenderer": "cd packages/apps-electron && yarn webpack --config webpack.renderer.cjs",
"build:electron": "yarn clean:electronBuild && yarn build:electronMain && yarn build:electronRenderer",
"build:electronMain": "cd packages/apps-electron && NODE_ENV=production yarn webpack --config webpack.main.cjs",
"build:electronRenderer": "cd packages/apps-electron && NODE_ENV=production yarn webpack --config webpack.renderer.cjs",
"build:i18n": "i18next-scanner --config i18next-scanner.config.cjs && node ./scripts/i18nSort.cjs",
"build:release:electron": "yarn build && yarn build:electron && yarn postinstall:electron",
"build:release:ghpages": "yarn polkadot-ci-ghact-docs",
"build:release:ipfs": "node scripts/ipfsUpload.mjs",
"build:release:www": "yarn polkadot-ci-ghact-build && yarn build:release:ghpages && yarn build:release:ipfs",
"build:robohash": "node scripts/robohash.cjs",
"build:www": "rm -rf packages/apps/build && mkdir -p packages/apps/build && yarn run build:i18n && cd packages/apps && yarn webpack --config webpack.config.cjs",
"ci:chainEndpoints": "polkadot-dev-run-test --silent packages/apps-config/src/ci/chainEndpoints",
"ci:chainTypes": "polkadot-dev-run-test --silent packages/apps-config/src/ci/chainTypes",
"clean": "polkadot-dev-clean-build",
"clean:electronBuild": "cd packages/apps-electron && polkadot-dev-clean-build",
"clean:electronRelease": "cd packages/apps-electron && rm -rf release",
"clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
"docs": "echo \"skipping docs\"",
"lint": "polkadot-dev-run-lint",
"packElectron": "yarn build:release:electron && yarn clean:electronRelease && electron-builder build -mwl",
"packElectron:linux": "yarn build:release:electron && electron-builder build --linux",
"packElectron:mac": "yarn build:release:electron && electron-builder build --mac",
"packElectron:test": "yarn build:release:electron && electron-builder --dir",
"packElectron:win": "yarn build:release:electron && electron-builder build --win",
"postinstall": "polkadot-dev-yarn-only",
"postinstall:electron": "electron-builder install-app-deps",
"start": "yarn clean && cd packages/apps && yarn webpack-cli serve --config webpack.serve.cjs --port 3000",
"start:electron": "yarn clean:electronBuild && concurrently 'yarn build:devElectronMain && cd packages/apps-electron && electron ./build/electron.js' 'yarn build:devElectronRenderer'",
"test": "polkadot-dev-run-test --runInBand --testPathIgnorePatterns slow --testNamePattern='^((?!--SLOW--).)*$'",
"test:all": "polkadot-dev-run-test --runInBand --config ./jest-slow.config.cjs",
"test:one": "polkadot-dev-run-test",
"test:skipped": "echo 'tests skipped'"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@crustio/crust-pin": "^1.0.0",
"@pinata/sdk": "^1.1.23",
"@polkadot/dev": "^0.63.33",
"@polkadot/ts": "^0.4.15",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.34",
"@types/file-saver": "^2.0.4",
"@types/jest": "^27.0.2",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.2",
"@types/store": "^2.0.2",
"@types/styled-components": "^5.1.15",
"@types/styled-theming": "^2.2.5",
"concurrently": "^6.4.0",
"devtron": "^1.4.0",
"dnslink-cloudflare": "^3.0.0",
"electron": "^12.2.3",
"electron-builder": "22.14.7",
"electron-builder-notarize": "^1.2.0",
"i18next-scanner": "^3.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"source-map-explorer": "^2.5.2",
"styled-components": "^5.3.3",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1"
},
"resolutions": {
"@polkadot/api": "^6.10.3",
"@polkadot/api-contract": "^6.10.3",
"@polkadot/hw-ledger": "^8.0.4",
"@polkadot/keyring": "^8.0.4",
"@polkadot/networks": "^8.0.4",
"@polkadot/phishing": "^0.6.482",
"@polkadot/rpc-provider": "^6.10.3",
"@polkadot/types": "^6.10.3",
"@polkadot/types-known": "^6.10.3",
"@polkadot/types-support": "^6.10.3",
"@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^8.0.4",
"@polkadot/wasm-crypto": "^4.4.1",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.3.1",
"typescript": "^4.5.2"
}
}