forked from mjhm/create-react-dapp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 1.95 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
{
"engines": {
"node": ">=8",
"npm": ">=5.2"
},
"license": "MIT",
"//": [
"web3 is locked at '0.20.x' until 1.0 gets out of beta and is well supported by MetaMask"
],
"dependencies": {
"axios": "^0.18.0",
"bluebird": "^3.5.1",
"bootstrap": "^4.1.1",
"ganache-cli": "^6.1.0",
"lodash": "^4.17.10",
"mkdirp": "^0.5.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "^2.1.8",
"reactstrap": "^6.1.0",
"solc": "^0.4.24",
"truffle-privatekey-provider": "^0.1.0",
"web3": "^0.20.6"
},
"devDependencies": {
"babel-preset-stage-2": "^6.24.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.9.1",
"jquery": "^3.5.0",
"npm-run-all": "^4.1.3",
"popper.js": "^1.14.3",
"prettier": "^1.13.4"
},
"scripts": {
"ganache": "ganache-cli",
"ganache_quiet": "echo if ganache_quiet fails to start you may have a ganache process already running on port 8545 && (ganache-cli >/dev/null)",
"migrate": "cd dapp && truffle migrate --reset --compile-all",
"migrate_ganacheUI": "cd dapp && truffle migrate --network ganacheUI --reset --compile-all",
"migrate_rinkeby": "cd dapp && truffle migrate --network rinkeby",
"start": "react-scripts start",
"start_ganacheUI": "REACT_APP_ETH_NETWORK=ganacheUI react-scripts start",
"start_rinkeby": "REACT_APP_ETH_NETWORK=rinkeby react-scripts start",
"kill_ganacheUI": "truffle exec ./helpers/killAll.js --network ganacheUI",
"kill_rinkeby": "truffle exec ./helpers/killAll.js --network rinkeby",
"build": "react-scripts build",
"test_components": "react-scripts test --env=jsdom src/components",
"truffle_test": "cd dapp && truffle test",
"test_contracts": "npm-run-all -p -r ganache_quiet truffle_test 2>/dev/null",
"test": "CI=true npm run test_components && CI=true npm run test_contracts",
"eject": "react-scripts eject"
}
}