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": {