-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
80 lines (80 loc) · 3.94 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
{
"name": "predictions.global",
"version": "0.1.1",
"private": true,
"dependencies": {
"augur-fee-window-infos": "^1.0.0",
"augur.js": "^5.0.0",
"bignumber.js": "^7.2.1",
"bulma": "^0.7.1",
"classnames": "^2.2.6",
"google-protobuf": "^3.6.0",
"lodash.debounce": "^4.0.8",
"moment": "^2.22.2",
"node-sass-chokidar": "^1.3.0",
"npm-run-all": "^4.1.3",
"protoc-gen-grpc": "^1.2.3",
"react": "^16.4.1",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.4.1",
"react-dotdotdot": "^1.2.3",
"react-helmet": "^5.2.0",
"react-loadable": "^5.4.0",
"react-router-dom": "^4.3.1",
"react-router-hash-link": "^1.2.0",
"react-scripts-ts": "2.16.0",
"react-share": "^2.2.0",
"react-tooltip": "^3.6.1",
"web3": "^1.0.0-beta.35"
},
"scripts": {
"analyze": "source-map-explorer build/static/js/main.*",
"build-protobuf": "mkdir -p src/generated && npx protoc-gen-grpc-ts --ts_out=service=true:src/generated --proto_path=../interfaces ../interfaces/markets.proto && npx protoc-gen-grpc --js_out=import_style=commonjs,binary:src/generated --grpc_out=src/generated --proto_path=../interfaces ../interfaces/markets.proto && find src/generated/ -type f | xargs -n1 sed -i '' '1s;^;/* tslint:disable */\\\n;'",
"build-css": "node-sass-chokidar src/ -o src/ --include-path=node_modules",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive --include-path=node_modules",
"start-js": "react-scripts-ts start",
"start": "npm-run-all build-protobuf && npm-run-all -p watch-css start-js",
"start:fake": "npx env-cmd fake npm-run-all -p serve-fake-data start",
"start:staging": "npx env-cmd staging npm-run-all start",
"remove-source-maps": "rm build/static/{js,css}/*.map",
"build-js": "react-scripts-ts build",
"build-raw": "npm-run-all build-protobuf build-css build-js",
"build": "npx env-cmd staging npm run build-raw",
"build:staging": "npx env-cmd staging npm run build-raw",
"build:prod": "npx env-cmd prod npm run build-raw",
"build-and-deploy:staging": "npm-run-all build:staging remove-source-maps && firebase -P predictions-global-staging deploy",
"build-and-deploy:prod": "npm-run-all build:prod remove-source-maps && firebase -P predictions-global-prod deploy",
"serve-fake-data": "export DATA_FILE=$(npx ts-node -O '{\"module\": \"commonjs\"}' scripts/make-fake-data.ts) && cp scripts/serve.json $(dirname $DATA_FILE) && cd $(dirname $DATA_FILE) && npx serve -c serve.json -l 48773",
"upload-fake-data:staging": "export DATA_FILE=$(npx ts-node -O '{\"module\": \"commonjs\"}' scripts/make-fake-data.ts) && gsutil -h \"Content-Type:application/octet-stream\" -h \"Cache-Control:public, max-age=15\" cp -a public-read $DATA_FILE gs://predictions-global-staging",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject",
"prettier": "prettier --parser typescript --single-quote --trailing-comma --write \"./**/*.tsx\""
},
"devDependencies": {
"@types/bignumber.js": "^5.0.0",
"@types/classnames": "^2.2.4",
"@types/google-protobuf": "^3.2.7",
"@types/jest": "^23.1.2",
"@types/lodash.debounce": "^4.0.4",
"@types/mkdirp": "^0.5.2",
"@types/node": "^10.3.6",
"@types/react": "^16.4.2",
"@types/react-copy-to-clipboard": "^4.2.5",
"@types/react-dom": "^16.0.6",
"@types/react-helmet": "^5.0.6",
"@types/react-loadable": "^5.4.0",
"@types/react-router-dom": "^4.2.7",
"@types/react-share": "^2.1.0",
"@types/react-tooltip": "^3.3.5",
"@types/web3": "^1.0.2",
"env-cmd": "^8.0.2",
"mkdirp": "^0.5.1",
"prettier": "1.13.7",
"serve": "^9.1.2",
"source-map-explorer": "^1.5.0",
"sponge": "^0.1.0",
"ts-node": "^7.0.0",
"typescript": "^2.9.2"
},
"postinstall": "rm -f node_modules/web3/index.d.ts && echo 'removed web3/index.d.ts, see https://github.com/ethereum/web3.js/issues/1658#issuecomment-395662469'"
}