From 75c1435c951f66ed2e6dc31151c1965b8ad1481c Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Fri, 27 Dec 2024 13:41:30 -0800 Subject: [PATCH] update build scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2d8b015..f8478c2 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "description": "", "main": "dist/index.js", "scripts": { - "compile": "npm run generate && tsc", - "start": "npm run compile && node ./dist/index.js", + "build:dev": "npm install --include=dev && npm run generate && tsc", + "build": "npm install --include=dev && tsc && npm prune --omit=dev", + "start:dev": "npm run build:dev && node ./dist/index.js", + "start": "npm run build && node ./dist/index.js", "generate": "graphql-codegen --config codegen.ts" }, "devDependencies": {