aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2024-10-29 13:14:04 +0530
committerRitesh Ghosh <[email protected]>2024-10-29 13:14:04 +0530
commit96bbe101bf79a563d18bcd0a7d3ebab5bf99b54e (patch)
treee6b6906353fc14218cbf8bc50bd8941770d50be5 /package.json
parentac07ce91ea32c71e57a2f956d32daf729307699d (diff)
downloadaniwatch-api-96bbe101bf79a563d18bcd0a7d3ebab5bf99b54e.tar.xz
aniwatch-api-96bbe101bf79a563d18bcd0a7d3ebab5bf99b54e.zip
chore: add prettier dev dep and script for lint check
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index f5eb044..612d91e 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,9 @@
"vercel-build": "echo \"Hello\"",
"prepare": "husky install",
"test": "vitest run --config vitest.config.ts",
- "healthcheck": "curl -f http://localhost:4000/health"
+ "healthcheck": "curl -f http://localhost:4000/health",
+ "lint": "prettier --cache --write .",
+ "lint:ci": "prettier --cache --check ."
},
"repository": {
"type": "git",
@@ -40,6 +42,7 @@
"devDependencies": {
"@types/node": "^22.7.4",
"husky": "^8.0.3",
+ "prettier": "^3.3.3",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vitest": "^2.1.2"