This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
148 lines (148 loc) · 5.21 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
{
"name": "polkabtc-ui",
"version": "1.10.1",
"private": true,
"dependencies": {
"@craco/craco": "^6.1.1",
"@emotion/react": "^11.1.5",
"@emotion/styled": "^11.1.5",
"@headlessui/react": "^1.1.1",
"@interlay/polkabtc-stats": "0.3.3",
"@interlay/polkabtc": "0.17.0",
"@polkadot/extension-dapp": "0.38.1",
"@polkadot/types": "4.12.1",
"@polkadot/api": "4.12.1",
"@polkadot/metadata": "4.12.1",
"@polkadot/ui-keyring": "0.77.1",
"@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.0.2",
"@types/bn.js": "^4.11.6",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/qrcode.react": "^1.0.1",
"@types/react": "^17.0.0",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.9",
"@types/react-router-dom": "^5.1.5",
"@types/react-toggle": "^4.0.2",
"@types/redux-logger": "^3.0.8",
"big.js": "^6.0.3",
"bitcoinjs-lib": "^5.2.0",
"chart.js": "^2.9.4",
"clsx": "^1.1.1",
"i18next": "^19.8.4",
"i18next-browser-languagedetector": "^6.0.1",
"i18next-http-backend": "^1.0.21",
"node-sass": "^4.14.1",
"qrcode.react": "^1.0.1",
"rc-pagination": "^3.1.6",
"rc-tooltip": "^5.1.0",
"react": "^17.0.1",
"react-bootstrap": "^1.0.1",
"react-chartjs-2": "^2.11.1",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^17.0.1",
"react-hook-form": "^6.8.4",
"react-i18next": "^11.7.4",
"react-icons": "^3.10.0",
"react-markdown": "^4.3.1",
"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-transition-group": "^4.4.1",
"react-use": "^17.2.3",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"twin.macro": "^2.3.0",
"typescript": "4.2.2",
"web-vitals": "^1.0.1"
},
"devDependencies": {
"@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",
"autoprefixer": "9",
"chromatic": "^5.6.2",
"cross-env": "^7.0.3",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"lint-staged": "^10.5.4",
"postcss": "7",
"prettier": "2.2.1",
"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 .",
"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!')\"",
"old-test": "ts-mocha --exit --require babel-register --require ignore-styles --paths -p src/tests-tsconfig.json -r src/setupTests.ts tests/**/*.test.tsx",
"old-test-watch": "watch 'ts-mocha --paths -p src/tests-tsconfig.json -r src/setupTests.ts tests/**/*.test.tsx --timeout 5000' src tests --interval=1",
"eject": "react-scripts eject",
"compose:regtest": "docker-compose 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"
},
"homepage": "",
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"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"
}
}