mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:07:58 +08:00
82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build:example": "vue-tsc --noEmit && vite build --mode example",
|
|
"serve:example": "http-server ./dist-example -o",
|
|
"svgo": "svgo -f src/assets/icons",
|
|
"new": "plop",
|
|
"lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
|
|
"lint:tsc": "vue-tsc --noEmit",
|
|
"lint:eslint": "eslint --cache --fix --no-ignore --no-error-on-unmatched-pattern --ext .ts,.tsx,.vue src/",
|
|
"lint:stylelint": "stylelint src/**/*.{css,scss,vue} --cache --fix --allow-empty-input",
|
|
"postinstall": "simple-git-hooks && esno scripts/prepare.js",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"dependencies": {
|
|
"@vueuse/core": "^10.5.0",
|
|
"@vueuse/integrations": "^10.5.0",
|
|
"axios": "^1.5.1",
|
|
"dayjs": "^1.11.10",
|
|
"element-plus": "^2.4.1",
|
|
"eruda": "^3.0.1",
|
|
"hotkeys-js": "^3.12.0",
|
|
"lodash-es": "^4.17.21",
|
|
"mitt": "^3.0.1",
|
|
"mockjs": "^1.1.0",
|
|
"nprogress": "^0.2.0",
|
|
"path-browserify": "^1.0.1",
|
|
"path-to-regexp": "^6.2.1",
|
|
"pinia": "^2.1.7",
|
|
"qs": "^6.11.2",
|
|
"vconsole": "^3.15.1",
|
|
"vue": "^3.3.7",
|
|
"vue-router": "^4.2.5"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.41.0",
|
|
"@iconify-json/ep": "^1.1.12",
|
|
"@iconify/vue": "^4.1.1",
|
|
"@types/nprogress": "^0.2.2",
|
|
"@types/path-browserify": "^1.0.1",
|
|
"@types/qs": "^6.9.9",
|
|
"@vitejs/plugin-legacy": "^4.1.1",
|
|
"@vitejs/plugin-vue": "^4.4.0",
|
|
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
|
"autoprefixer": "^10.4.16",
|
|
"eslint": "^8.52.0",
|
|
"esno": "^0.17.0",
|
|
"fs-extra": "^11.1.1",
|
|
"http-server": "^14.1.1",
|
|
"lint-staged": "^15.0.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"plop": "^4.0.0",
|
|
"postcss-html": "^1.5.0",
|
|
"sass": "^1.69.4",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"stylelint": "^15.11.0",
|
|
"stylelint-config-standard-scss": "^11.0.0",
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
"stylelint-scss": "^5.2.1",
|
|
"stylelint-stylistic": "^0.4.3",
|
|
"svgo": "^3.0.2",
|
|
"terser": "^5.22.0",
|
|
"typescript": "^5.2.2",
|
|
"unplugin-auto-import": "^0.16.6",
|
|
"unplugin-vue-components": "^0.25.2",
|
|
"vite": "^4.5.0",
|
|
"vite-plugin-banner": "^0.7.1",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-mock": "^2.9.8",
|
|
"vite-plugin-pages": "^0.31.0",
|
|
"vite-plugin-spritesmith": "^0.1.1",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vite-plugin-vue-inspector": "^4.0.0",
|
|
"vite-plugin-vue-meta-layouts": "^0.3.1",
|
|
"vue-tsc": "^1.8.21"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged",
|
|
"preserveUnused": true
|
|
}
|
|
}
|