Update npm scripts, README
Introduce a new `build` script that also builds the ABIs.
This commit is contained in:
10
package.json
10
package.json
@@ -10,13 +10,13 @@
|
||||
"wallet:create": "hardhat create-wallet",
|
||||
"devchain": "hardhat node --network hardhat",
|
||||
"deploy:dao": "hardhat run scripts/create-proxy.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": "hardhat console --network localhost",
|
||||
"compile-contracts": "hardhat compile --force",
|
||||
"build": "npm run build:contracts && npm run build:json",
|
||||
"build:contracts": "hardhat compile --force",
|
||||
"build:json": "node ./scripts/build-json.js",
|
||||
"seeds": "hardhat run scripts/seeds.js --network localhost",
|
||||
"bootstrap": "npm run deploy:dao && npm run seeds",
|
||||
"repl": "hardhat console --network localhost",
|
||||
"lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"",
|
||||
"lint:contract-tests": "eslint apps/*/test",
|
||||
"lint:wrapper": "eslint lib/",
|
||||
|
||||
Reference in New Issue
Block a user