Files
cbwebreader/frontend/package.json
T
ajurna 4d0ba750ad Upgrade frontend dependencies and switch ESLint to a flat config
- Runtime majors: vue-router 5, reveal.js 6, fontawesome 7. Checked against the
  code that uses them: no change needed for reveal.js (the default export is
  still a callable factory and every method/option used is still present) or
  fontawesome (all seven registered icons still resolve).
- frontend/src/router/index.js: guards return the redirect instead of calling the
  deprecated next() callback, which works on vue-router 4 and 5.
- Add frontend/eslint.config.mjs because eslint 10 requires a flat config; the
  lint script now runs eslint directly instead of vue-cli-service.
- Drop tooling nothing in the webpack configs uses (@vue/cli-*, jshint,
  html-webpack-plugin, webpack-bundle-analyzer, @babel/core) and delete the dead
  vue.config.js. npm audit 35 -> 5 (all dev-only), --omit=dev is 0.
- frontend/src/views/UserView.vue: the $route watcher no longer declares unused
  params.
2026-10-13 15:57:40 +01:00

44 lines
1.1 KiB
JSON

{
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "webpack-dev-server --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
"lint": "eslint ."
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^7.3.1",
"@fortawesome/free-solid-svg-icons": "^7.3.1",
"@fortawesome/vue-fontawesome": "^3.3.3",
"axios": "^1.20.0",
"bootstrap": "^5.3.8",
"hammerjs": "^2.0.8",
"jwt-decode": "^4.0.0",
"reveal.js": "^6.0.2",
"timeago.js": "^4.0.2",
"vue": "^3.5.44",
"vue-router": "^5.4.0",
"vue-toast-notification": "^3.1.3",
"vuejs-paginate-next": "^1.0.2",
"vuex": "^4.1.0"
},
"devDependencies": {
"css-loader": "^7.1.5",
"eslint": "^10.12.0",
"eslint-plugin-vue": "^10.11.1",
"mini-css-extract-plugin": "^2.10.2",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.6.1",
"vue-loader": "^17.4.2",
"webpack": "^5.111.1",
"webpack-bundle-tracker": "^3.2.4",
"webpack-cli": "^7.2.3",
"webpack-dev-server": "^6.0.0",
"@eslint/js": "^10.0.1"
},
"browserslist": [
"defaults"
]
}