wip: fix server nodemon
This commit is contained in:
6
server/nodemon.json
Normal file
6
server/nodemon.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"watch": ["src"],
|
||||
"ext": "ts,json",
|
||||
"exec": "ts-node src/index.ts"
|
||||
}
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
"license": "GPL-3.0",
|
||||
"author": "",
|
||||
"type": "commonjs",
|
||||
"main": "index.js",
|
||||
"main": "../dist/out-tsc/server/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "nodemon",
|
||||
"start": "ts-node src/index.ts",
|
||||
"build": "tsc",
|
||||
"build": "tsc src/*",
|
||||
"serve": "node ../dist/out-tsc/server/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -24,6 +25,7 @@
|
||||
"@types/express": "^5.0.6",
|
||||
"@types/node": "^25.3.2",
|
||||
"@types/pg": "^8.16.0",
|
||||
"concurrently": "^9.2.1",
|
||||
"eslint": "^10.0.2",
|
||||
"nodemon": "^3.1.14",
|
||||
"prettier": "^3.8.1",
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
"outDir": "../dist/out-tsc/server",
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"module": "nodenext"
|
||||
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
|
||||
Reference in New Issue
Block a user