Skip to content

Commit

Permalink
fix: remove postinstall script fp-138 (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove authored Jan 12, 2024
1 parent 0906a28 commit 8cf9b1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"node": ">=10"
},
"scripts": {
"postinstall": "npx simple-git-hooks",
"_prettier": "prettier \"**/*.{json,md,yml,js}\"",
"ci:lint:commit": "npx @commitlint/cli --edit",
"git:hook:precommit": "lint-staged",
"git:hook:commit": "npx @commitlint/cli --edit",
"ci:lint:fs": "ls-lint",
"ci:lint:editor": "editorconfig-checker",
"ci:lint:trash": "knip --config knip.config.js",
Expand All @@ -40,6 +40,7 @@
"ci:lint": "npm run ci:lint:fs && npm run ci:lint:editor && npm run ci:lint:trash && npm run ci:lint:format && npm run ci:lint:js && npm run ci:lint:type",
"ci:test": "node --import jsdom-global/register.js --test",
"ci:format": "npm run _prettier -- --write",
"ci:prepare": "simple-git-hooks",
"build:clean": "rm -rf dist",
"build:dist": "tsc -p tsconfig.build.json",
"build:cp": "cp -r src readme.md package.json LICENSE dist",
Expand Down Expand Up @@ -77,7 +78,7 @@
"typescript": "5.3.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npm run ci:lint:commit"
"pre-commit": "npm run git:hook:precommit",
"commit-msg": "npm run git:hook:commit"
}
}

0 comments on commit 8cf9b1f

Please sign in to comment.