diff options
author | HampusM <hampus@hampusmat.com> | 2021-05-24 10:49:41 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-05-24 10:49:41 +0200 |
commit | 518bd58c5aba1a6eaa645074f3ae2d780c45f6dc (patch) | |
tree | a99acd3b434422e019bc76064ad0798c8472f07d /package.json | |
parent | 21e52ba2fa323e8aebf291882083c1eca9f6a5af (diff) |
Restructured the whole project & added Nodemon and Concurrently
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/package.json b/package.json index 8db9404..6248a10 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,10 @@ "description": "A simple git web-frontend made with nodejs", "main": "dist/app.html", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "dev": "parcel watch --no-source-maps src/app.html", - "build": "parcel build --no-source-maps src/app.html" + "start": "node src/app.js", + "dev": "concurrently \"parcel watch --no-source-maps src/frontend/app.html\" \"nodemon src/app.js\"", + "build": "parcel build --no-source-maps src/frontend/app.html", + "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", @@ -20,6 +21,7 @@ "homepage": "https://gitlab.com/HampusMat/nodejs-git-frontend#readme", "dependencies": { "bootstrap": "^5.0.0-beta3", + "concurrently": "^6.1.0", "date-fns": "^2.21.3", "express": "^5.0.0-alpha.8", "highlight.js": "^10.4.1", @@ -34,6 +36,7 @@ "@parcel/transformer-vue": "^2.0.0-beta.2", "eslint": "^7.27.0", "eslint-plugin-vue": "^7.9.0", + "nodemon": "^2.0.7", "parcel": "^2.0.0-beta.2" } } |