Skip to content

Commit

Permalink
docs: mark package as public by default
Browse files Browse the repository at this point in the history
build: add "shx" as dev dep
refactor: use "shx" to clean files and directories instead of Hardhat task
  • Loading branch information
PaulRBerg committed Oct 6, 2021
1 parent 78ba7c4 commit 42fe263
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 12 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@
"lint-staged": "^11.2.0",
"lodash": "^4.17.21",
"mocha": "^9.1.2",
"pinst": "^2.1.6",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
Expand All @@ -62,9 +64,11 @@
"smart-contracts",
"solidity"
],
"private": true,
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat clean",
"clean": "shx rm -rf ./artifacts ./cache ./coverage ./typechain ./coverage.json",
"commit": "git-cz",
"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\"",
Expand All @@ -73,6 +77,8 @@
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
"test": "hardhat test",
Expand Down
9 changes: 0 additions & 9 deletions tasks/clean.ts

This file was deleted.

34 changes: 33 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1286,9 +1286,11 @@ __metadata:
lint-staged: ^11.2.0
lodash: ^4.17.21
mocha: ^9.1.2
pinst: ^2.1.6
prettier: ^2.4.1
prettier-plugin-solidity: ^1.0.0-beta.18
shelljs: ^0.8.4
shx: ^0.3.3
solhint: ^3.3.6
solhint-plugin-prettier: ^0.0.5
solidity-coverage: ^0.7.17
Expand Down Expand Up @@ -6917,6 +6919,13 @@ __metadata:
languageName: node
linkType: hard

"fromentries@npm:^1.3.2":
version: 1.3.2
resolution: "fromentries@npm:1.3.2"
checksum: 33729c529ce19f5494f846f0dd4945078f4e37f4e8955f4ae8cc7385c218f600e9d93a7d225d17636c20d1889106fd87061f911550861b7072f53bf891e6b341
languageName: node
linkType: hard

"fs-extra@npm:8.1.0, fs-extra@npm:^8.1.0":
version: 8.1.0
resolution: "fs-extra@npm:8.1.0"
Expand Down Expand Up @@ -10074,7 +10083,7 @@ fsevents@~2.1.1:
languageName: node
linkType: hard

"minimist@npm:1.2.5, minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:~1.2.5":
"minimist@npm:1.2.5, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:~1.2.5":
version: 1.2.5
resolution: "minimist@npm:1.2.5"
checksum: 86706ce5b36c16bfc35c5fe3dbb01d5acdc9a22f2b6cc810b6680656a1d2c0e44a0159c9a3ba51fb072bb5c203e49e10b51dcd0eec39c481f4c42086719bae52
Expand Down Expand Up @@ -11331,6 +11340,17 @@ fsevents@~2.1.1:
languageName: node
linkType: hard

"pinst@npm:^2.1.6":
version: 2.1.6
resolution: "pinst@npm:2.1.6"
dependencies:
fromentries: ^1.3.2
bin:
pinst: bin.js
checksum: 3644c352a7a956a0a299012609783456e055b2c4dab274bcbe8ea86d3347355a0552da31a7f3fb6ce91d6102f27b6dde64edd69c2cdaaeb811b87bf205655e36
languageName: node
linkType: hard

"please-upgrade-node@npm:^3.2.0":
version: 3.2.0
resolution: "please-upgrade-node@npm:3.2.0"
Expand Down Expand Up @@ -12746,6 +12766,18 @@ [email protected]:
languageName: node
linkType: hard

"shx@npm:^0.3.3":
version: 0.3.3
resolution: "shx@npm:0.3.3"
dependencies:
minimist: ^1.2.3
shelljs: ^0.8.4
bin:
shx: lib/cli.js
checksum: 2e408a79c680cef4d719a56563217031ef20d5c2c18fdfe28933e22d833adabd995ad6fa6be087a141832cb17010facfc0288e90a6743c0276b478759fd393e0
languageName: node
linkType: hard

"side-channel@npm:^1.0.4":
version: 1.0.4
resolution: "side-channel@npm:1.0.4"
Expand Down

0 comments on commit 42fe263

Please sign in to comment.