[Dev] Update webpack-cli to v4 (#1347)

This commit is contained in:
Alexander Zinchuk 2021-08-03 01:31:12 +03:00
parent 7574b6445b
commit cf741a3103
2 changed files with 363 additions and 620 deletions

970
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"dev": "cross-env APP_ENV=development webpack-dev-server -d",
"build": "webpack -p",
"dev": "cross-env APP_ENV=development webpack serve --env mode=dev --env isDevServer --env NODE_ENV=development --config ./webpack.config.js",
"build": "webpack --mode production",
"build:staging": "rm -rf dist/ && APP_ENV=staging npm run build && ./deploy/copy_to_dist.sh",
"build:production": "npm i && rm -rf dist/ && APP_VERSION=$(npm run inc_version --silent) APP_ENV=production npm run build && ./deploy/copy_to_dist.sh",
"deploy:production": "npm run build:production && git add -A && git commit -a -m '[Build]' --no-verify && git push",
@ -42,11 +42,13 @@
"@types/croppie": "^2.5.4",
"@types/css-font-loading-module": "0.0.2",
"@types/dom-mediacapture-record": "^1.0.3",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/resize-observer-browser": "^0.1.3",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"@webpack-cli/serve": "^1.5.1",
"autoprefixer": "^9.8.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.1.0",
@ -91,11 +93,10 @@
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^4.2.2",
"worker-loader": "^2.0.0",
"@types/jest": "^26.0.15"
"worker-loader": "^2.0.0"
},
"dependencies": {
"@cryptography/aes": "^0.1.1",