forked from ensdomains/ens-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
182 lines (182 loc) · 6.68 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
{
"name": "ens-app",
"version": "1.1.9",
"private": true,
"homepage": "https://app.ens.domains",
"dependencies": {
"@0xproject/utils": "^0.7.3",
"@apollo/client": "^3.4.4",
"@buidlhub/buidlhub-ens-notifications": "^1.0.3",
"@emotion/core": "^10.0.9",
"@emotion/styled": "^10.0.9",
"@ensdomains/address-encoder": "^0.2.17",
"@ensdomains/ens-avatar": "^0.1.4",
"@ensdomains/ens-validation": "0.0.0",
"@ensdomains/eth-ens-namehash": "^2.0.15",
"@ensdomains/mock": "^2.1.46-beta",
"@ensdomains/react-ens-address": "^0.0.31",
"@ensdomains/ui": "^3.3.34",
"@ensdomains/web3modal": "1.9.4",
"@gnosis.pm/safe-apps-provider": "^0.9.2",
"@myetherwallet/mewconnect-web-client": "^2.2.0-beta.16",
"@portis/web3": "^2.0.0-beta.59",
"@toruslabs/torus-embed": "^1.8.6",
"@walletconnect/web3-provider": "^1.7.4",
"assert": "npm:assert",
"authereum": "^0.1.0",
"bech32": "2.0.0",
"big-integer": "^1.6.44",
"buffer": "^6.0.3",
"chart.js": "^2.9.3",
"core-js": "^3.1.4",
"cross-fetch": "^2.2.3",
"crypto": "npm:crypto-browserify",
"emotion": "^10.0.9",
"esm": "^3.2.22",
"ethjs-unit": "^0.1.6",
"ethval": "^1.3.0",
"framer-motion": "^1.9.1",
"graphql": "^14.4.2",
"graphql-tag": "2.9.1",
"i18next": "^19.3.4",
"i18next-xhr-backend": "^3.2.2",
"idempotent-babel-polyfill": "^7.4.4",
"ipfs-http-client": "^40.1.0",
"js-sha3": "^0.8.0",
"lodash": "^4.17.21",
"moment": "^2.29.2",
"msw": "0.35.0",
"notification-polyfill": "^1.0.0",
"postcss-normalize": "^10.0.1",
"react": "^16.12.0",
"react-add-to-calendar-hoc": "^1.0.9",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.12.0",
"react-ga": "^2.5.7",
"react-i18next": "^11.3.4",
"react-router": "5.1.2",
"react-router-dom": "5.1.2",
"react-scripts": "5.0.0",
"react-select": "^3.0.8",
"react-tooltip": "^3.9.2",
"react-transition-group-plus": "^0.5.3",
"slugify": "^1.4.6",
"stream": "npm:stream-browserify",
"stream-http": "^3.2.0",
"walletlink": "2.5.0"
},
"scripts": {
"react-serve": "yarn node scripts/serve.js",
"start": "yarn react-serve start",
"start:heap": "yarn react-serve --max_old_space_size=16384 start",
"start:ipfs": "REACT_APP_IPFS=True PUBLIC_URL='.' yarn start",
"start:test": "REACT_APP_STAGE=local yarn start",
"start:test:ipfs": "REACT_APP_STAGE=local yarn start:ipfs",
"build": "CI=false yarn react-serve build && yarn cacheBust",
"build:ipfs": "REACT_APP_IPFS=True PUBLIC_URL='.' yarn build",
"postbuild": "cp build/index.html build/200.html && echo '*' > build/CORS",
"test": "react-scripts test --env=./custom-test-env.js --transformIgnorePatterns \"node_modules/(?!@ensdomains)/\"",
"test:coverage": "npm test -- --coverage",
"test:watch": "npm test -- --watchAll",
"eject": "react-scripts eject",
"preTest": "node -r esm src/testing-utils/preTest.js default exponential",
"preTest:dnssec": "node -r esm src/testing-utils/preTest.js default dnssec",
"preTest:linear": "node -r esm src/testing-utils/preTest.js",
"graph-node": "node scripts/graph-node.js",
"subgraph": "node scripts/subgraph.js",
"advance": "node src/testing-utils/advance.js",
"cypress:open": "yarn run cypress open",
"cypress:open:ipfs": "yarn run cypress open --config-file cypress_ipfs.json",
"cypress:record": "/bin/sh -c 'if [ -z ${CYPRESS_TOKEN+x} ]; then yarn run cypress run; else yarn run cypress run --record --key $CYPRESS_TOKEN; fi'",
"cypress:record:ipfs": "/bin/sh -c 'if [ -z ${CYPRESS_TOKEN+x} ]; then yarn run cypress run --config-file cypress_ipfs.json; else yarn run cypress run --config-file cypress_ipfs.json --record --key $CYPRESS_TOKEN; fi'",
"cypress:run-local": "yarn run cypress run --headed",
"cypress:run-local:ipfs": "yarn run cypress run --config-file cypress_ipfs.json",
"cypress:run": "yarn preTest && start-server-and-test start:test http://localhost:3000 cypress:record",
"cypress:run:ipfs": "yarn preTest && start-server-and-test start:test:ipfs http://localhost:3000 cypress:record:ipfs",
"cypress:ci": "start-server-and-test start:test http://localhost:3000 cypress:record",
"cypress:ci:ipfs": "/bin/sh -c 'if [ \"$TRAVIS_PULL_REQUEST\" = \"true\" ]; then yarn cypress:run:ipfs; else yarn cypress:run:ipfs; fi'",
"cypress:e2e": "./test.js",
"deploy:dev": "npm run build && npm run postbuild && surge build ensappdev.surge.sh",
"deploy": "npm run build && npm run postbuild && surge build app.ens.domains",
"i18n": "sync-i18n --files 'public/locales/*.json' --primary en --languages cn --space 2",
"check-i18n": "npm run i18n -- --check",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"cacheBust": "node cacheBust.js",
"lint": "eslint src",
"lint:fix": "eslint --fix src "
},
"prettier": {
"semi": false,
"editor.formatOnSave": true,
"singleQuote": true,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-transform-async-to-generator": "^7.4.4",
"@babel/plugin-transform-regenerator": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/plugin-transform-spread": "^7.2.2",
"@babel/preset-env": "^7.4.4",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.0.0",
"@testing-library/react-hooks": "7.0.1",
"babel-plugin-macros": "^2.4.2",
"cypress": "5.6.0",
"cypress-pipe": "^1.5.0",
"cypress-testing-library": "^2.3.4",
"cypress-wait-until": "^1.3.0",
"eslint": "7.32.0",
"eslint-plugin-jest": "24.4.2",
"ganache-cli": "^6.12.2",
"history": "5.0.1",
"husky": "^2.2.0",
"i18next-json-sync": "^2.3.1",
"jest-localstorage-mock": "^2.4.0",
"prettier": "1.17.0",
"pretty-quick": "^1.10.0",
"react-testing-library": "^3.0.2",
"replace-in-file": "6.2.0",
"rewire": "^6.0.0",
"solc": "^0.4.23",
"source-map-explorer": "2.5.2",
"start-server-and-test": "^1.10.0",
"surge": "^0.20.1",
"uuid": "8.3.2",
"web-encoding": "1.1.5",
"web3": "^1.3.0"
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
},
"engines": {
"node": "v16"
},
"jest": {
"resetMocks": false
},
"resolutions": {
"@ensdomains/ui": "^3.3.23",
"ethers": "^5.5.4",
"wrtc": "npm:@koush/wrtc"
},
"volta": {
"node": "16.14.2"
}
}