-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 5.05 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
{
"name": "sporran-extension",
"private": true,
"version": "1.0.0",
"description": "KILT browser extension, to manage identities and send / receive tokens.",
"license": "BSD-4-Clause",
"homepage": "https://github.com/KILTprotocol/sporran-extension",
"keywords": [
"kilt",
"cryptocurrency",
"blockchain",
"polkadot",
"substrate",
"webextension",
"browser-extension"
],
"repository": {
"type": "git",
"url": "[email protected]:KILTprotocol/sporran-extension.git"
},
"bugs": {
"url": "https://github.com/KILTprotocol/sporran-extension/issues"
},
"type": "module",
"engines": {
"node": ">= 20.18.1"
},
"scripts": {
"build": "env NODE_ENV=production webpack",
"build-internal": "env VARIANT=internal NODE_ENV=production webpack",
"package": "cd dist && web-ext build --overwrite-dest",
"dev": "env VARIANT=internal NODE_ENV=development webpack --watch",
"dev-public": "env VARIANT=public NODE_ENV=development webpack --watch",
"identity": "node -e \"console.log(require('@polkadot/util-crypto').mnemonicGenerate())\"",
"test": "node --no-compilation-cache --expose-gc node_modules/.bin/jest --logHeapUsage",
"test-size": "bundlewatch --config bundlewatch.config.json",
"lint": "yarn run lint-css --formatter github && yarn run lint-js",
"lint-js": "eslint --fix --max-warnings 0 --config ./.eslintrc.json \"src/**/*.ts*\"",
"lint-css": "stylelint --max-warnings 0 \"src/**/*.css\"",
"css": "tcm --namedExports --pattern 'src/**/*.module.css' && eslint --fix --config ./.eslintrc.json \"src/**/*.css.d.ts\"",
"prettify": "prettier --write \"src/**/*.ts*\" \"src/**/*.css*\"",
"storybook": "storybook dev --port 6006",
"open-firefox": "web-ext run --source-dir dist",
"open-chrome": "node scripts/chrome-launch.js",
"version": "BEFORE=$(jq --raw-output .version src/static/manifest.json) && AFTER=$(date +%Y.%-m.%-d) && grep --files-with-matches --recursive $BEFORE src | xargs sed --in-place \"s/$BEFORE/$AFTER/g\" && git checkout -b version-bump && git commit --all --message=\"Version $AFTER\""
},
"dependencies": {
"@kiltprotocol/sdk-js": "^0.35.0",
"@polkadot/extension-inject": "^0.55.1",
"@polkadot/keyring": "^12.6.2",
"@polkadot/types": "^10.11.2",
"@polkadot/ui-shared": "^3.11.3",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-textdecoder": "^12.6.2",
"@polkadot/x-textencoder": "^12.6.2",
"bn.js": "^5.2.1",
"classnames": "^2.5.1",
"ky": "^1.7.3",
"lodash-es": "^4.17.21",
"qrcode.react": "^3.2.0",
"react": "^18.3.1",
"react-accessible-dropdown-menu-hook": "^4.0.0",
"react-dialog-polyfill": "^1.3.0",
"react-dom": "^18.3.1",
"react-router-dom": "^5.3.4",
"swr": "^2.2.5",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@storybook/addon-actions": "^7.6.20",
"@storybook/addon-controls": "^7.6.20",
"@storybook/addon-styling": "^1.3.7",
"@storybook/addon-toolbars": "^7.6.20",
"@storybook/addon-viewport": "^7.6.20",
"@storybook/react": "^7.6.20",
"@storybook/react-webpack5": "^7.6.20",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/ed2curve": "^0.2.4",
"@types/jest": "^29.5.14",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"@types/react-router-dom": "^5.3.3",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-core": "^6.26.3",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"bundlewatch": "^0.4.0",
"chrome-extension-i18n-shim": "^1.0.0",
"chrome-launch": "^1.1.4",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"dialog-polyfill": "^0.5.6",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-storybook": "^0.11.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"prettier": "^3.4.2",
"react-router": "^5.3.4",
"storybook": "^7.6.20",
"style-loader": "^4.0.0",
"stylelint": "^16.11.0",
"stylelint-config-css-modules": "^4.4.0",
"stylelint-config-standard": "^36.0.1",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"typed-css-modules": "^0.9.1",
"typescript": "^5.7.2",
"typescript-plugin-css-modules": "^5.1.0",
"web-ext": "^8.3.0",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-extension-reloader": "^1.1.4",
"webpack-merge": "^6.0.1"
},
"packageManager": "[email protected]"
}