forked from polkadot-js/extension
-
Notifications
You must be signed in to change notification settings - Fork 66
/
package.json
122 lines (122 loc) · 6.57 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
{
"author": "Koni Studio",
"bugs": "https://github.com/Koniverse/Subwallet-V2/issues",
"homepage": "https://github.com/Koniverse/Subwallet-V2#readme",
"license": "Apache-2.0",
"packageManager": "yarn@3.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Koniverse/Subwallet-V2.git"
},
"sideEffects": false,
"version": "1.3.6",
"workspaces": [
"packages/*"
],
"bin": {
"koni-ci-build-dev": "./scripts/koni-ci-build-dev.mjs",
"koni-ci-build-i18n": "./scripts/koni-ci-build-i18n.mjs",
"koni-ci-build-webapp": "./scripts/koni-ci-build-webapp.mjs",
"koni-ci-ghact-build": "./scripts/koni-ci-ghact-build.mjs",
"koni-ci-mv3-firefox": "./scripts/koni-ci-mv3-firefox.mjs",
"koni-ci-webapp-update-build-number": "./scripts/koni-ci-webapp-update-build-number.mjs",
"koni-dev-build-ts": "./scripts/koni-dev-build-ts.mjs"
},
"scripts": {
"build": "koni-dev-build-ts && yarn build:zip && yarn build:rollup",
"build:extra": "yarn build:i18n && yarn build:ui",
"build:i18n": "koni-ci-build-i18n",
"build:koni-dev": "koni-ci-build-dev",
"build:koni-webapp": "koni-ci-build-webapp",
"build:release": "koni-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"build:ui": "cd packages/extension-koni && NODE_ENV=production yarn webpack --config webpack.extension.cjs --mode production",
"build:zip": "yarn build:zip:dst && yarn build:zip:dst-ff && yarn build:zip:src",
"build:zip:dst": "rm -rf ./master-build.zip && cd packages/extension-koni/build && zip -r -FS ../../../master-build.zip .",
"build:zip:dst-ff": "rm -rf ./master-build-firefox.zip && cd packages/extension-koni/build-firefox && zip -r -FS ../../../master-build-firefox.zip .",
"build:zip:src": "rm -rf ./master-src.zip && zip -r -x '*build/*' -x '*build-firefox/*' -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 && rm -rf packages/extension-koni/build-firefox",
"dev": "yarn watch-dev",
"dev:firefox": "cd packages/extension-koni && yarn polkadot-exec-webpack --config webpack.config-firefox.cjs --mode development --watch -d inline-source-map",
"lint": "polkadot-dev-run-lint",
"lint:changes": "git diff --name-only | grep -E '.(js|ts|tsx)$' | xargs eslint --fix",
"postinstall": "polkadot-dev-yarn-only && patch-package",
"start": "yarn watch",
"test": "polkadot-dev-run-test --detectOpenHandles --testPathIgnorePatterns='/node_modules/|.*/ignore-.*\\.(test|spec)\\..*'",
"test:one": "polkadot-dev-run-test --detectOpenHandles",
"update:polkadot-libs": "yarn up @polkadot/api @polkadot/rpc-provider @polkadot/api-contract @polkadot/networks @polkadot/types @polkadot/types-augment @polkadot/util @polkadot/util-crypto @polkadot/api-derive @polkadot/apps-config @polkadot/ui-settings @polkadot/hw-ledger @polkadot/phishing @polkadot/util @polkadot/util-crypto",
"update:subwallet-libs": "yarn up @subwallet/chain-list @subwallet/keyring @subwallet/ui-keyring",
"watch": "cd packages/extension-koni && yarn polkadot-exec-webpack --config webpack.config.cjs --mode development --watch",
"watch-dev": "cd packages/extension-koni && yarn polkadot-exec-webpack --config webpack.config.cjs --mode development --watch -d inline-source-map",
"web-runner:build": "cd packages/web-runner && rm -rf ./build && yarn webpack --config webpack.config.cjs --mode production",
"web-runner:build-zip": "yarn web-runner:build && cd packages/web-runner && zip -r -FS ./web-runner.zip ./build && mv ./web-runner.zip ./build",
"web-runner:dev": "cd packages/web-runner && yarn webpack-dev-server --config webpack.config.cjs --mode development -d inline-source-map",
"web-runner:publish": "gh-pages --dist 'packages/web-runner/build' --branch 'webapp-publish'",
"web-runner:watch": "cd packages/web-runner && yarn webpack-dev-server --config webpack.config.cjs --mode development",
"webapp:build": "cd packages/webapp && rm -rf ./build && yarn webpack --config webpack.config.cjs --mode production -d inline-source-map",
"webapp:change-build-number": "node scripts/koni-ci-webapp-update-build-number.mjs",
"webapp:deploy": "yarn webapp:build && gh-pages --dist 'packages/webapp/build' --branch 'webapp-publish'",
"webapp:dev": "cd packages/webapp && yarn webpack-dev-server --config webpack.config.cjs --mode development -d inline-source-map",
"webapp:publish": "gh-pages --dist 'packages/webapp/build' --branch 'webapp-publish'",
"webapp:watch": "cd packages/webapp && yarn webpack-dev-server --config webpack.config.cjs --mode development"
},
"dependencies": {
"@types/node": "^17.0.10",
"dexie": "^3.2.2",
"loglevel": "^1.8.1",
"react-markdown": "^9.0.1",
"remark-gfm": "^4.0.0",
"typescript": "^4.5.4"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@polkadot/dev": "^0.65.23",
"@types/jest": "^29.5.0",
"axios": "^1.6.2",
"discord-webhook-node": "^1.1.8",
"i18next-scanner": "^4.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"sinon-chrome": "^3.0.1"
},
"resolutions": {
"@ethereumjs/common": "^4.1.0",
"@ethereumjs/tx": "^5.1.0",
"@google/model-viewer": "3.1.1",
"@ledgerhq/hw-app-eth": "6.33.4",
"@ledgerhq/hw-transport": "6.30.3",
"@mangata-finance/type-definitions": "2.1.2",
"@polkadot/api": "^12.0.2",
"@polkadot/api-augment": "^12.0.2",
"@polkadot/api-base": "^12.0.2",
"@polkadot/api-contract": "^12.0.2",
"@polkadot/api-derive": "^12.0.2",
"@polkadot/networks": "^12.6.2",
"@polkadot/rpc-augment": "^12.0.2",
"@polkadot/rpc-core": "^12.0.2",
"@polkadot/rpc-provider": "^12.0.2",
"@polkadot/types": "^12.0.2",
"@polkadot/types-codec": "^12.0.2",
"@polkadot/types-known": "^12.0.2",
"@polkadot/types-support": "^12.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@subwallet/chain-list": "0.2.93",
"@subwallet/keyring": "^0.1.8-beta.0",
"@subwallet/react-ui": "5.1.2-b79",
"@subwallet/ui-keyring": "0.1.8-beta.0",
"@zondax/ledger-substrate": "0.44.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.3.1",
"browserify-sign": "^4.2.2",
"http-cache-semantics": "^4.1.1",
"jest": "^29.5.0",
"rxjs": "^7.8.1",
"safe-buffer": "^5.2.1",
"typescript": "^4.8.4"
}
}