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