Skip to content

Commit

Permalink
git commit -a -m "updated npm scripts"
Browse files Browse the repository at this point in the history
  • Loading branch information
pinpong committed Sep 18, 2023
1 parent 89b831f commit e5a12df
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.idea/
.vscode/
node_modules/
build
.DS_Store
*.tgz
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm/
.husky/
build/
dist/
temp/
Expand Down
5 changes: 0 additions & 5 deletions .husky/pre-commit

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"module": "dist/index.module.js",
"unpkg": "dist/index.umd.js",
"scripts": {
"postinstall": "husky install",
"postinstall": "husky install && husky set .husky/pre-commit \"yarn test\" && husky add .husky/pre-commit \"yarn lint-staged\"",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"build": "rm -rf ./dist && tsc",
Expand Down

0 comments on commit e5a12df

Please sign in to comment.