This repository has been archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
95 lines (95 loc) · 4.73 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
{
"name": "decent-bet-frontend",
"version": "1.1.13",
"homepage": "https://platform.decent.bet",
"private": false,
"author": "Decent.bet",
"license": "ISC",
"repository": "github:decent-bet/platform-frontend",
"devDependencies": {
"@types/jest": "^23.3.11",
"@types/jwt-decode": "^2.2.1",
"@types/node": "^10.12.18",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"@types/react-redux": "^6.0.12",
"@types/react-router-dom": "^4.2.4",
"@types/react-select": "^2.0.11",
"@types/redux-actions": "^2.3.0",
"@types/redux-logger": "^3.0.5",
"@types/redux-promise-middleware": "^0.0.11",
"@types/socket.io-client": "^1.4.32",
"@types/validator": "^10.9.0",
"clean-webpack-plugin": "^1.0.0",
"copy-webpack-plugin": "^4.6.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"fs-extra": "^7.0.1",
"react-scripts": "^2.1.3",
"rimraf": "^2.6.3",
"typechain": "^0.3.10",
"typescript": "^3.2.2"
},
"dependencies": {
"@decent-bet/contract-migration": "^1.0.1",
"@decent-bet/contract-slots": "1.0.0-rc.3",
"@material-ui/core": "^3.8.1",
"@material-ui/icons": "^3.0.1",
"axios": "^0.18.0",
"bignumber.js": "^8.0.1",
"bip39": "^2.5.0",
"classnames": "^2.2.6",
"crypto-js": "^3.1.9-1",
"dexie": "^2.0.4",
"ethereum-units": "0.0.1-b",
"ethereumjs-util": "<6.0.0",
"ethers": "^4.0.20",
"iso-3166-1": "^1.1.0",
"jwt-decode": "^2.2.0",
"material-ui-pickers": "1.0.1",
"moment": "^2.23.0",
"react": "^16.7.0",
"react-animations": "^1.0.0",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.7.0",
"react-redux": "^6.0.0",
"react-router-dom": "^4.3.1",
"react-select": "^2.2.0",
"react-transition-group": "^2.5.2",
"redux": "^4.0.0",
"redux-actions": "^2.6.4",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^5.1.1",
"redux-thunk": "^2.3.0",
"redux-thunk-actions": "^1.3.2",
"request": "^2.88.0",
"rxjs": "^6.3.3",
"socket.io-client": "^2.2.0",
"thor-devkit": "0.3.0",
"thorify": "^1.0.4",
"validator": "^10.10.0",
"web3": "1.0.0-beta.37"
},
"scripts": {
"start": "npm run games && export BROWSER=none && export REACT_APP_VERSION=$npm_package_version && export NODE_OPTIONS=--max_old_space_size=2048 && react-scripts start",
"start:develop": "npm run games && export BROWSER=none && export REACT_APP_ENV=development && export REACT_APP_VERSION=$npm_package_version && export NODE_OPTIONS=--max_old_space_size=2048 && react-scripts start",
"start:prod": "npm run games && export BROWSER=none && export REACT_APP_ENV=production && export REACT_APP_VERSION=$npm_package_version && export NODE_OPTIONS=--max_old_space_size=2048 && react-scripts start",
"build:local": "npm run games && export REACT_APP_ENV=local && export REACT_APP_VERSION=$npm_package_version && export NODE_OPTIONS=--max_old_space_size=2048 && react-scripts build",
"build:develop": "npm run games && export REACT_APP_ENV=development && export REACT_APP_VERSION=$npm_package_version && export NODE_OPTIONS=--max_old_space_size=2048 && react-scripts build",
"build:master": "npm run games && export REACT_APP_ENV=production && export REACT_APP_VERSION=$npm_package_version && export NODE_OPTIONS=--max_old_space_size=2048 && react-scripts build",
"deploy": "docker build --build-arg APP_ENV=$APP_ENV -t us.gcr.io/dbet-platform/platform-frontend:$npm_package_version . && docker tag us.gcr.io/dbet-platform/platform-frontend:$npm_package_version us.gcr.io/dbet-platform/platform-frontend:$npm_package_version && docker push us.gcr.io/dbet-platform/platform-frontend:$npm_package_version",
"deploy:develop": "export APP_ENV=develop && npm run deploy",
"deploy:prod": "export APP_ENV=prod && npm run deploy",
"deploy:local": "docker build --build-arg APP_ENV=local -t dbet-platform/platform-frontend:latest . && docker tag dbet-platform/platform-frontend:latest dbet-platform/platform-frontend:latest && docker-compose up --force-recreate",
"test": "react-scripts test --env=jsdom",
"lint": "tslint src __tests__",
"lint:fix": "tslint --fix src __tests__",
"postinstall": "typechain --target=web3-1.0.0 --outDir typings/ \"./node_modules/@decent-bet/contract-*/build/contracts/*.json\"",
"games": "node ./scripts/copy-games"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}