Skip to content

Commit 57fd9c4

Browse files
committed
chore: fix README
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
1 parent 8911621 commit 57fd9c4

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
npm run all
2+
git update-index --again

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.github/**/*.yaml
2+
dist/*

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
2727
"package:watch": "npm run package -- --watch",
2828
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
29-
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
29+
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package",
30+
"prepare": "husky"
3031
},
3132
"exports": {
3233
".": "./dist/index.js"
@@ -49,6 +50,7 @@
4950
"eslint-plugin-import": "^2.31.0",
5051
"eslint-plugin-jest": "^28.11.0",
5152
"eslint-plugin-prettier": "^5.2.6",
53+
"husky": "^9.1.7",
5254
"jest": "^29.7.0",
5355
"make-coverage-badge": "^1.2.0",
5456
"prettier": "^3.5.3",

0 commit comments

Comments
 (0)