mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
update build scripts
This commit is contained in:
@@ -4,8 +4,10 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile": "npm run generate && tsc",
|
"build:dev": "npm install --include=dev && npm run generate && tsc",
|
||||||
"start": "npm run compile && node ./dist/index.js",
|
"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"
|
"generate": "graphql-codegen --config codegen.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user