Browse Source

Update dev run script in package.json

Lee Morgan 5 năm trước cách đây
mục cha
commit
2ce49a4c99
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      package.json

+ 3 - 1
package.json

@@ -6,7 +6,9 @@
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
     "start": "node app.js",
-    "watch-js": "watchify views/dashboardPage/js/dashboard.js -o views/dashboardPage/bundle.js"
+    "build": "watchify ./views/dashboardPage/js/dashboard.js -o ./views/dashboardPage/bundle.js",
+    "nodemon": "nodemon app.js",
+    "dev": "npm run build | npm run nodemon"
   },
   "repository": {
     "type": "git",