浏览代码

updating scripts

Ubuntu 6 年之前
父节点
当前提交
53a5af754d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -18,7 +18,8 @@
   },
   "scripts": {
     "start": "npm-run-all --parallel watch:server start:web",
-    "start:web": "react-scripts start",
+    "start-light": "npm-run-all start:web start:server",
+    "start:web": "PORT=3001 react-scripts start",
     "start:server": "node src/server",
     "watch:server": "nodemon --watch src/server src/server",
     "build": "react-scripts build",