forked from polkadot-js/extension
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
83 lines (83 loc) · 3.96 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
{
"//": "There is a conflict between storybook webpack version and @polkadot/dev webpack version which causes DefinePlugin to crash.",
"author": "Jaco Greeff <[email protected]>",
"bugs": "https://github.com/Cardinal-Cryptography/aleph-zero-wallet-extension/issues",
"homepage": "https://github.com/Cardinal-Cryptography/aleph-zero-wallet-extension#readme",
"license": "Apache-2.0",
"packageManager": "[email protected]",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Cardinal-Cryptography/aleph-zero-wallet-extension.git"
},
"sideEffects": false,
"version": "0.44.8",
"versions": {
"git": "0.44.8",
"npm": "0.44.8"
},
"workspaces": [
"packages/*"
],
"scripts": {
"adapt-build-to-ff": "tsx scripts/adaptBuildToFf.mts",
"build": "yarn download-chains-metadata && polkadot-dev-build-ts && yarn build:zip",
"build-storybook": "storybook build",
"build:extra": "yarn build:i18n && yarn build:ui",
"build:i18n": "i18next-scanner --config i18next-scanner.config.js",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"build:ui": "cd packages/extension && NODE_ENV=production yarn polkadot-exec-webpack --config webpack.extension.cjs --mode production",
"build:zip": "yarn build:zip:dst:chrome && yarn adapt-build-to-ff && yarn build:zip:dst:firefox && yarn build:zip:src",
"build:zip:dst:chrome": "rm -rf ./extension-chrome.zip && cd packages/extension/build && zip -r -FS ../../../extension-chrome.zip .",
"build:zip:dst:firefox": "rm -rf ./extension-firefox.zip && cd packages/extension/build && zip -r -FS ../../../extension-firefox.zip .",
"build:zip:src": "rm -rf ./source-code.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./source-code.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 tsconfig.base.json tsconfig.build.json rollup.config.mjs yarn.lock .yarnrc.yml .yarn/patches .yarn/plugins .yarn/releases scripts",
"clean": "polkadot-dev-clean-build",
"download-chains-metadata": "tsx scripts/downloadMetadata.mts",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"set-signer-version": "tsx scripts/setSignerVersion.mts",
"start": "yarn watch",
"storybook": "storybook dev -p 6006",
"test": "EXTENSION_PREFIX='test' polkadot-dev-run-test --detectOpenHandles",
"test:one": "EXTENSION_PREFIX='test' polkadot-dev-run-test --detectOpenHandles",
"watch": "cd packages/extension && yarn polkadot-exec-webpack --config webpack.watch.cjs --mode development --watch"
},
"dependencies": {
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@polkadot/api": "^10.5.1",
"@polkadot/dev": "^0.67.177",
"@polkadot/util-crypto": "^12.1.2",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-styling": "^1.0.8",
"@storybook/react": "^7.0.12",
"@storybook/react-webpack5": "^7.0.12",
"@storybook/testing-library": "^0.0.14-next.2",
"@types/jest": "^29.2.5",
"@types/zxcvbn": "^4.4.1",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-storybook": "^0.6.12",
"i18next-scanner": "^4.1.0",
"sinon-chrome": "^3.0.1",
"storybook": "^7.0.12",
"tsx": "^4.7.0"
},
"resolutions": {
"@polkadot/api": "^10.5.1",
"@polkadot/dev": "patch:@polkadot/dev@npm:0.67.189#.yarn/patches/@polkadot-dev-npm-0.67.189-c0ab0e7167.patch",
"@polkadot/keyring": "^12.1.2",
"@polkadot/networks": "patch:@polkadot/networks@npm:12.1.2#.yarn/patches/@polkadot-networks-npm-12.1.2-012217f8ff.patch",
"@polkadot/types": "10.5.1",
"@polkadot/util": "^12.1.2",
"@polkadot/util-crypto": "^12.1.2",
"@polkadot/x-fetch": "^12.1.2",
"babel-core": "^7.0.0-bridge.0",
"safe-buffer": "^5.2.1",
"typescript": "^4.9.4",
"webpack": "<5.79"
}
}