Add dev scripts for hardhat to package.json

This commit is contained in:
Basti 2022-01-11 16:20:23 -06:00
parent 8bb3f234c7
commit f0edfa038f
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
2 changed files with 21060 additions and 46 deletions

21096
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,10 @@
"test": "test" "test": "test"
}, },
"scripts": { "scripts": {
"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",
"install-all": "./scripts/every-app.sh \"npm install\"", "install-all": "./scripts/every-app.sh \"npm install\"",
"postshrinkwrap": "node scripts/fix-package-lock.js &>/dev/null || true", "postshrinkwrap": "node scripts/fix-package-lock.js &>/dev/null || true",
"build-json": "npm run compile-contracts && node ./scripts/build-json.js", "build-json": "npm run compile-contracts && node ./scripts/build-json.js",
@ -16,10 +20,6 @@
"bootstrap": "npm run reset:hard && npm run seeds", "bootstrap": "npm run reset:hard && npm run seeds",
"reset": "npm run deploy:kit && npm run deploy:dao", "reset": "npm run deploy:kit && npm run deploy:dao",
"reset:hard": "npm run compile-contracts && npm run deploy:apps && npm run reset", "reset:hard": "npm run compile-contracts && npm run deploy:apps && npm run reset",
"deploy:kit": "truffle exec scripts/deploy-kit.js",
"deploy:dao": "truffle exec scripts/new-dao.js",
"deploy:apps": "./scripts/every-app.sh \"aragon apm publish major --propagate-content=false --build=false --prepublish=false --skip-confirmation\"",
"devchain": "aragon devchain --port 7545",
"dao:address": "truffle exec scripts/current-address.js", "dao:address": "truffle exec scripts/current-address.js",
"lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"", "lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"",
"lint:contract-tests": "eslint apps/*/test", "lint:contract-tests": "eslint apps/*/test",
@ -64,9 +64,9 @@
"yargs": "^15.0.0" "yargs": "^15.0.0"
}, },
"dependencies": { "dependencies": {
"@kosmos/schemas": "^3.0.0",
"ethers": "^5.4.7", "ethers": "^5.4.7",
"ipfs-http-client": "^41.0.1", "ipfs-http-client": "^41.0.1",
"@kosmos/schemas": "^3.0.0",
"node-fetch": "^2.6.0", "node-fetch": "^2.6.0",
"tv4": "^1.3.0" "tv4": "^1.3.0"
}, },