✨ Nodemon working
This commit is contained in:
parent
06bd4f1a61
commit
f178a2116b
@ -1,5 +1,5 @@
|
||||
{
|
||||
"watch": ["./src/", "./.env", "./package.json", "./tsconfig.json"],
|
||||
"exec": "npm run build && npm run start",
|
||||
"exec": "npm run start",
|
||||
"ext": "ts"
|
||||
}
|
@ -17,11 +17,12 @@
|
||||
"@Test": "./dist/test"
|
||||
},
|
||||
"scripts": {
|
||||
"api:startonly": "node ./dist/entries/App.js",
|
||||
"build": "tsc",
|
||||
"api:start": "npm run migrate && npx prisma db seed && node ./dist/entries/App.js",
|
||||
"start": "tsc && npm run api:start",
|
||||
"start": "tsc && npm run api:startonly",
|
||||
"dev": "nodemon -V",
|
||||
"api:dev": "nodemon -V --exec 'tsc && npm run api:start'",
|
||||
"api:dev": "nodemon",
|
||||
"build:test": "tsc && mocha ./dist/entries/Test.js",
|
||||
"format": "prettier --write src",
|
||||
"migrate": "npx prisma migrate deploy",
|
||||
|
Loading…
x
Reference in New Issue
Block a user