mirror of
https://github.com/philipredstone/relnet.git
synced 2025-07-09 15:16:41 +02:00
add prettifier
This commit is contained in:
@ -5,7 +5,10 @@
|
||||
"scripts": {
|
||||
"start": "node dist/server.js",
|
||||
"dev": "nodemon --exec ts-node src/server.ts",
|
||||
"build": "tsc"
|
||||
"build": "tsc",
|
||||
"format": "prettier --write \"src/**/*.{ts,js,json}\"",
|
||||
"format:check": "prettier --check \"src/**/*.{ts,js,json}\"",
|
||||
"format:all": "npm run format && cd frontend && npm run format"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -38,6 +41,7 @@
|
||||
"@types/mongoose": "^5.11.97",
|
||||
"@types/node": "^22.14.1",
|
||||
"nodemon": "^3.1.9",
|
||||
"prettier": "^3.5.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.8.3"
|
||||
}
|
||||
|
Reference in New Issue
Block a user