diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 17:49:49 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 17:51:42 +0200 |
commit | 96746d7165f28553b53bd259d03aaf5d63290b7a (patch) | |
tree | d6ff84649d848b051e452ea1c72c7f1c70c74755 /package.json | |
parent | 0d930454a2892715e691f9c7713e26a3bb4ee96c (diff) | |
download | Shaarli-96746d7165f28553b53bd259d03aaf5d63290b7a.tar.gz Shaarli-96746d7165f28553b53bd259d03aaf5d63290b7a.tar.zst Shaarli-96746d7165f28553b53bd259d03aaf5d63290b7a.zip |
Upgrade front end dependencies
Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones.
- Upgrade webpack from 3.x to 4.x
- Moved babel package to main repo
- Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin
- Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin
- Replaced deprecated node-sass with (dart) sass package
- Replaced deprecated sass-lint with stylelint (the rules might be a bit different
Related to #1531: trivy doesn't raise any more issue
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/package.json b/package.json index dc2b2872..8a24512a 100644 --- a/package.json +++ b/package.json | |||
@@ -11,22 +11,23 @@ | |||
11 | "purecss": "^1.0.0" | 11 | "purecss": "^1.0.0" |
12 | }, | 12 | }, |
13 | "devDependencies": { | 13 | "devDependencies": { |
14 | "babel-core": "^6.26.0", | 14 | "@babel/core": "^7.11.6", |
15 | "babel-loader": "^7.1.2", | 15 | "@babel/preset-env": "^7.11.5", |
16 | "babel-minify-webpack-plugin": "^0.2.0", | 16 | "babel-loader": "^8.1.0", |
17 | "babel-preset-env": "^1.6.1", | 17 | "css-loader": "^4.3.0", |
18 | "css-loader": "^0.28.9", | 18 | "eslint": "^7.9.0", |
19 | "eslint": "^4.16.0", | 19 | "eslint-config-airbnb-base": "^14.2.0", |
20 | "eslint-config-airbnb-base": "^12.1.0", | 20 | "eslint-plugin-import": "^2.22.0", |
21 | "eslint-plugin-import": "^2.8.0", | ||
22 | "extract-text-webpack-plugin": "^3.0.2", | ||
23 | "file-loader": "^1.1.6", | 21 | "file-loader": "^1.1.6", |
24 | "node-sass": "^4.13.1", | 22 | "mini-css-extract-plugin": "^0.11.2", |
25 | "sass-lint": "^1.12.1", | 23 | "sass": "^1.26.11", |
26 | "sass-loader": "^6.0.6", | 24 | "sass-loader": "^10.0.2", |
27 | "style-loader": "^0.19.1", | 25 | "stylelint": "^13.7.1", |
28 | "url-loader": "^0.6.2", | 26 | "stylelint-config-standard": "^20.0.0", |
29 | "webpack": "^3.10.0" | 27 | "stylelint-scss": "^3.18.0", |
28 | "terser-webpack-plugin": "^4.2.2", | ||
29 | "webpack": "^4.44.2", | ||
30 | "webpack-cli": "^3.3.12" | ||
30 | }, | 31 | }, |
31 | "scripts": { | 32 | "scripts": { |
32 | "build": "webpack", | 33 | "build": "webpack", |