Skip to content

Commit

Permalink
Add precommit test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 20, 2024
1 parent fb14cff commit abdd61a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm test
19 changes: 19 additions & 0 deletions package-lock.json

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

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"scripts": {
"test": "node --test",
"demo": "node ."
"demo": "node .",
"prepare": "husky"
},
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -45,5 +46,8 @@
"kleur": "^4.1.5",
"posthtml": "^0.16.6",
"turndown": "^7.2.0"
},
"devDependencies": {
"husky": "^9.1.7"
}
}

0 comments on commit abdd61a

Please sign in to comment.