Re-add Craco & Cypress

This commit is contained in:
Patrick Fic
2021-12-14 16:00:31 -08:00
parent 25f06ce713
commit f6080a1d38
29 changed files with 22357 additions and 42 deletions

View File

@@ -6,6 +6,7 @@
"dependencies": {
"@apollo/client": "^3.5.6",
"@asseinfo/react-kanban": "^2.2.0",
"@craco/craco": "^6.4.3",
"@fingerprintjs/fingerprintjs": "^3.3.1",
"@sentry/react": "^6.16.1",
"@sentry/tracing": "^6.16.1",
@@ -16,6 +17,7 @@
"antd": "^4.17.3",
"apollo-link-logger": "^2.0.0",
"axios": "^0.24.0",
"craco-less": "^1.20.0",
"dinero.js": "^1.9.1",
"dotenv": "^10.0.0",
"enquire-js": "^0.2.1",
@@ -80,11 +82,11 @@
},
"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 --max_old_space_size=3072 build",
"start": "craco start",
"build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build",
"build:test": "env-cmd -f .env.test yarn run build",
"build-deploy:test": "yarn run build:test && s3cmd sync build/* s3://imex-online-test && echo '🚀 TESTING Deployed!'",
"buildcra": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build",
"buildcra": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"madge": "madge --image ./madge-graph.svg --extensions js,jsx,ts,tsx --circular ."
@@ -109,6 +111,7 @@
},
"devDependencies": {
"@sentry/webpack-plugin": "^1.18.3",
"cypress": "^9.1.1",
"redux-logger": "^3.0.6",
"source-map-explorer": "^2.5.2"
}