Added nodemon scripts
This commit is contained in:
15
package.json
15
package.json
@@ -5,9 +5,10 @@
|
||||
"main": "./src/main.ts",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "ts-node ./src/main.ts",
|
||||
"build": "tsc",
|
||||
"start": "node ./dist/main.js"
|
||||
"dev": "nodemon",
|
||||
"build": "tsc -p ./",
|
||||
"start": "ts-node ./src/main.ts",
|
||||
"start:prod": "node ./dist/main.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -40,19 +41,21 @@
|
||||
"morgan": "^1.10.0",
|
||||
"mysql": "^2.18.1",
|
||||
"nodemailer": "^6.6.3",
|
||||
"uuid": "^8.3.2"
|
||||
"uuid": "^8.3.2",
|
||||
"mariadb": "^2.5.4",
|
||||
"sequelize": "^6.6.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cors": "^2.8.12",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/helmet": "^4.0.0",
|
||||
"@types/morgan": "^1.9.3",
|
||||
"@types/validator": "^13.6.3",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"dotenv": "^8.6.0",
|
||||
"eslint": "^7.31.0",
|
||||
"eslint-plugin-import": "^2.23.4",
|
||||
"mariadb": "^2.5.4",
|
||||
"sequelize": "^6.6.5",
|
||||
"nodemon": "^1.18.6",
|
||||
"ts-node": "^10.1.0",
|
||||
"typescript": "^4.3.5"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user