fix: add serve for production deployment
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
"react-snap": "^1.23.0",
|
"react-snap": "^1.23.0",
|
||||||
"reactflow": "^11.11.4",
|
"reactflow": "^11.11.4",
|
||||||
"serialize-javascript": "^6.0.0",
|
"serialize-javascript": "^6.0.0",
|
||||||
|
"serve": "^14.2.4",
|
||||||
"turndown": "^7.2.1",
|
"turndown": "^7.2.1",
|
||||||
"web-vitals": "^2.1.4"
|
"web-vitals": "^2.1.4"
|
||||||
},
|
},
|
||||||
@@ -56,6 +57,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
|
"start:prod": "serve -s build -l 3000",
|
||||||
"build": "react-scripts build && react-snap",
|
"build": "react-scripts build && react-snap",
|
||||||
"build:no-snap": "react-scripts build",
|
"build:no-snap": "react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
|
|||||||
Reference in New Issue
Block a user