forked from interlay/interbtc-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
203 lines (203 loc) · 7.14 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"name": "interbtc-ui",
"version": "2.40.1",
"private": true,
"dependencies": {
"@craco/craco": "^6.1.1",
"@headlessui/react": "^1.1.1",
"@heroicons/react": "^2.0.18",
"@interlay/bridge": "^0.4.1",
"@interlay/interbtc-api": "2.5.1",
"@interlay/monetary-js": "0.7.3",
"@polkadot/api": "10.9.1",
"@polkadot/extension-dapp": "^0.46.5",
"@polkadot/react-identicon": "^3.6.2",
"@polkadot/ui-keyring": "^3.6.2",
"@reach/tooltip": "^0.16.0",
"@react-aria/accordion": "^3.0.0-alpha.14",
"@react-aria/breadcrumbs": "^3.5.3",
"@react-aria/button": "^3.6.4",
"@react-aria/dialog": "^3.3.1",
"@react-aria/focus": "^3.6.1",
"@react-aria/gridlist": "^3.1.2",
"@react-aria/i18n": "^3.8.0",
"@react-aria/interactions": "^3.11.0",
"@react-aria/label": "^3.4.3",
"@react-aria/link": "^3.4.0",
"@react-aria/listbox": "^3.8.1",
"@react-aria/meter": "^3.2.1",
"@react-aria/overlays": "^3.14.0",
"@react-aria/progress": "^3.4.1",
"@react-aria/select": "^3.9.0",
"@react-aria/separator": "^3.2.5",
"@react-aria/slider": "^3.5.0",
"@react-aria/switch": "^3.2.4",
"@react-aria/table": "^3.4.0",
"@react-aria/tabs": "^3.5.0",
"@react-aria/textfield": "^3.7.1",
"@react-aria/tooltip": "^3.3.3",
"@react-aria/utils": "^3.13.1",
"@react-aria/visually-hidden": "^3.6.1",
"@react-stately/collections": "^3.4.1",
"@react-stately/list": "^3.6.1",
"@react-stately/overlays": "^3.5.1",
"@react-stately/select": "^3.4.0",
"@react-stately/slider": "^3.4.0",
"@react-stately/table": "^3.3.0",
"@react-stately/tabs": "^3.4.0",
"@react-stately/toggle": "^3.4.2",
"@react-stately/tooltip": "^3.2.3",
"@react-stately/tree": "^3.4.1",
"@tailwindcss/forms": "^0.3.2",
"big.js": "^6.1.1",
"chart.js": "^2.9.4",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
"formik": "^2.2.9",
"fs": "^0.0.1-security",
"history": "^4.7.1",
"i18next": "^19.8.4",
"qrcode.react": "^1.0.1",
"react": "^17.0.1",
"react-chartjs-2": "^2.11.1",
"react-dom": "^17.0.1",
"react-error-boundary": "^3.1.3",
"react-helmet-async": "^1.2.2",
"react-hook-form": "^7.33.1",
"react-i18next": "^11.7.4",
"react-icons": "^3.10.0",
"react-joyride": "^2.5.4",
"react-paginate": "^7.1.3",
"react-query": "^3.19.6",
"react-redux": "^7.2.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-table": "^7.6.3",
"react-toastify": "^9.1.2",
"react-transition-group": "^4.4.5",
"react-use": "^17.2.3",
"redux": "^4.0.5",
"styled-components": "^5.3.5",
"typescript": "4.3.2",
"web-vitals": "^1.0.1",
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@open-wc/webpack-import-meta-loader": "^0.4.7",
"@polkadot/types": "10.9.1",
"@react-types/grid": "^3.1.2",
"@react-types/shared": "^3.14.0",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.5.9",
"@tailwindcss/postcss7-compat": "^2.0.3",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "^12.1.10",
"@types/big.js": "6.1.2",
"@types/history": "^4.7.1",
"@types/jest": "^26",
"@types/node": "^12.0.0",
"@types/qrcode.react": "^1.0.1",
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"@types/react-paginate": "7.1.1",
"@types/react-redux": "7.1.9",
"@types/react-router-dom": "5.1.5",
"@types/react-transition-group": "^4.4.5",
"@types/styled-components": "^5.1.25",
"autoprefixer": "9",
"chromatic": "6.6.1",
"cross-env": "^7.0.3",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest-matchmedia-mock": "^1.1.0",
"lint-staged": "^10.5.4",
"postcss": "7",
"prettier": "2.2.1",
"release-it": "^15.5.0",
"storybook-addon-themes": "^6.1.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"tailwindcss-pseudo-elements": "^1.5.1",
"ts-node": "^8.6.2",
"webpack-bundle-analyzer": "^4.4.0"
},
"resolutions": {
"@acala-network/api": "5.1.2-7",
"@acala-network/eth-providers": "2.6.10",
"babel-loader": "8.1.0",
"bn.js": "4.12.0",
"react-error-overlay": "6.0.9",
"@types/history": "^4.7.1"
},
"scripts": {
"start": "NODE_OPTIONS=--openssl-legacy-provider craco start",
"start-regtest": "cross-env REACT_APP_BITCOIN_NETWORK=regtest yarn start",
"start-testnet": "cross-env REACT_APP_BITCOIN_NETWORK=testnet yarn start",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package sample-polkadotjs-typegen/interfaces --input ./src/interfaces",
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package sample-polkadotjs-typegen/interfaces --endpoint btc-parachain.json --output ./src/interfaces",
"lint": "eslint ./src/**/*.{ts,tsx,js} --ignore-path .eslintignore .",
"lint-fix": "eslint --fix ./src/**/*.{ts,tsx,js} --ignore-path .eslintignore .",
"type-check": "tsc",
"format": "yarn prettier --write src",
"setup": "yarn generate:defs && yarn generate:meta",
"build": "NODE_OPTIONS=--openssl-legacy-provider REACT_APP_VERSION=$npm_package_version craco build",
"build-with-webpack-bundle-analysis": "yarn build --stats && webpack-bundle-analyzer build/bundle-stats.json -m static -r build/bundle-stats.html -O",
"lint-and-type-check": "yarn lint && yarn type-check",
"eject": "react-scripts eject",
"compose:regtest": "docker-compose --env-file .env.development.local up",
"compose:testnet": "docker-compose -f ./docker-compose.testnet.yml up",
"compose:down": "docker-compose down --remove-orphans -v",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"chromatic": "chromatic --project-token",
"test": "jest --maxWorkers=50%",
"test:watch": "jest --watch --maxWorkers=25%",
"test:cov": "yarn test --coverage",
"test:ci": "jest --maxWorkers=2"
},
"homepage": "",
"browserslist": {
"production": [
">0.2%",
"not ie <= 99",
"not android <= 4.4.4",
"not dead",
"not op_mini all"
],
"development": [
">0.2%",
"not ie <= 99",
"not android <= 4.4.4",
"not dead",
"not op_mini all",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
}
}