为什么:这些改动在前几轮就已完成并在 :3005 验证过,但一直留在工作区没有入库。 下一步 3-4 的四个页面依赖其中的公共样式入口(src/styles/business/index.css)与 api/admin 的公共类型(PageResult 等),如果不先收口,新页面的提交就会夹带旧改动, 既说不清 diff 边界,也让 index.css 这类多轮共用的文件长期处于半提交状态。 本提交只做归档,不改行为: - 品牌与接口基址改成 FruitShorts / 短剧服务(.env.*、README、vite 代理) - 去掉前端 mock 数据目录(src/data、src/permissions、stores/auth),改为走真实接口 - 新增 api/admin 下的接口封装与 src/utils/uploader.ts(媒资分片直传) - 新增/改造:轮播图管理、类型管理、操作日志、App 用户管理、后台布局与公共样式
127 lines
4.3 KiB
JSON
127 lines
4.3 KiB
JSON
{
|
|
"name": "fruitshorts-admin",
|
|
"version": "1.0.0",
|
|
"description": "FruitShorts 内容管理后台,基于 vue-element-plus-admin。",
|
|
"author": "Archer <502431556@qq.com>",
|
|
"private": true,
|
|
"scripts": {
|
|
"i": "pnpm install",
|
|
"dev": "VITE_CJS_IGNORE_WARNING=1 vite --mode base",
|
|
"ts:check": "pnpm vue-tsc --noEmit --skipLibCheck",
|
|
"build:pro": "VITE_CJS_IGNORE_WARNING=1 vite build --mode pro",
|
|
"build:dev": "VITE_CJS_IGNORE_WARNING=1 vite build --mode dev",
|
|
"build:test": "VITE_CJS_IGNORE_WARNING=1 vite build --mode test",
|
|
"serve:pro": "VITE_CJS_IGNORE_WARNING=1 vite preview --mode pro",
|
|
"serve:dev": "VITE_CJS_IGNORE_WARNING=1 vite preview --mode dev",
|
|
"serve:test": "VITE_CJS_IGNORE_WARNING=1 vite preview --mode test",
|
|
"npm:check": "pnpx npm-check-updates -u",
|
|
"clean": "pnpx rimraf node_modules",
|
|
"clean:cache": "pnpx rimraf node_modules/.cache",
|
|
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
|
|
"lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,vue,html,md}\"",
|
|
"lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@faker-js/faker": "^8.4.0",
|
|
"@iconify/iconify": "^3.1.1",
|
|
"@iconify/vue": "^4.1.1",
|
|
"@vueuse/core": "^10.7.2",
|
|
"@wangeditor/editor": "^5.1.23",
|
|
"@wangeditor/editor-for-vue": "^5.1.10",
|
|
"@zxcvbn-ts/core": "^3.0.4",
|
|
"animate.css": "^4.1.1",
|
|
"axios": "^1.6.7",
|
|
"cropperjs": "^1.6.1",
|
|
"dayjs": "^1.11.10",
|
|
"driver.js": "^1.3.1",
|
|
"echarts": "^5.4.3",
|
|
"echarts-wordcloud": "^2.1.0",
|
|
"element-plus": "2.5.5",
|
|
"lodash-es": "^4.17.21",
|
|
"mitt": "^3.0.1",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.1.7",
|
|
"pinia-plugin-persistedstate": "^3.2.1",
|
|
"qrcode": "^1.5.3",
|
|
"qs": "^6.11.2",
|
|
"url": "^0.11.3",
|
|
"vue": "3.4.15",
|
|
"vue-draggable-plus": "^0.3.5",
|
|
"vue-i18n": "9.9.1",
|
|
"vue-json-pretty": "^2.3.0",
|
|
"vue-router": "^4.4.5",
|
|
"vue-types": "^5.1.1",
|
|
"xgplayer": "^3.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^18.6.0",
|
|
"@commitlint/config-conventional": "^18.6.0",
|
|
"@iconify/json": "^2.2.180",
|
|
"@intlify/unplugin-vue-i18n": "^2.0.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.11.16",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/qs": "^6.9.11",
|
|
"@types/sortablejs": "^1.15.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"@unocss/transformer-variant-group": "^0.58.5",
|
|
"@vitejs/plugin-legacy": "^5.3.0",
|
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
"autoprefixer": "^10.4.17",
|
|
"chalk": "^5.3.0",
|
|
"consola": "^3.2.3",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-define-config": "^2.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-vue": "^9.21.1",
|
|
"esno": "^4.0.0",
|
|
"husky": "^9.0.10",
|
|
"less": "^4.2.0",
|
|
"lint-staged": "^15.2.2",
|
|
"postcss": "^8.4.34",
|
|
"postcss-html": "^1.6.0",
|
|
"postcss-less": "^6.0.0",
|
|
"prettier": "^3.2.5",
|
|
"rimraf": "^5.0.5",
|
|
"rollup": "^4.9.6",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"stylelint": "^16.2.1",
|
|
"stylelint-config-html": "^1.1.0",
|
|
"stylelint-config-recommended": "^14.0.0",
|
|
"stylelint-config-standard": "^36.0.0",
|
|
"stylelint-order": "^6.0.4",
|
|
"terser": "^5.27.0",
|
|
"typescript": "5.3.3",
|
|
"unocss": "^0.58.5",
|
|
"vite": "5.0.12",
|
|
"vite-plugin-ejs": "^1.7.0",
|
|
"vite-plugin-eslint": "^1.8.1",
|
|
"vite-plugin-mock": "2.9.6",
|
|
"vite-plugin-progress": "^0.0.7",
|
|
"vite-plugin-purge-icons": "^0.10.0",
|
|
"vite-plugin-style-import": "2.0.0",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vue-tsc": "^1.8.27"
|
|
},
|
|
"packageManager": "pnpm@8.1.0",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"pnpm": ">=8.1.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/kailong321200875/vue-element-plus-admin.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/kailong321200875/vue-element-plus-admin/issues"
|
|
},
|
|
"homepage": "https://github.com/kailong321200875/vue-element-plus-admin"
|
|
}
|