|
@@ -34,6 +34,7 @@
|
|
|
"ethers": "^5.7.2",
|
|
|
"fs-extra": "^10.1.0",
|
|
|
"hardhat": "^2.12.2",
|
|
|
+ "hardhat-deploy": "^0.11.29",
|
|
|
"hardhat-gas-reporter": "^1.0.9",
|
|
|
"lodash": "^4.17.21",
|
|
|
"mocha": "^10.1.0",
|
|
@@ -69,13 +70,15 @@
|
|
|
"clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && pnpm typechain",
|
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && pnpm typechain",
|
|
|
- "deploy:contracts": "hardhat deploy:Greeter",
|
|
|
+ "deploy:contracts": "hardhat deploy",
|
|
|
"lint": "pnpm lint:sol && pnpm lint:ts && pnpm prettier:check",
|
|
|
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
|
|
|
"lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
|
"postinstall": "DOTENV_CONFIG_PATH=./.env.example pnpm typechain",
|
|
|
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
|
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
|
+ "task:deployGreeter": "hardhat task:deployGreeter",
|
|
|
+ "task:setGreeting": "hardhat task:setGreeting",
|
|
|
"test": "hardhat test",
|
|
|
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
|
|
|
}
|