|
@@ -11,10 +11,9 @@
|
|
"@commitlint/config-conventional": "^9.1.2",
|
|
"@commitlint/config-conventional": "^9.1.2",
|
|
"@ethersproject/abstract-signer": "^5.0.6",
|
|
"@ethersproject/abstract-signer": "^5.0.6",
|
|
"@ethersproject/bignumber": "^5.0.8",
|
|
"@ethersproject/bignumber": "^5.0.8",
|
|
- "@nomiclabs/buidler": "^1.4.7",
|
|
|
|
- "@nomiclabs/buidler-ethers": "^2.0.2",
|
|
|
|
- "@nomiclabs/buidler-waffle": "^2.1.0",
|
|
|
|
- "@typechain/ethers-v5": "^1.0.0",
|
|
|
|
|
|
+ "@nomiclabs/hardhat-ethers": "^2.0.0",
|
|
|
|
+ "@nomiclabs/hardhat-waffle": "^2.0.0",
|
|
|
|
+ "@typechain/ethers-v5": "^2.0.0",
|
|
"@types/chai": "^4.2.13",
|
|
"@types/chai": "^4.2.13",
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/mocha": "^7.0.2",
|
|
@@ -30,6 +29,8 @@
|
|
"ethereum-waffle": "^3.2.0",
|
|
"ethereum-waffle": "^3.2.0",
|
|
"ethers": "^5.0.17",
|
|
"ethers": "^5.0.17",
|
|
"fs-extra": "^9.0.1",
|
|
"fs-extra": "^9.0.1",
|
|
|
|
+ "hardhat": "^2.0.2",
|
|
|
|
+ "hardhat-typechain": "^0.3.3",
|
|
"husky": "^4.3.0",
|
|
"husky": "^4.3.0",
|
|
"mocha": "^8.1.3",
|
|
"mocha": "^8.1.3",
|
|
"prettier": "^2.1.2",
|
|
"prettier": "^2.1.2",
|
|
@@ -38,10 +39,10 @@
|
|
"solc": "0.7.4",
|
|
"solc": "0.7.4",
|
|
"solhint": "^3.2.1",
|
|
"solhint": "^3.2.1",
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
- "solidity-coverage": "^0.7.11",
|
|
|
|
- "ts-generator": "^0.0.8",
|
|
|
|
|
|
+ "solidity-coverage": "^0.7.12",
|
|
|
|
+ "ts-generator": "^0.1.1",
|
|
"ts-node": "^8.10.2",
|
|
"ts-node": "^8.10.2",
|
|
- "typechain": "^2.0.1",
|
|
|
|
|
|
+ "typechain": "^3.0.0",
|
|
"typescript": "^3.9.7"
|
|
"typescript": "^3.9.7"
|
|
},
|
|
},
|
|
"files": [
|
|
"files": [
|
|
@@ -58,16 +59,16 @@
|
|
"access": "public"
|
|
"access": "public"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "clean": "buidler clean",
|
|
|
|
|
|
+ "clean": "hardhat clean",
|
|
"commit": "git-cz",
|
|
"commit": "git-cz",
|
|
- "compile": "buidler compile",
|
|
|
|
- "coverage": "buidler coverage --solcoverjs ./.solcover.js --network coverage --temp artifacts --testfiles \"./test/**/*.ts\"",
|
|
|
|
- "lint": "yarn lint:sol && yarn run lint:ts && yarn run prettier:list-different",
|
|
|
|
|
|
+ "compile": "hardhat compile",
|
|
|
|
+ "coverage": "hardhat coverage --solcoverjs ./.solcover.js --network coverage --temp artifacts --testfiles \"./test/**/*.ts\"",
|
|
|
|
+ "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:list-different",
|
|
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
|
|
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
|
|
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
"prettier": "prettier --config .prettierrc --write \"**/*.{js,json,md,sol,ts}\"",
|
|
"prettier": "prettier --config .prettierrc --write \"**/*.{js,json,md,sol,ts}\"",
|
|
"prettier:list-different": "prettier --config .prettierrc --list-different \"**/*.{js,json,md,sol,ts}\"",
|
|
"prettier:list-different": "prettier --config .prettierrc --list-different \"**/*.{js,json,md,sol,ts}\"",
|
|
- "test": "buidler test",
|
|
|
|
- "typechain": "buidler typechain"
|
|
|
|
|
|
+ "test": "hardhat test",
|
|
|
|
+ "typechain": "hardhat typechain"
|
|
}
|
|
}
|
|
}
|
|
}
|