feat: Add nodemon for automatic restarting of server
This commit is contained in:
@@ -8,19 +8,19 @@
|
||||
"build-report": "cross-env NODE_ENV=production BUILD_REPORT=true webpack --progress",
|
||||
"watch": "yarn webpack serve --mode development --env development",
|
||||
"start": "node server.js",
|
||||
"dev": "cross-env NODE_ENV=development node server.js",
|
||||
"dev": "cross-env NODE_ENV=development nodemon --exec node server.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"author": "Kevin Midbøe & Kasper Rynning-Tønnesen",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@sentry/browser": "^5.28.0",
|
||||
"@sentry/integrations": "^5.28.0",
|
||||
"@zxing/library": "^0.18.3",
|
||||
"canvas-confetti": "^1.2.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"chart.js": "^2.9.3",
|
||||
"connect-mongo": "^3.2.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"express": "^4.17.1",
|
||||
"express-session": "^1.17.0",
|
||||
"moment": "^2.24.0",
|
||||
@@ -51,6 +51,7 @@
|
||||
"google-maps-api-loader": "^1.1.1",
|
||||
"html-webpack-plugin": "5.0.0-alpha.15",
|
||||
"mini-css-extract-plugin": "~1.3.2",
|
||||
"nodemon": "2.0.7",
|
||||
"optimize-css-assets-webpack-plugin": "~5.0.4",
|
||||
"redis": "^3.0.2",
|
||||
"sass-loader": "~10.1.0",
|
||||
|
||||
Reference in New Issue
Block a user