2022-08-16 23:30:23 +08:00
|
|
|
{
|
2024-07-02 14:38:04 +08:00
|
|
|
"name": "1panel-frontend",
|
2022-08-16 23:30:23 +08:00
|
|
|
"private": true,
|
2025-01-22 14:27:20 +08:00
|
|
|
"version": "2.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"description": "1Panel 前端",
|
|
|
|
|
"scripts": {
|
2025-09-22 16:00:07 +08:00
|
|
|
"dev": "node --max-old-space-size=8192 ./node_modules/.bin/vite --host",
|
2022-08-16 23:30:23 +08:00
|
|
|
"serve": "vite",
|
2022-11-16 18:27:22 +08:00
|
|
|
"build:dev": "vite build --mode development",
|
2026-04-13 13:48:42 +08:00
|
|
|
"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",
|
2023-06-08 11:14:10 +08:00
|
|
|
"build:pro": "vite build --mode production",
|
2022-08-16 23:30:23 +08:00
|
|
|
"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": {
|
2026-09-03 11:46:56 +08:00
|
|
|
"@codemirror/lang-html": "^6.4.12",
|
2025-09-25 15:30:08 +08:00
|
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
|
|
|
"@codemirror/lang-php": "^6.0.2",
|
2026-06-09 11:29:15 +08:00
|
|
|
"@codemirror/language": "^6.12.3",
|
2026-05-22 22:37:08 +08:00
|
|
|
"@codemirror/legacy-modes": "^6.5.3",
|
2025-09-25 15:30:08 +08:00
|
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
2022-08-16 23:30:23 +08:00
|
|
|
"@element-plus/icons-vue": "^1.1.4",
|
2026-07-02 15:07:48 +08:00
|
|
|
"@novnc/novnc": "^1.7.0",
|
2024-07-01 16:11:17 +08:00
|
|
|
"@vue-office/docx": "^1.6.2",
|
|
|
|
|
"@vue-office/excel": "^1.7.8",
|
2026-10-12 16:05:35 +08:00
|
|
|
"@vueuse/core": "^15.0.0",
|
2026-10-13 11:20:43 +08:00
|
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
|
|
|
"@xterm/xterm": "^6.0.0",
|
2026-06-17 19:09:31 +08:00
|
|
|
"anser": "^2.3.5",
|
2026-10-12 14:49:01 +08:00
|
|
|
"axios": "^1.20.0",
|
2025-09-25 15:30:08 +08:00
|
|
|
"codemirror": "^6.0.2",
|
2025-02-08 16:43:55 +08:00
|
|
|
"crypto-js": "^4.2.0",
|
2026-10-12 14:49:01 +08:00
|
|
|
"dompurify": "^3.4.16",
|
2026-07-09 21:38:14 +08:00
|
|
|
"echarts": "^6.1.0",
|
2026-10-12 16:05:35 +08:00
|
|
|
"element-plus": "2.14.7",
|
2026-07-22 18:41:21 +08:00
|
|
|
"js-base64": "^3.9.1",
|
2025-02-08 16:43:55 +08:00
|
|
|
"jsencrypt": "^3.3.2",
|
2026-05-11 19:00:50 +08:00
|
|
|
"lodash-es": "^4.18.1",
|
2026-08-28 09:56:01 +08:00
|
|
|
"md-editor-v3": "^6.5.6",
|
2026-07-31 11:05:23 +08:00
|
|
|
"monaco-editor": "^0.56.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2026-05-22 15:17:59 +08:00
|
|
|
"pinia": "^3.0.4",
|
2026-05-22 22:37:08 +08:00
|
|
|
"pinia-plugin-persistedstate": "^4.7.1",
|
2025-12-22 18:22:29 +08:00
|
|
|
"punycode": "^2.3.1",
|
2026-09-03 11:46:56 +08:00
|
|
|
"qs": "^6.16.0",
|
2022-09-01 18:11:23 +08:00
|
|
|
"screenfull": "^6.0.2",
|
2026-02-25 10:35:29 +08:00
|
|
|
"sortablejs": "^1.15.7",
|
2026-08-04 16:46:27 +08:00
|
|
|
"uuid": "^14.0.1",
|
2026-10-13 11:20:43 +08:00
|
|
|
"vue": "^3.5.43",
|
2023-01-03 12:40:14 +08:00
|
|
|
"vue-clipboard3": "^2.0.0",
|
2022-10-08 18:32:02 +08:00
|
|
|
"vue-codemirror": "^6.1.1",
|
2024-07-01 16:11:17 +08:00
|
|
|
"vue-demi": "^0.14.6",
|
2026-05-22 22:37:08 +08:00
|
|
|
"vue-i18n": "^11.4.4",
|
2026-09-29 21:36:19 +08:00
|
|
|
"vue-router": "^5.3.1"
|
2022-08-16 23:30:23 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-07-21 19:08:20 +08:00
|
|
|
"@tailwindcss/postcss": "^4.3.3",
|
2026-09-29 21:36:19 +08:00
|
|
|
"@types/node": "^26.6.3",
|
2026-06-09 11:29:15 +08:00
|
|
|
"@types/uuid": "^11.0.0",
|
2026-10-13 11:20:43 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^8.71.2",
|
|
|
|
|
"@typescript-eslint/parser": "^8.71.2",
|
|
|
|
|
"@vitejs/plugin-vue": "^6.0.10",
|
2026-07-20 10:27:40 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^5.1.6",
|
2026-10-13 11:20:43 +08:00
|
|
|
"@vue/compiler-sfc": "^3.5.43",
|
2026-09-29 21:36:19 +08:00
|
|
|
"autoprefixer": "^10.6.1",
|
2026-09-03 11:46:56 +08:00
|
|
|
"esbuild": "^0.28.2",
|
2026-08-04 16:46:27 +08:00
|
|
|
"eslint": "^10.8.0",
|
2026-06-09 11:29:15 +08:00
|
|
|
"eslint-config-prettier": "^10.1.8",
|
2026-07-31 11:05:23 +08:00
|
|
|
"eslint-plugin-prettier": "^5.5.6",
|
2026-07-22 18:41:21 +08:00
|
|
|
"eslint-plugin-vue": "^10.10.0",
|
2026-10-12 14:49:01 +08:00
|
|
|
"lint-staged": "^17.6.0",
|
2026-05-09 17:17:34 +08:00
|
|
|
"postcss": "^8.5.14",
|
2026-08-06 21:47:20 +08:00
|
|
|
"postcss-html": "^2.0.0",
|
2026-07-21 19:08:20 +08:00
|
|
|
"prettier": "^3.9.6",
|
2026-10-12 14:49:01 +08:00
|
|
|
"rollup-plugin-visualizer": "^7.1.1",
|
2026-09-29 21:36:19 +08:00
|
|
|
"sass": "^1.105.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"standard-version": "^9.5.0",
|
2026-07-21 19:08:20 +08:00
|
|
|
"tailwindcss": "^4.3.3",
|
2026-05-11 19:00:50 +08:00
|
|
|
"typescript": "^6.0.3",
|
2026-08-28 09:56:01 +08:00
|
|
|
"unplugin-auto-import": "^21.1.0",
|
2026-05-26 15:25:08 +08:00
|
|
|
"unplugin-vue-components": "^32.1.0",
|
2026-08-06 21:47:20 +08:00
|
|
|
"vite": "^8.2.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"vite-plugin-compression": "^0.5.1",
|
2026-07-01 16:19:43 +08:00
|
|
|
"vite-plugin-eslint2": "^5.3.0",
|
2026-09-29 21:36:19 +08:00
|
|
|
"vite-svg-loader": "^5.1.3",
|
2026-06-09 18:53:37 +08:00
|
|
|
"vue-eslint-parser": "^10.4.1",
|
2026-08-06 21:47:20 +08:00
|
|
|
"vue-tsc": "^3.3.9"
|
2022-08-16 23:30:23 +08:00
|
|
|
},
|
2025-12-11 17:00:34 +08:00
|
|
|
"trustedDependencies": [
|
2026-02-24 17:21:20 +08:00
|
|
|
"@parcel/watcher",
|
|
|
|
|
"esbuild",
|
2025-12-11 17:00:34 +08:00
|
|
|
"@vue-office/docx",
|
|
|
|
|
"@vue-office/excel"
|
2026-08-24 18:04:14 +08:00
|
|
|
],
|
|
|
|
|
"overrides": {
|
|
|
|
|
"monaco-editor": {
|
2026-10-12 14:49:01 +08:00
|
|
|
"dompurify": "3.4.16"
|
2026-08-24 18:04:14 +08:00
|
|
|
}
|
2026-10-13 17:28:42 +08:00
|
|
|
},
|
|
|
|
|
"allowScripts": {
|
|
|
|
|
"@vue-office/docx@1.6.3": true,
|
|
|
|
|
"@vue-office/excel@1.7.14": true
|
2026-08-24 18:04:14 +08:00
|
|
|
}
|
2022-08-16 23:30:23 +08:00
|
|
|
}
|