forked from ensdomains/ens-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.88 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
{
"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.1.6",
"@ensdomains/ens": "^0.4.4",
"@ensdomains/ens-022": "npm:@ensdomains/[email protected]",
"@ensdomains/ethregistrar": "^2.0.1",
"@ensdomains/react-ens-address": "^0.0.25",
"@ensdomains/resolver": "^0.2.4",
"@ensdomains/ui": "3.0.20",
"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",
"big-integer": "^1.6.44",
"content-hash": "^2.4.1",
"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.11",
"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": "3.4.0",
"react-select": "^3.0.8",
"react-tooltip": "^3.9.2",
"react-transition-group-plus": "^0.5.3"
},
"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": "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"
},
"prettier": {
"semi": false,
"editor.formatOnSave": true,
"singleQuote": true,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"@ensdomains/mock": "2.0.18",
"apollo-client-mock": "0.0.8",
"babel-plugin-macros": "^2.4.2",
"cypress": "4.5.0",
"cypress-pipe": "^1.5.0",
"cypress-testing-library": "^2.3.4",
"cypress-wait-until": "^1.3.0",
"ganache-cli": "^6.1.0",
"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"
]
}
}