tildefriends/package.json
Tasia Iso 5e72c9caf4
build: add husky to automatically format code
- husky installs a git hook to run make format every time you commit new code
- if `make format` fails (if a dependency is missing or prettier throws an error), the hook will still succeed as to not block people for dumb reasons
- pin prettier and husky to 3.2.5 and 9.0.11 respectively
- add prettier as a dependency for the `make format` rule
2024-06-04 15:08:10 +02:00

14 lines
237 B
JSON

{
"name": "tildefriends",
"scripts": {
"prettier": "prettier . --check --cache --write",
"prepare": "husky"
},
"author": "Cory McWilliams",
"license": "MIT",
"devDependencies": {
"prettier": "3.2.5",
"husky": "9.0.11"
}
}