mirror of
https://github.com/OpenListTeam/OpenList-Frontend.git
synced 2026-03-13 11:20:24 +00:00
* Add `useCDN` hook for better management of CDN resources. * Bundle CDN resources (Monaco Editor, KaTeX, Mermaid, Ruffle, etc.) using `vite-plugin-static-copy` into the dist, which can be beneficial for environments with network problems. * Add `VITE_LITE` environment for conditional lite version compilation, removing the need for a separate lite branch. BREAKING CHANGE: The lite branch is no longer needed.
115 lines
3.4 KiB
JSON
115 lines
3.4 KiB
JSON
{
|
|
"name": "@openlist-frontend/openlist-frontend",
|
|
"version": "4.1.0",
|
|
"author": {
|
|
"name": "The OpenList Projects Contributors",
|
|
"url": "https://github.com/OpenListTeam"
|
|
},
|
|
"description": "A new AList Fork to Anti Trust Crisis",
|
|
"packageManager": "pnpm@9.15.9",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/OpenListTeam/OpenList-Frontend.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/OpenListTeam/OpenList/issues"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"homepage": "https://openlist.team/",
|
|
"scripts": {
|
|
"crowdin:upload": "crowdin upload sources --auto-update",
|
|
"crowdin:download": "crowdin download --verbose",
|
|
"crowdin": "pnpm crowdin:upload && pnpm crowdin:download",
|
|
"i18n:build": "pnpm crowdin && node ./scripts/i18n.mjs",
|
|
"i18n:release": "pnpm run crowdin:download && node ./scripts/i18n.mjs",
|
|
"start": "vite",
|
|
"dev": "vite --force",
|
|
"build": "vite build",
|
|
"build:lite": "export VITE_LITE=true && vite build",
|
|
"serve": "vite preview",
|
|
"prepare": "husky",
|
|
"format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\""
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@crowdin/cli": "^4.0.0",
|
|
"@hrgui/libass-wasm-ts": "^1.0.3",
|
|
"@types/bencode": "^2.0.4",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/mark.js": "^8.11.12",
|
|
"@types/node": "^22.0.0",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/sha256": "^0.2.2",
|
|
"@types/streamsaver": "^2.0.5",
|
|
"@vitejs/plugin-legacy": "^6.1.1",
|
|
"husky": "^9.0.0",
|
|
"lint-staged": "^16.0.0",
|
|
"mermaid": "^11.9.0",
|
|
"prettier": "3.6.2",
|
|
"terser": "^5.43.1",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^6.3.5",
|
|
"vite-plugin-dynamic-base": "^1.0.0",
|
|
"vite-plugin-solid": "^2.11.7",
|
|
"vite-plugin-static-copy": "^3.1.1"
|
|
},
|
|
"dependencies": {
|
|
"@egjs/view360": "4.0.0-beta.7",
|
|
"@github/webauthn-json": "^2.1.1",
|
|
"@hope-ui/solid": "0.6.7",
|
|
"@monaco-editor/loader": "^1.5.0",
|
|
"@pdfslick/solid": "^3.0.0",
|
|
"@ruffle-rs/ruffle": "0.2.0-nightly.2025.8.3",
|
|
"@solid-primitives/i18n": "^2.2.1",
|
|
"@solid-primitives/keyboard": "^1.3.1",
|
|
"@solid-primitives/storage": "^1.3.11",
|
|
"@solidjs/router": "^0.9.1",
|
|
"@stitches/core": "^1.2.8",
|
|
"@types/ini": "^4.1.1",
|
|
"@viselect/vanilla": "^3.9.0",
|
|
"aplayer": "^1.10.1",
|
|
"artplayer": "^5.2.3",
|
|
"artplayer-plugin-danmuku": "^5.1.6",
|
|
"asciinema-player": "^3.10.0",
|
|
"axios": "^1.9.0",
|
|
"bencode": "^4.0.0",
|
|
"chardet": "^2.1.0",
|
|
"clsx": "^2.1.1",
|
|
"copy-to-clipboard": "^3.3.3",
|
|
"crypto-js": "^4.2.0",
|
|
"hash-wasm": "^4.12.0",
|
|
"hls.js": "^1.6.5",
|
|
"ini": "^5.0.0",
|
|
"just-once": "^2.2.0",
|
|
"katex": "0.16.11",
|
|
"libass-wasm": "^4.1.0",
|
|
"libheif-js": "^1.19.8",
|
|
"lightgallery": "^2.8.3",
|
|
"mark.js": "^8.11.1",
|
|
"mitt": "^3.0.1",
|
|
"monaco-editor": "^0.52.2",
|
|
"mpegts.js": "^1.8.0",
|
|
"pdfjs-dist": "^5.3.31",
|
|
"qrcode": "^1.5.4",
|
|
"rehype-katex": "6.0.3",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "3.0.1",
|
|
"remark-math": "5.1.1",
|
|
"seemly": "^0.3.10",
|
|
"sha256": "^0.2.0",
|
|
"solid-contextmenu": "0.0.2",
|
|
"solid-icons": "^1.1.0",
|
|
"solid-js": "^1.9.7",
|
|
"solid-markdown": "^1.2.2",
|
|
"solid-motionone": "^1.0.4",
|
|
"solid-transition-group": "^0.3.0",
|
|
"streamsaver": "^2.0.6",
|
|
"typescript-natural-sort": "^0.7.2"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,ts,css,tsx,jsx,md,html,yml,yaml}": "prettier --write"
|
|
}
|
|
}
|