Skip to content

Commit

Permalink
🔨 Husky install scripts in package.json & disable with pinst (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecarlo authored Jan 3, 2024
1 parent 61380f2 commit 35f9bc7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@humankode/git-commit-emojify",
"version": "0.0.15",
"version": "0.0.16",
"private": false,
"description": "A script for the prepare-commit-msg git hook that automatically emojifies git messages",
"repository": "github:thecarlo/git-commit-emojify",
Expand All @@ -26,7 +26,9 @@
"lint:fix": "eslint --fix 'src/**/*.ts'",
"prettier": "prettier --check 'src/**/*.ts'",
"prettier:fix": "prettier --write 'src/**/*.ts'",
"prepare": "husky install"
"postinstall": "husky install",
"prepack": "pinst --disable",
"postpack": "pinst --enable"
},
"devDependencies": {
"@types/jest": "^29.5.11",
Expand All @@ -45,6 +47,7 @@
"husky": "^8.0.3",
"jest": "^29.7.0",
"lilconfig": "^3.0.0",
"pinst": "^3.0.0",
"prettier": "^3.1.1",
"prettier-eslint": "^16.2.0",
"ts-jest": "^29.1.1",
Expand Down

0 comments on commit 35f9bc7

Please sign in to comment.