Craco + CI

This commit is contained in:
Patrick Fic
2021-03-02 16:44:33 -08:00
parent 99b5d7b337
commit 420afc5152
3 changed files with 176 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
"proxy": "http://localhost:5000",
"dependencies": {
"@apollo/client": "^3.3.11",
"@craco/craco": "^6.1.1",
"@fingerprintjs/fingerprintjs": "^3.0.6",
"@lourenci/react-kanban": "^2.1.0",
"@sentry/react": "^6.2.0",
@@ -57,10 +58,10 @@
},
"scripts": {
"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",
"start": "craco start",
"build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build",
"build-deploy": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build && s3cmd sync build/* s3://imex-online-production && echo '🚀 Deployed!'",
"test": "craco test",
"eject": "react-scripts eject",
"madge": "madge --image ./madge-graph.svg --extensions js,jsx,ts,tsx --circular ."
},