mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 03:12:09 +00:00

This commit brings the project to support node 22 which became LTS and fixes broken builds with typescript 5.7+ until vue-tsc is updated and replaces npm with pnpm. - Update tsconfig for node 22 - Pin typescript to 5.6.x to not break vue-tsc - Replace npm with pnpm (corepack recommended) - Update Makefile and main workflow for pnpm - Migrate to eslint 9 flat config - Fix broken imports - Exclude non-TS vue files for vue-tsc
83 lines
2.4 KiB
JSON
83 lines
2.4 KiB
JSON
{
|
|
"name": "filebrowser-frontend",
|
|
"version": "3.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22.0.0",
|
|
"pnpm": ">=9.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "pnpm run typecheck && vite build",
|
|
"clean": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitkeep' -exec rm -r {} +",
|
|
"typecheck": "vue-tsc -p ./tsconfig.tsc.json --noEmit",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint --fix src/",
|
|
"format": "prettier --write .",
|
|
"test": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@chenfengyuan/vue-number-input": "^2.0.1",
|
|
"@vueuse/core": "^12.0.0",
|
|
"@vueuse/integrations": "^12.0.0",
|
|
"ace-builds": "^1.32.9",
|
|
"core-js": "^3.36.1",
|
|
"dayjs": "^1.11.10",
|
|
"epubjs": "^0.3.93",
|
|
"filesize": "^10.1.1",
|
|
"js-base64": "^3.7.7",
|
|
"jwt-decode": "^4.0.0",
|
|
"lodash-es": "^4.17.21",
|
|
"marked": "^15.0.3",
|
|
"material-icons": "^1.13.12",
|
|
"normalize.css": "^8.0.1",
|
|
"pinia": "^2.1.7",
|
|
"pretty-bytes": "^6.1.1",
|
|
"qrcode.vue": "^3.4.1",
|
|
"tus-js-client": "^4.1.0",
|
|
"utif": "^3.1.0",
|
|
"video.js": "^8.10.0",
|
|
"videojs-hotkeys": "^0.2.28",
|
|
"videojs-mobile-ui": "^1.1.1",
|
|
"vue": "^3.4.21",
|
|
"vue-final-modal": "^4.5.4",
|
|
"vue-i18n": "^10.0.5",
|
|
"vue-lazyload": "^3.0.0",
|
|
"vue-reader": "^1.2.14",
|
|
"vue-router": "^4.3.0",
|
|
"vue-toastification": "^2.0.0-rc.5"
|
|
},
|
|
"devDependencies": {
|
|
"@intlify/unplugin-vue-i18n": "^6.0.0",
|
|
"@playwright/test": "^1.42.1",
|
|
"@tsconfig/node22": "^22.0.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^22.10.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
"@vitejs/plugin-legacy": "^6.0.0",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vue/eslint-config-prettier": "^10.1.0",
|
|
"@vue/eslint-config-typescript": "^14.1.4",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"concurrently": "^9.1.0",
|
|
"eslint": "^9.16.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-vue": "^9.24.0",
|
|
"jsdom": "^25.0.1",
|
|
"postcss": "^8.4.38",
|
|
"prettier": "^3.2.5",
|
|
"terser": "^5.30.0",
|
|
"vite": "^6.0.2",
|
|
"vite-plugin-compression2": "^1.0.0",
|
|
"vue-tsc": "^2.0.7"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"typescript": "~5.6.3"
|
|
}
|
|
},
|
|
"packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab"
|
|
}
|