|
@@ -41,9 +41,11 @@
|
|
"lint-staged": "^11.2.0",
|
|
"lint-staged": "^11.2.0",
|
|
"lodash": "^4.17.21",
|
|
"lodash": "^4.17.21",
|
|
"mocha": "^9.1.2",
|
|
"mocha": "^9.1.2",
|
|
|
|
+ "pinst": "^2.1.6",
|
|
"prettier": "^2.4.1",
|
|
"prettier": "^2.4.1",
|
|
"prettier-plugin-solidity": "^1.0.0-beta.18",
|
|
"prettier-plugin-solidity": "^1.0.0-beta.18",
|
|
"shelljs": "^0.8.4",
|
|
"shelljs": "^0.8.4",
|
|
|
|
+ "shx": "^0.3.3",
|
|
"solhint": "^3.3.6",
|
|
"solhint": "^3.3.6",
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
"solidity-coverage": "^0.7.17",
|
|
"solidity-coverage": "^0.7.17",
|
|
@@ -62,9 +64,11 @@
|
|
"smart-contracts",
|
|
"smart-contracts",
|
|
"solidity"
|
|
"solidity"
|
|
],
|
|
],
|
|
- "private": true,
|
|
|
|
|
|
+ "publishConfig": {
|
|
|
|
+ "access": "public"
|
|
|
|
+ },
|
|
"scripts": {
|
|
"scripts": {
|
|
- "clean": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat clean",
|
|
|
|
|
|
+ "clean": "shx rm -rf ./artifacts ./cache ./coverage ./typechain ./coverage.json",
|
|
"commit": "git-cz",
|
|
"commit": "git-cz",
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
"coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
|
|
"coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
|
|
@@ -73,6 +77,8 @@
|
|
"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 .",
|
|
"postinstall": "husky install",
|
|
"postinstall": "husky install",
|
|
|
|
+ "postpublish": "pinst --enable",
|
|
|
|
+ "prepublishOnly": "pinst --disable",
|
|
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
|
|
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
|
|
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
|
|
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
|
|
"test": "hardhat test",
|
|
"test": "hardhat test",
|