From 822cde621f780b4dff39326e594672de32fa0a6d Mon Sep 17 00:00:00 2001 From: Guillermo Pages Date: Sun, 19 Oct 2025 13:33:43 +0200 Subject: [PATCH] chore: npm start build scripts --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 692b75f..9307920 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,10 @@ "main": "build/src/index.js", "type": "commonjs", "scripts": { - "build": "tsc", - "build:prod": "tsc", - "start": "node build/src/index.js", + "start": "npm run build:prod && node ./build/src/index.js", + "build": "npm run build:prod", + "build:prod": "./node_modules/typescript/bin/tsc --project tsconfig.prod.json", + "build:test": "./node_modules/typescript/bin/tsc --project tsconfig.test.json", "dev": "ts-node src/index.ts", "test": "echo \"Error: no test specified\" && exit 1" },