mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
add generation step to production build
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build:dev": "npm install --include=dev && npm run generate && tsc",
|
||||
"build": "npm install --include=dev && tsc && npm prune --omit=dev",
|
||||
"build": "npm install --include=dev && npm run generate && 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"
|
||||
|
||||
Reference in New Issue
Block a user