From 3c85841b878d24fd9b9b18c64b832864dcd797e1 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Thu, 13 Jul 2023 15:41:39 +0200 Subject: [PATCH] fix: Added npm scripts to start and deploy with pino-pretty formatting --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index f5bbb22..2385f3c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,9 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node ./index.js", + "start-pretty": "node ./index.js | pino-pretty", "deploy": "node ./deploy-commands.js && node ./deploy-system-commands.js", + "deploy-pretty": "node ./deploy-commands.js | pino-pretty && node ./deploy-system-commands.js | pino-pretty", "eslint": "eslint ./" }, "dependencies": {