|
@@ -7,8 +7,6 @@
|
|
|
"url": "https://github.com/paulrberg"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "@commitlint/cli": "^17.3.0",
|
|
|
- "@commitlint/config-conventional": "^17.3.0",
|
|
|
"@ethersproject/abi": "^5.7.0",
|
|
|
"@ethersproject/abstract-signer": "^5.7.0",
|
|
|
"@ethersproject/bignumber": "^5.7.0",
|
|
@@ -29,9 +27,7 @@
|
|
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
|
"@typescript-eslint/parser": "^5.44.0",
|
|
|
"chai": "^4.3.7",
|
|
|
- "commitizen": "^4.2.5",
|
|
|
"cross-env": "^7.0.3",
|
|
|
- "cz-conventional-changelog": "^3.3.0",
|
|
|
"dotenv": "^16.0.3",
|
|
|
"eslint": "^8.28.0",
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -39,14 +35,11 @@
|
|
|
"fs-extra": "^10.1.0",
|
|
|
"hardhat": "^2.12.2",
|
|
|
"hardhat-gas-reporter": "^1.0.9",
|
|
|
- "husky": "^8.0.2",
|
|
|
- "lint-staged": "^13.0.4",
|
|
|
"lodash": "^4.17.21",
|
|
|
"mocha": "^10.1.0",
|
|
|
- "pinst": "^3.0.0",
|
|
|
"prettier": "^2.8.4",
|
|
|
"prettier-plugin-solidity": "^1.1.2",
|
|
|
- "shx": "^0.3.4",
|
|
|
+ "rimraf": "^4.1.2",
|
|
|
"solhint": "^3.4.0",
|
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
|
"solidity-coverage": "^0.8.2",
|
|
@@ -74,7 +67,7 @@
|
|
|
"access": "public"
|
|
|
},
|
|
|
"scripts": {
|
|
|
- "clean": "shx rm -rf ./artifacts ./cache ./coverage ./types ./coverage.json && yarn typechain",
|
|
|
+ "clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && yarn typechain",
|
|
|
"commit": "git-cz",
|
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && yarn typechain",
|
|
@@ -82,9 +75,7 @@
|
|
|
"lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
|
|
|
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
|
|
|
"lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
|
- "postinstall": "husky install && DOTENV_CONFIG_PATH=./.env.example yarn typechain",
|
|
|
- "postpublish": "pinst --enable",
|
|
|
- "prepublishOnly": "pinst --disable",
|
|
|
+ "postinstall": "DOTENV_CONFIG_PATH=./.env.example yarn typechain",
|
|
|
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
|
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
|
"test": "hardhat test",
|