mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
[Dev] Update webpack-cli
to v4 (#1347)
This commit is contained in:
parent
7574b6445b
commit
cf741a3103
970
package-lock.json
generated
970
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user