mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add generation step to production build
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:dev": "npm install --include=dev && npm run generate && tsc",
|
"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:dev": "npm run build:dev && node ./dist/index.js",
|
||||||
"start": "npm run build && node ./dist/index.js",
|
"start": "npm run build && node ./dist/index.js",
|
||||||
"generate": "graphql-codegen --config codegen.ts"
|
"generate": "graphql-codegen --config codegen.ts"
|
||||||
|
|||||||
Reference in New Issue
Block a user