Update npm packages to their latest releases, including eslint 10, @vue/eslint-config-prettier 10 and jsdom 30. Replace .eslintrc.cjs with a flat eslint.config.js and drop @rushstack/eslint-patch. Drop unused catch bindings flagged by ESLint 10's no-unused-vars defaults. Override glob and minimatch to patched releases, since js-beautify and eslint still pull in vulnerable versions.
39 lines
875 B
JSON
39 lines
875 B
JSON
{
|
|
"name": "rss",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"lint": "eslint . --fix",
|
|
"format": "prettier --write src/"
|
|
},
|
|
"dependencies": {
|
|
"@mozilla/readability": "^0.6.0",
|
|
"axios": "^1.17.0",
|
|
"vue": "^3.5.35",
|
|
"vue-router": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
"@vue/test-utils": "^2.4.11",
|
|
"eslint": "^10.14.0",
|
|
"eslint-plugin-vue": "^10.11.1",
|
|
"globals": "^17.14.0",
|
|
"jsdom": "^30.1.3",
|
|
"prettier": "^3.8.3",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^5.0.2",
|
|
"vue-eslint-parser": "^10.4.1"
|
|
},
|
|
"overrides": {
|
|
"glob": "^14.0.3",
|
|
"minimatch": "^11.0.4"
|
|
}
|
|
}
|