forked from interlay/interbtc-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
159 lines (159 loc) · 5.36 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
{
"name": "interbtc-ui",
"version": "2.7.0",
"private": true,
"dependencies": {
"@craco/craco": "^6.1.1",
"@headlessui/react": "^1.1.1",
"@heroicons/react": "^1.0.3",
"@interlay/interbtc-api": "1.8.6",
"@polkadot/api": "7.7.1",
"@polkadot/extension-dapp": "0.42.7",
"@polkadot/types": "7.7.1",
"@reach/tooltip": "^0.16.0",
"@tailwindcss/forms": "^0.3.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/big.js": "6.1.2",
"@types/jest": "^26.0.15",
"@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/redux-logger": "^3.0.8",
"big.js": "^6.1.1",
"chart.js": "^2.9.4",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
"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": "^6.8.4",
"react-i18next": "^11.7.4",
"react-icons": "^3.10.0",
"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": "^6.0.5",
"react-use": "^17.2.3",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"typescript": "4.2.2",
"use-dark-mode": "^2.3.1",
"web-vitals": "^1.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
"@cypress/react": "^5.12.3",
"@cypress/webpack-dev-server": "^1.8.1",
"@cypress/webpack-preprocessor": "^5.11.1",
"@open-wc/webpack-import-meta-loader": "^0.4.7",
"@storybook/addon-actions": "^6.2.8",
"@storybook/addon-essentials": "^6.2.8",
"@storybook/addon-links": "^6.2.8",
"@storybook/node-logger": "^6.2.8",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.8",
"@tailwindcss/postcss7-compat": "^2.0.3",
"@testing-library/cypress": "^8.0.2",
"autoprefixer": "9",
"chromatic": "^5.6.2",
"cross-env": "^7.0.3",
"cypress": "^9.5.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"lint-staged": "^10.5.4",
"postcss": "7",
"prettier": "2.2.1",
"storybook-dark-mode": "^1.0.8",
"tailwind-config-viewer": "^1.5.1",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"tailwindcss-pseudo-elements": "^1.5.1",
"ts-node": "^8.6.2",
"webpack-bundle-analyzer": "^4.4.0"
},
"scripts": {
"start": "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,jsx} --ignore-path .eslintignore .",
"lint-fix": "eslint --fix ./src/**/*.{ts,tsx,js} --ignore-path .eslintignore .",
"type-check": "tsc",
"format": "prettier --config .prettierrc --write .",
"setup": "yarn generate:defs && yarn generate:meta",
"build": "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",
"tailwind-config-viewer": "cd src && tailwind-config-viewer -o",
"test": "node -e \"console.log('Tests are not ready yet!')\"",
"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",
"cypress:e2e": "cypress open"
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"resolutions": {
"babel-loader": "8.1.0",
"bn.js": "4.12.0",
"react-error-overlay": "6.0.9"
}
}