Ajout de npm run prod

forever start $(which npx) serve -l 1234 -s
This commit is contained in:
Anthony Dumas 2021-02-10 12:09:19 +01:00 committed by GitHub
parent cd36f42dce
commit 9b5eb16253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,8 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"prod": "forever start $(which npx) serve -l 1234 -s"
},
"eslintConfig": {
"extends": [