Files
1Panel/frontend/package.json
2026-06-09 18:53:37 +08:00

101 lines
3.5 KiB
JSON

{
"name": "1panel-frontend",
"private": true,
"version": "2.0",
"description": "1Panel 前端",
"scripts": {
"dev": "node --max-old-space-size=8192 ./node_modules/.bin/vite --host",
"serve": "vite",
"build:dev": "vite build --mode development",
"type-check": "node --max-old-space-size=8192 ./node_modules/vue-tsc/bin/vue-tsc.js --noEmit",
"build:test": "npm run type-check && vite build --mode test",
"build:pro": "vite build --mode production",
"preview": "vite preview",
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
"lint:lint-staged": "lint-staged",
"release": "standard-version",
"prettier:comment": "自动格式化当前目录下的所有文件",
"prettier": "prettier --write ."
},
"dependencies": {
"@codemirror/lang-html": "^6.4.10",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-php": "^6.0.2",
"@codemirror/language": "^6.12.3",
"@codemirror/legacy-modes": "^6.5.3",
"@codemirror/theme-one-dark": "^6.1.3",
"@element-plus/icons-vue": "^1.1.4",
"@vue-office/docx": "^1.6.2",
"@vue-office/excel": "^1.7.8",
"@vueuse/core": "^14.3.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"anser": "^2.3.2",
"axios": "^1.17.0",
"codemirror": "^6.0.2",
"crypto-js": "^4.2.0",
"dompurify": "^3.4.2",
"echarts": "^5.5.0",
"element-plus": "2.14.0",
"js-base64": "^3.7.7",
"jsencrypt": "^3.3.2",
"lodash-es": "^4.18.1",
"md-editor-v3": "^6.4.2",
"monaco-editor": "^0.53.0",
"nprogress": "^0.2.0",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"punycode": "^2.3.1",
"qs": "^6.15.2",
"screenfull": "^6.0.2",
"sortablejs": "^1.15.7",
"uuid": "^14.0.0",
"vue": "^3.5.32",
"vue-clipboard3": "^2.0.0",
"vue-codemirror": "^6.1.1",
"vue-demi": "^0.14.6",
"vue-i18n": "^11.4.4",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.0",
"@types/node": "^25.9.1",
"@types/uuid": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"@vitejs/plugin-vue": "^6.0.7",
"@vitejs/plugin-vue-jsx": "^5.1.5",
"@vue/compiler-sfc": "^3.5.35",
"autoprefixer": "^10.4.7",
"esbuild": "^0.28.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-vue": "^10.9.2",
"lint-staged": "^17.0.5",
"postcss": "^8.5.14",
"postcss-html": "^1.8.1",
"prettier": "^3.8.2",
"rollup-plugin-visualizer": "^5.5.4",
"sass": "^1.100.0",
"standard-version": "^9.5.0",
"tailwindcss": "^4.3.0",
"typescript": "^6.0.3",
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^32.1.0",
"vite": "^8.0.16",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-eslint2": "^5.0.3",
"vite-svg-loader": "^5.1.1",
"vue-eslint-parser": "^10.4.1",
"vue-tsc": "^3.3.1"
},
"trustedDependencies": [
"@parcel/watcher",
"esbuild",
"@vue-office/docx",
"@vue-office/excel"
]
}