-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
141 lines (141 loc) · 5.42 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
{
"name": "ens-app",
"version": "1.1.9",
"private": true,
"homepage": "https://app.ens.domains",
"dependencies": {
"@0xproject/utils": "^0.7.3",
"@buidlhub/buidlhub-ens-notifications": "^1.0.3",
"@emotion/core": "^10.0.9",
"@emotion/styled": "^10.0.9",
"@ensdomains/address-encoder": "^0.2.6",
"@ensdomains/mock": "^2.0.34",
"@ensdomains/react-ens-address": "https://github.com/buffrr/react-ens-address.git#forever",
"@ensdomains/ui": "https://github.com/buffrr/ui.git#forever",
"@myetherwallet/mewconnect-web-client": "^2.1.11",
"@portis/web3": "^2.0.0-beta.59",
"@toruslabs/torus-embed": "^1.8.6",
"@walletconnect/web3-provider": "^1.3.1",
"apollo-cache-inmemory": "^1.2.9",
"apollo-client": "^2.4.5",
"apollo-link": "^1.2.2",
"apollo-link-http": "1.5.14",
"apollo-link-state": "^0.4.1",
"authereum": "^0.1.0",
"big-integer": "^1.6.44",
"bns": "^0.14.0",
"chart.js": "^2.9.3",
"core-js": "^3.1.4",
"cross-fetch": "^2.2.3",
"emotion": "^10.0.9",
"esm": "^3.2.22",
"eth-ens-namehash": "^2.0.8",
"ethjs-unit": "^0.1.6",
"ethval": "^1.3.0",
"framer-motion": "^1.9.1",
"graphql": "^14.4.2",
"graphql-tag": "2.9.1",
"graphql-tools": "^2.23.1",
"i18next": "^19.3.4",
"i18next-xhr-backend": "^3.2.2",
"ipfs-http-client": "^40.1.0",
"js-sha3": "^0.8.0",
"lodash": "^4.17.19",
"moment": "^2.22.2",
"notification-polyfill": "^1.0.0",
"react": "^16.12.0",
"react-add-to-calendar-hoc": "^1.0.9",
"react-apollo": "^3.0.0",
"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": "^4.0.0",
"react-select": "^3.0.8",
"react-tooltip": "^3.9.2",
"react-transition-group-plus": "^0.5.3",
"slugify": "^1.4.6",
"stackdriver-errors-js": "^0.8.0",
"web3": "^1.3.0",
"web3modal-dynamic-import": "1.10.1"
},
"scripts": {
"start": "react-scripts 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 react-scripts --max_old_space_size=4096 build",
"build:ipfs": "REACT_APP_IPFS=True PUBLIC_URL='.' yarn build",
"postbuild": "cp build/index.html build/200.html",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm test -- --coverage",
"eject": "react-scripts eject",
"preTest": "node -r esm src/testing-utils/preTest.js",
"preTest:dnssec": "node -r esm src/testing-utils/preTest.js default dnssec",
"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",
"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'",
"deploy:dev": "REACT_APP_STAGE=production rm -rf build/ && npm run build && npm run postbuild && surge build badassdev.surge.sh",
"deploy:test": "REACT_APP_STAGE=production rm -rf build/ && npm run build && npm run postbuild && surge build badasstester.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'"
},
"prettier": {
"semi": false,
"editor.formatOnSave": true,
"singleQuote": true,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"apollo-client-mock": "0.0.8",
"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",
"ganache-cli": "^6.9.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",
"solc": "^0.4.23",
"start-server-and-test": "^1.10.0",
"surge": "^0.20.1"
},
"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": "v14"
}
}