UNPKG

create-react-dapp-tsc

Version:

An Ethereum template layered upon create-react-app with the Typescript template

54 lines (53 loc) 1.99 kB
{ "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" } }