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,
|
2024-06-17 22:24:50 +08:00
|
|
|
"version": "1.10",
|
2022-08-16 23:30:23 +08:00
|
|
|
"description": "1Panel 前端",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
|
|
|
"serve": "vite",
|
2022-11-16 18:27:22 +08:00
|
|
|
"build:dev": "vite build --mode development",
|
2022-08-16 23:30:23 +08:00
|
|
|
"build:test": "vue-tsc --noEmit && 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:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
|
|
"lint:lint-staged": "lint-staged",
|
|
|
|
"release": "standard-version",
|
|
|
|
"commit": "git pull && git add -A && git-cz && git push",
|
|
|
|
"prettier:comment": "自动格式化当前目录下的所有文件",
|
|
|
|
"prettier": "prettier --write ."
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-19 10:17:36 +08:00
|
|
|
"@codemirror/lang-html": "^6.4.9",
|
2024-06-13 13:54:36 +08:00
|
|
|
"@codemirror/lang-javascript": "^6.2.2",
|
2024-07-08 21:45:23 +08:00
|
|
|
"@codemirror/lang-json": "^6.0.1",
|
2024-06-19 10:17:36 +08:00
|
|
|
"@codemirror/lang-php": "^6.0.1",
|
2024-06-13 13:54:36 +08:00
|
|
|
"@codemirror/language": "^6.10.2",
|
|
|
|
"@codemirror/legacy-modes": "^6.4.0",
|
|
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
2022-08-16 23:30:23 +08:00
|
|
|
"@element-plus/icons-vue": "^1.1.4",
|
2024-06-17 22:24:50 +08:00
|
|
|
"@highlightjs/vue-plugin": "^2.1.0",
|
2024-07-01 16:11:17 +08:00
|
|
|
"@vue-office/docx": "^1.6.2",
|
|
|
|
"@vue-office/excel": "^1.7.8",
|
2024-06-13 13:54:36 +08:00
|
|
|
"@vueuse/core": "^8.9.4",
|
|
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
|
|
"@xterm/xterm": "^5.5.0",
|
|
|
|
"axios": "^1.7.2",
|
2024-06-19 10:17:36 +08:00
|
|
|
"codemirror": "^6.0.1",
|
2024-06-13 13:54:36 +08:00
|
|
|
"echarts": "^5.5.0",
|
|
|
|
"element-plus": "^2.7.5",
|
2024-09-25 21:59:29 +08:00
|
|
|
"fit2cloud-ui-plus": "^1.1.7",
|
2024-06-17 22:24:50 +08:00
|
|
|
"highlight.js": "^11.9.0",
|
2024-06-13 13:54:36 +08:00
|
|
|
"js-base64": "^3.7.7",
|
|
|
|
"md-editor-v3": "^2.11.3",
|
|
|
|
"monaco-editor": "^0.34.1",
|
2022-08-16 23:30:23 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2024-06-13 13:54:36 +08:00
|
|
|
"pinia": "^2.1.7",
|
2022-08-16 23:30:23 +08:00
|
|
|
"pinia-plugin-persistedstate": "^1.6.1",
|
2024-06-13 13:54:36 +08:00
|
|
|
"qs": "^6.12.1",
|
2022-09-01 18:11:23 +08:00
|
|
|
"screenfull": "^6.0.2",
|
2022-08-16 23:30:23 +08:00
|
|
|
"unplugin-vue-define-options": "^0.7.3",
|
2024-07-29 18:09:57 +08:00
|
|
|
"uuid": "^10.0.0",
|
2024-06-13 13:54:36 +08:00
|
|
|
"vue": "^3.4.27",
|
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",
|
2024-06-13 13:54:36 +08:00
|
|
|
"vue-i18n": "^9.13.1",
|
|
|
|
"vue-router": "^4.3.3"
|
2022-08-16 23:30:23 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-07-02 14:38:04 +08:00
|
|
|
"@types/node": "^20.14.8",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"@typescript-eslint/parser": "^5.22.0",
|
2024-06-13 13:54:36 +08:00
|
|
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"autoprefixer": "^10.4.7",
|
|
|
|
"commitizen": "^4.2.4",
|
2024-07-02 14:38:04 +08:00
|
|
|
"eslint": "^8.57.0",
|
|
|
|
"eslint-config-prettier": "^8.10.0",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-08-16 23:30:23 +08:00
|
|
|
"eslint-plugin-vue": "^8.7.1",
|
|
|
|
"lint-staged": "^12.4.2",
|
2023-10-08 10:15:28 +08:00
|
|
|
"postcss": "^8.4.31",
|
2022-08-16 23:30:23 +08:00
|
|
|
"postcss-html": "^1.4.1",
|
|
|
|
"prettier": "^2.6.2",
|
|
|
|
"rollup-plugin-visualizer": "^5.5.4",
|
|
|
|
"sass": "^1.49.7",
|
|
|
|
"standard-version": "^9.5.0",
|
2023-07-08 19:05:50 +08:00
|
|
|
"stylelint": "^15.10.1",
|
2024-03-14 16:02:06 +08:00
|
|
|
"tailwindcss": "^3.4.1",
|
2022-08-16 23:30:23 +08:00
|
|
|
"typescript": "^4.5.4",
|
2023-06-03 13:20:54 +08:00
|
|
|
"unplugin-auto-import": "^0.16.4",
|
|
|
|
"unplugin-vue-components": "^0.25.0",
|
2024-07-02 14:38:04 +08:00
|
|
|
"vite": "^5.3.1",
|
2022-08-16 23:30:23 +08:00
|
|
|
"vite-plugin-compression": "^0.5.1",
|
2024-06-13 13:54:36 +08:00
|
|
|
"vite-plugin-eslint": "^1.8.1",
|
|
|
|
"vite-plugin-html": "^3.2.2",
|
2022-08-16 23:30:23 +08:00
|
|
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
2024-05-22 18:38:03 +08:00
|
|
|
"vite-svg-loader": "^5.1.0",
|
2022-08-16 23:30:23 +08:00
|
|
|
"vue-tsc": "^0.29.8"
|
|
|
|
},
|
2023-05-26 13:44:27 +08:00
|
|
|
"overrides": {
|
2023-06-08 11:14:10 +08:00
|
|
|
"esbuild": "npm:esbuild-wasm@latest"
|
2023-05-26 13:44:27 +08:00
|
|
|
},
|
2022-08-16 23:30:23 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "node_modules/cz-git"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|