mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-21 15:03:48 -05:00
Compile and run server directly for prod, instead of using ts-node
This commit is contained in:
parent
d6a3fb766f
commit
11996e5174
1
server/.gitignore
vendored
Normal file
1
server/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
dist/
|
@ -21,6 +21,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "npm run dev",
|
||||
"dev": "ts-node --files ./src/server.ts"
|
||||
"dev": "ts-node --files ./src/server.ts",
|
||||
"build": "tsc",
|
||||
"serve": "node dist/server.js"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,11 @@
|
||||
{
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"strict": true,
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "dist",
|
||||
"experimentalDecorators": true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user