-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
133 lines (133 loc) · 5.38 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
{
"author": "[email protected]",
"bugs": "https://github.com/polkagate/extension/issues",
"engines": {
"node": ">=18.18"
},
"homepage": "https://github.com/polkagate/extension#readme",
"license": "Apache-2.0",
"packageManager": "[email protected]",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/polkagate/extension.git"
},
"sideEffects": false,
"type": "module",
"version": "0.47.5",
"versions": {
"git": "0.44.7-9-x",
"npm": "0.44.6"
},
"workspaces": [
"packages/*"
],
"scripts": {
"apply-version": "node -e \"const { execSync } = require('child_process'); const fs = require('fs'); try { const version = execSync('git describe --tags --abbrev=0').toString().trim().replace(/^v/, ''); console.log('Version fetched:', version); const packageJsonPath = './packages/extension/package.json'; const packageJson = JSON.parse(fs.readFileSync(packageJsonPath)); packageJson.version = version; fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); } catch (error) { console.log('No tags found, skipping package.json update'); }\"",
"build": "yarn apply-version && polkadot-dev-build-ts && yarn build:zip && yarn build:rollup",
"build:before": "yarn build:i18n",
"build:i18n": "i18next-scanner --config i18next-scanner.config.cjs",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"build:ui": "cd packages/extension && NODE_ENV=production yarn webpack --config webpack.extension.cjs --mode production",
"build:zip": "yarn build:zip:dst && yarn build:zip:src",
"build:zip:dst": "rm -rf ./master-build.zip && cd packages/extension/build && zip -r -FS ../../../master-build.zip .",
"build:zip:src": "rm -rf ./master-src.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./master-src.zip packages .editorconfig .eslintignore .eslintrc.js babel.config.cjs CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.js jest.config.cjs LICENSE package.json README.md tsconfig.json yarn.lock",
"clean": "polkadot-dev-clean-build",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"prepare": "husky",
"release": "semantic-release",
"start": "yarn watch",
"test": "polkadot-dev-run-test --silent --detectOpenHandles --testPathPattern=packages/extension-polkagate/src --maxWorkers=1",
"test:one": "polkadot-dev-run-test --detectOpenHandles",
"watch": "cd packages/extension && yarn polkadot-exec-webpack --config webpack.watch.cjs --mode development --watch"
},
"dependencies": {
"@acala-network/api": "^6.0.4",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@mui/icons-material": "^5.15.18",
"@mui/lab": "^5.0.0-alpha.85",
"@mui/material": "^5.8.3",
"@polkadot/api": "^14.3.1",
"@polkadot/api-augment": "^14.3.1",
"@polkadot/api-base": "^14.3.1",
"@polkadot/api-contract": "^14.3.1",
"@polkadot/api-derive": "^14.3.1",
"@polkadot/rpc-augment": "^14.3.1",
"@polkadot/rpc-core": "^14.3.1",
"@polkadot/rpc-provider": "^14.3.1",
"@polkadot/types": "^14.3.1",
"@polkadot/types-codec": "^14.3.1",
"@polkadot/types-known": "^14.3.1",
"@polkadot/types-support": "^14.3.1",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@polkagate/apps-config": "^0.140.7",
"@substrate/connect": "^0.7.32",
"@vaadin/icons": "^23.2.3",
"babel-plugin-transform-import-meta": "^2.1.1",
"better-react-spinkit": "^2.0.4",
"chance": "^1.1.11",
"chart.js": "^4.2.1",
"country-flag-icons": "^1.5.9",
"css-loader": "^6.7.3",
"framer-motion": "^11.11.13",
"memoize-one": "^6.0.0",
"qrcode.react": "^3.0.2",
"react-chartjs-2": "^5.2.0",
"react-countup": "^6.5.3",
"react-json-to-table": "^0.1.7",
"react-markdown": "^8.0.7",
"react-tooltip": "^4.2.21",
"react-window": "^1.8.10",
"rehype-raw": "^6.1.1",
"semver": "^7.6.3",
"style-loader": "^3.3.2",
"umi-request": "^1.4.0"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@polkadot/dev": "^0.79.3",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@testing-library/react": "latest",
"@types/chance": "^1.1.6",
"@types/jest": "latest",
"@types/node": "^20.10.5",
"@types/react-spinkit": "^3.0.10",
"dotenv-webpack": "^8.0.1",
"husky": "^9.1.5",
"i18next-scanner": "^4.4.0",
"intersection-observer": "^0.12.0",
"jsdom-worker-fix": "^0.1.8",
"openai": "^4.0.0",
"pinst": "^3.0.0",
"semantic-release": "^24.1.0",
"sinon-chrome": "^3.0.1",
"webpack-bundle-analyzer": "^4.9.0"
},
"resolutions": {
"@polkadot/api": "^14.3.1",
"@polkadot/keyring": "^13.2.3",
"@polkadot/networks": "^13.2.3",
"@polkadot/types": "^14.3.1",
"@polkadot/types-augment": "^14.3.1",
"@polkadot/ui-keyring": "^3.6.6",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@polkadot/x-fetch": "^13.2.3",
"babel-core": "^7.0.0-bridge.0",
"safe-buffer": "^5.2.1",
"typescript": "^5.3.3"
}
}