Configured api and client for production builds
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server",
|
||||
"test-jest": "jest",
|
||||
"test-cypress": "node_modules/.bin/cypress open",
|
||||
"build": "rm -rf dist && webpack --config webpack.config.production.js --progress",
|
||||
"start:production": "pm2 start server.js",
|
||||
"test:jest": "jest",
|
||||
"test:cypress": "node_modules/.bin/cypress open",
|
||||
"build": "rm -rf build && webpack --config webpack.config.production.js --progress",
|
||||
"pre-commit": "lint-staged"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -46,7 +47,10 @@
|
||||
"@4tw/cypress-drag-drop": "^1.3.0",
|
||||
"axios": "^0.19.0",
|
||||
"color": "^3.1.2",
|
||||
"compression": "^1.7.4",
|
||||
"core-js": "^3.4.7",
|
||||
"express": "^4.17.1",
|
||||
"express-history-api-fallback": "^2.2.1",
|
||||
"formik": "^2.1.1",
|
||||
"history": "^4.10.1",
|
||||
"jwt-decode": "^2.2.0",
|
||||
|
||||
Reference in New Issue
Block a user