Added pino-pretty for prettifying logging

This commit is contained in:
gbuomprisco
2024-11-01 14:45:02 +08:00
parent 2f1be787f7
commit 3b88733d6c
2 changed files with 132 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
"build": "pnpm with-env next build",
"build:test": "NODE_ENV=test pnpm with-env:test next build",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev --turbo",
"dev": "pnpm with-env next dev --turbo | pino-pretty -c",
"lint": "next lint && eslint .",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"start": "pnpm with-env next start",
@@ -87,6 +87,7 @@
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"import-in-the-middle": "1.11.2",
"pino-pretty": "^10.0.0",
"prettier": "^3.3.3",
"require-in-the-middle": "7.4.0",
"supabase": "^1.207.9",