-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
220 lines (220 loc) · 8.07 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
{
"name": "@panther-core/dapp",
"description": "dApp frontend for Panther Protocol Staking",
"version": "0.1.0",
"license": "SEE LICENSE IN ./LICENSE",
"homepage": ".",
"private": true,
"scripts": {
"start": "webpack-cli serve --mode=development --env development --hot",
"start:prod": "webpack-cli serve --mode=production --env production --hot",
"build:dev": "yarn check-types && TARGET_ENV=development webpack --mode=development --env development --progress --profile --json stats.json",
"build:staging": "yarn check-types && TARGET_ENV=staging yarn webpack --mode=production --env production --progress",
"build:prod": "yarn check-types && TARGET_ENV=production webpack --mode=production --env production --progress --profile --json stats.json",
"build:types": "./scripts/gen-types.sh",
"stats": "webpack-bundle-analyzer stats.json build",
"stats:dev": "yarn build && webpack-bundle-analyzer stats.json build",
"stats:prod": "yarn build:prod && webpack-bundle-analyzer stats.json build",
"check-types": "tsc --project tsconfig.json --noEmit --isolatedModules false",
"deploy:ipfs": "./scripts/deploy-ipfs.sh | tee -a ipfs-deployment.log",
"deploy:ci:ipfs": "yarn ts-node scripts/deploy-ipfs.ts --ci --infura",
"lint": "yarn lint:ts && yarn run prettier:list-different",
"lint:eslint": "eslint --max-warnings 0",
"lint:ts": "yarn lint:eslint .",
"lint:fix": "eslint \"./**/*.{ts,tsx}\" --fix",
"prettier:check": "cd .. && yarn prettier --check dapp",
"prettier:fix": "cd .. && yarn prettier --write dapp",
"prettier:list-different": "cd .. && yarn prettier --list-different dapp",
"test": "yarn test:ipfs && yarn test:jest",
"test:jest": "TZ=UTC DOTENV_CONFIG_PATH=.env.test jest",
"test:ipfs": "TEST_ENV=node yarn test:jest tests/scripts/deploy-ipfs.test.ts",
"env:sync": "yarn ts-node scripts/syncEnv.ts",
"amplify:check": "yarn env:sync",
"amplify:sync": "yarn env:sync --write",
"dotenv:check": "yarn env:sync --file",
"dotenv:sync": "yarn env:sync --file --write",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"synpress:run": "env-cmd -f .env synpress run --configFile synpress.config.ts",
"test:e2e:headless": "start-server-and-test 'yarn start' http://localhost:3000 'yarn synpress:run --headless'",
"test:e2e": "start-server-and-test 'yarn start' http://localhost:3000 'yarn synpress:run'"
},
"dependencies": {
"@emotion/react": "^11.6.0",
"@emotion/styled": "^11.6.0",
"@ethersproject/bignumber": "^5.4.1",
"@ethersproject/contracts": "^5.5.0",
"@ethersproject/providers": "^5.4.3",
"@ethersproject/units": "^5.4.0",
"@mui/icons-material": "^5.2.1",
"@mui/material": "^5.10.11",
"@mui/styles": "^5.10.10",
"@reduxjs/toolkit": "^1.7.2",
"@sentry/integrations": "^7.11.1",
"@sentry/react": "^7.11.1",
"@sentry/tracing": "^7.11.1",
"@testing-library/dom": "^7.21.4",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^12.1.10",
"@types/react-redux": "^7.1.22",
"@web3-react/abstract-connector": "^6.0.7",
"@web3-react/core": "^6.1.9",
"@web3-react/frame-connector": "^6.0.7",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/network-connector": "^6.0.7",
"axios": "^0.24.0",
"bignumber.js": "^9.0.1",
"bitcore-lib": "^0.16.0",
"chai-http": "^4.3.0",
"circomlibjs": "^0.0.8",
"dayjs": "1.11.7",
"dotenv": "^16.0.3",
"dotenv-webpack": "^7.0.3",
"easy-peasy": "^5.0.3",
"ethers": "^5.5.1",
"ethers-multicall": "^0.2.3",
"ipfs-http-client": "^56.0.0",
"lodash": "^4.17.21",
"node-polyfill-webpack-plugin": "^1.1.4",
"os-browserify": "^0.3.0",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-jazzicon": "1.0.3",
"react-material-ui-carousel": "^3.4.2",
"react-redux": "^7.2.6",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"redux-persist": "^6.0.0",
"serialize-error": "^11.0.0",
"typescript": "^4.9.4",
"web-vitals": "^1.0.1",
"web3": "^1.6.1",
"web3-react": "^5.0.5"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.16.5",
"@commitlint/config-conventional": "^17.4.2",
"@react-icons/all-files": "^4.1.0",
"@sentry/webpack-plugin": "^1.19.0",
"@simbathesailor/babel-plugin-use-what-changed": "^2.1.0",
"@simbathesailor/use-what-changed": "^2.0.0",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-webpack4": "^6.5.12",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/manager-webpack4": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/node-logger": "^6.5.12",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@synthetixio/synpress": "^3.3.1",
"@types/coingecko-api": "^1.0.10",
"@types/dotenv-webpack": "^7.0.3",
"@types/jest": "^27.4.0",
"@types/node": "^16.4.12",
"@types/react": "^17.0.15",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.9",
"@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^3.11.5",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"babel-core": "^6.26.3",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.3",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"buffer": "^6.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chalk": "^4.0",
"coingecko-api": "^1.0.10",
"colors": "^1.4.0",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.2.0",
"cypress": "^12.6.0",
"danger": "^11.2.3",
"danger-plugin-conventional-commitlint": "^3.0.0",
"easy-peasy": "^5.0.3",
"env-cmd": "^10.1.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.10",
"gas-price-oracle": "^0.3.5",
"html-webpack-plugin": "^5.3.2",
"https-browserify": "^1.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-mock-console": "^1.2.3",
"lightweight-charts": "^3.5.0",
"mocha": "^8.1.3",
"node-sass": "^6.0.1",
"path-browserify": "^1.0.1",
"prettier": "^2.3.2",
"process": "^0.11.10",
"react-copy-to-clipboard": "^5.0.4",
"react-hot-loader": "^4.13.0",
"react-notifications-component": "^3.4.0",
"sass": "^1.37.5",
"sass-loader": "^12.1.0",
"sinon": "^12.0.1",
"sinon-chai": "^3.7.0",
"start-server-and-test": "^1.15.4",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"style-loader": "^3.2.1",
"svg-url-loader": "^7.1.1",
"terser-webpack-plugin": "^5.3.6",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.5",
"ts-node": "^10.1.0",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"webpack": "^5.72.1",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.1.0",
"webpack-pwa-manifest": "^4.3.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
}
}