Updated deployment script.

This commit is contained in:
Patrick Fic
2020-10-08 08:27:02 -07:00
parent ac86659202
commit 630e8a32ed

View File

@@ -64,6 +64,7 @@
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "react-scripts start",
"build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build",
"build-deploy": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build && $ s3cmd sync build/* s3://imex-online-production && echo '🚀 Deployed!'",
"test": "react-scripts test",
"eject": "react-scripts eject",
"madge": "madge --image ./madge-graph.svg --extensions js,jsx,ts,tsx --circular ."