Skip to content

Commit

Permalink
fix(scripts): use husky-run init in postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Sep 4, 2021
1 parent 7aba1a3 commit bf4c32b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,15 @@
"types": "./esm/index.d.ts",
"scripts": {
"clean": "rimraf node_modules",
"postinstall": "is-ci || husky-run install",
"postinstall": "is-ci || husky-run init",
"check:format": "prettier --check .",
"check:install": "yarn dlx @yarnpkg/doctor .",
"check:style": "eslint . --ext md,js,ts",
"fix:format": "prettier --write .",
"fix:style": "yarn check:style --fix --cache",
"build": "ts-node ./scripts/build",
"prepack": "is-ci || dotenv -c production -- yarn build",
"release": "dotenv -c production -- ts-node ./scripts/release",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
"release": "dotenv -c production -- ts-node ./scripts/release"
},
"devDependencies": {
"@babel/core": "7.15.4",
Expand Down Expand Up @@ -74,7 +72,6 @@
"is-ci": "3.0.0",
"lint-staged": "11.0.0",
"lodash": "4.17.21",
"pinst": "2.1.6",
"prettier": "2.3.2",
"prettier-plugin-sh": "0.7.0",
"read-pkg": "5.2.0",
Expand Down

0 comments on commit bf4c32b

Please sign in to comment.