Skip to content

Commit b3c7ba7

Browse files
committed
chore: add cookie-parser, helmet and pino-pretty
1 parent 49dbf72 commit b3c7ba7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-express-backend-component",
2+
"name": "node-express-firebase-mongodb",
33
"version": "1.0.0",
44
"description": "",
55
"main": "dist/server.cjs",
@@ -13,7 +13,7 @@
1313
"format": "prettier -w '**/*.{js,ts,mjs,cjs,json,tsx,jsx}'",
1414
"format:check": "prettier --check '**/*.{js,ts,mjs,cjs,json,tsx,jsx}'",
1515
"tsc:check": "tsc -p tsconfig.json --noEmit",
16-
"dev": "tsx watch ./src/server.ts",
16+
"dev": "tsx watch ./src/server.ts | pino-pretty",
1717
"build": "pkgroll",
1818
"test": "vitest --run --coverage"
1919
},
@@ -29,6 +29,7 @@
2929
"eslint-config-prettier": "^9.0.0",
3030
"eslint-import-resolver-typescript": "^3.5.5",
3131
"eslint-plugin-import": "^2.27.5",
32+
"pino-pretty": "^11.2.2",
3233
"pkgroll": "^2.0.0",
3334
"prettier": "^3.3.3",
3435
"prisma": "^5.2.0",
@@ -49,12 +50,15 @@
4950
},
5051
"dependencies": {
5152
"@prisma/client": "^5.2.0",
53+
"@types/cookie-parser": "^1.4.7",
5254
"@types/cors": "^2.8.17",
5355
"@types/express": "^4.17.17",
5456
"@types/node": "^22.1.0",
57+
"cookie-parser": "^1.4.6",
5558
"cors": "^2.8.5",
5659
"express": "^4.18.2",
5760
"firebase-admin": "^12.0.0",
61+
"helmet": "^7.1.0",
5862
"mongodb": "^6.3.0",
5963
"pino": "^9.0.0",
6064
"pino-http": "^10.0.0"

0 commit comments

Comments
 (0)