|
@@ -21,6 +21,7 @@
|
|
"@nomiclabs/buidler-waffle": "^2.0.0",
|
|
"@nomiclabs/buidler-waffle": "^2.0.0",
|
|
"@typechain/ethers-v5": "^0.0.2",
|
|
"@typechain/ethers-v5": "^0.0.2",
|
|
"@types/chai": "^4.2.11",
|
|
"@types/chai": "^4.2.11",
|
|
|
|
+ "@types/fs-extra": "^9.0.1",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/node": "^14.0.14",
|
|
"@types/node": "^14.0.14",
|
|
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
|
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
|
@@ -33,6 +34,7 @@
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"ethereum-waffle": "^3.0.1",
|
|
"ethereum-waffle": "^3.0.1",
|
|
"ethers": "^5.0.4",
|
|
"ethers": "^5.0.4",
|
|
|
|
+ "fs-extra": "^9.0.1",
|
|
"husky": "^4.2.5",
|
|
"husky": "^4.2.5",
|
|
"mocha": "^8.0.1",
|
|
"mocha": "^8.0.1",
|
|
"prettier": "^2.0.5",
|
|
"prettier": "^2.0.5",
|
|
@@ -42,6 +44,7 @@
|
|
"solhint": "^3.0.0",
|
|
"solhint": "^3.0.0",
|
|
"solhint-plugin-prettier": "^0.0.4",
|
|
"solhint-plugin-prettier": "^0.0.4",
|
|
"solidity-coverage": "^0.7.9",
|
|
"solidity-coverage": "^0.7.9",
|
|
|
|
+ "ts-generator": "^0.0.8",
|
|
"ts-node": "^8.10.2",
|
|
"ts-node": "^8.10.2",
|
|
"typechain": "^2.0.0",
|
|
"typechain": "^2.0.0",
|
|
"typescript": "^3.9.6"
|
|
"typescript": "^3.9.6"
|
|
@@ -66,15 +69,15 @@
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
"build": "yarn run compile && yarn run typechain",
|
|
"build": "yarn run compile && yarn run typechain",
|
|
- "clean": "shx rm -rf ./artifacts ./cache ./typechain ./tsconfig.build.tsbuildinfo",
|
|
|
|
|
|
+ "clean": "buidler clean",
|
|
"commit": "git-cz",
|
|
"commit": "git-cz",
|
|
"compile": "buidler compile",
|
|
"compile": "buidler compile",
|
|
"coverage": "buidler coverage --solcoverjs ./.solcover.js --network coverage --temp artifacts --testfiles './test/**/*.ts'",
|
|
"coverage": "buidler coverage --solcoverjs ./.solcover.js --network coverage --temp artifacts --testfiles './test/**/*.ts'",
|
|
"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.js --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",
|
|
"test": "buidler test",
|
|
- "typechain": "typechain --outDir typechain --target ethers-v5 'artifacts/*.json'"
|
|
|
|
|
|
+ "typechain": "buidler typechain"
|
|
}
|
|
}
|
|
}
|
|
}
|