2020-12-14 17:32:37 +08:00
|
|
|
{
|
2021-12-10 17:10:51 +08:00
|
|
|
"name": "butterfly-admin",
|
|
|
|
"version": "3.0.0",
|
|
|
|
"description": "一套基于vue、element-plus、typesScript、vite的后台集成方案",
|
|
|
|
"author": "Archer <502431556@qq.com>",
|
|
|
|
"private": false,
|
2020-12-14 17:32:37 +08:00
|
|
|
"scripts": {
|
2021-12-07 16:36:16 +08:00
|
|
|
"i": "pnpm install",
|
|
|
|
"dev": "vite --mode base",
|
|
|
|
"ts:check": "vue-tsc --noEmit",
|
|
|
|
"build:pro": "npm run ts:check && vite build --mode pro",
|
|
|
|
"build:dev": "npm run ts:check && vite build --mode dev",
|
|
|
|
"build:test": "npm run ts:check && vite build --mode test",
|
|
|
|
"serve:pro": "vite preview --mode pro",
|
|
|
|
"serve:dev": "vite preview --mode dev",
|
|
|
|
"serve:test": "vite preview --mode test",
|
2021-12-11 11:46:10 +08:00
|
|
|
"npm:check": "npx npm-check-updates",
|
2021-12-08 10:47:33 +08:00
|
|
|
"clean": "npx rimraf docs/node_modules && npx rimraf node_modules",
|
2021-12-07 16:36:16 +08:00
|
|
|
"clean:cache": "npx 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",
|
|
|
|
"lint:pretty": "pretty-quick --staged",
|
|
|
|
"postinstall": "husky install"
|
2020-12-14 17:32:37 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-12-07 16:36:16 +08:00
|
|
|
"@vueuse/core": "^7.1.2",
|
2021-12-11 11:46:10 +08:00
|
|
|
"element-plus": "1.2.0-beta.6",
|
|
|
|
"pinia": "^2.0.6",
|
2021-12-08 10:47:33 +08:00
|
|
|
"vue": "^3.2.24",
|
|
|
|
"vue-i18n": "9.1.9",
|
2021-12-10 17:10:51 +08:00
|
|
|
"vue-router": "^4.0.12",
|
|
|
|
"vue-types": "^4.1.1"
|
2020-12-14 17:32:37 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-07 16:36:16 +08:00
|
|
|
"@commitlint/cli": "^15.0.0",
|
|
|
|
"@commitlint/config-conventional": "^15.0.0",
|
2021-12-11 11:46:10 +08:00
|
|
|
"@iconify/json": "^1.1.441",
|
2021-12-08 10:47:33 +08:00
|
|
|
"@intlify/vite-plugin-vue-i18n": "^3.2.1",
|
2021-12-11 11:46:10 +08:00
|
|
|
"@types/node": "^16.11.12",
|
2021-12-07 16:36:16 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
|
|
"@typescript-eslint/parser": "^5.6.0",
|
2021-10-10 09:59:52 +08:00
|
|
|
"@vitejs/plugin-vue": "^1.9.3",
|
2021-12-07 16:36:16 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^1.3.0",
|
|
|
|
"autoprefixer": "^10.4.0",
|
|
|
|
"commitizen": "^4.2.4",
|
|
|
|
"eslint": "^8.4.1",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-define-config": "^1.2.0",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-vue": "^8.2.0",
|
|
|
|
"husky": "^7.0.4",
|
|
|
|
"less": "^4.1.2",
|
|
|
|
"lint-staged": "^12.1.2",
|
|
|
|
"postcss": "^8.4.4",
|
2021-12-07 17:16:17 +08:00
|
|
|
"postcss-html": "^1.3.0",
|
|
|
|
"postcss-less": "^5.0.0",
|
2021-12-07 16:36:16 +08:00
|
|
|
"prettier": "^2.5.1",
|
|
|
|
"pretty-quick": "^3.1.2",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"stylelint": "^14.1.0",
|
2021-12-07 17:16:17 +08:00
|
|
|
"stylelint-config-html": "^1.0.0",
|
2021-12-07 16:36:16 +08:00
|
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
|
|
"stylelint-config-standard": "^24.0.0",
|
|
|
|
"stylelint-order": "^5.0.0",
|
2021-12-10 17:10:51 +08:00
|
|
|
"typescript": "4.5.2",
|
|
|
|
"unplugin-icons": "^0.12.23",
|
2021-12-08 10:47:33 +08:00
|
|
|
"vite": "2.6.14",
|
2021-12-07 16:36:16 +08:00
|
|
|
"vite-plugin-eslint": "^1.3.0",
|
2021-12-11 11:46:10 +08:00
|
|
|
"vite-plugin-style-import": "^1.4.0",
|
2021-12-07 16:36:16 +08:00
|
|
|
"vite-plugin-windicss": "^1.5.4",
|
|
|
|
"vue-tsc": "^0.3.0",
|
2021-12-10 17:10:51 +08:00
|
|
|
"windicss": "^3.2.1",
|
|
|
|
"windicss-analysis": "^0.3.5"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 16.0.0"
|
|
|
|
},
|
|
|
|
"license": "MIT"
|
2021-12-07 17:16:17 +08:00
|
|
|
}
|