Update README and npm scripts for hardhat

This commit is contained in:
2022-04-25 09:07:24 -05:00
parent 24990de42a
commit 53dbc1e4ad
2 changed files with 25 additions and 125 deletions

View File

@@ -10,17 +10,13 @@
"wallet:create": "hardhat create-wallet",
"devchain": "hardhat node --network hardhat",
"deploy:dao": "hardhat run scripts/create-proxy.js --network localhost",
"seed": "hardhat run scripts/seeds.js --network localhost",
"seeds": "hardhat run scripts/seeds.js --network localhost",
"install-all": "./scripts/every-app.sh \"npm install\"",
"postshrinkwrap": "node scripts/fix-package-lock.js &>/dev/null || true",
"build-json": "npm run compile-contracts && node ./scripts/build-json.js",
"repl": "truffle exec scripts/repl.js",
"seeds": "truffle exec scripts/seeds.js",
"compile-contracts": "truffle compile --all",
"bootstrap": "npm run reset:hard && npm run seeds",
"reset": "npm run deploy:kit && npm run deploy:dao",
"reset:hard": "npm run compile-contracts && npm run deploy:apps && npm run reset",
"dao:address": "truffle exec scripts/current-address.js",
"repl": "hardhat console --network localhost",
"compile-contracts": "hardhat compile --force",
"bootstrap": "npm run deploy:dao && npm run seeds",
"lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"",
"lint:contract-tests": "eslint apps/*/test",
"lint:wrapper": "eslint lib/",