2021-08-27 10:13:36 +08:00
|
|
|
{
|
2023-04-15 22:18:33 +08:00
|
|
|
"version": "2.11.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
|
|
|
"build:test": "vue-tsc --noEmit && vite build --mode test",
|
|
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
|
|
"serve:test": "http-server ./dist-test -o",
|
|
|
|
"serve": "http-server ./dist -o",
|
|
|
|
"svgo": "svgo -f src/assets/icons",
|
|
|
|
"new": "plop",
|
2022-10-21 03:59:06 +08:00
|
|
|
"lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
|
|
|
|
"lint:tsc": "vue-tsc --noEmit",
|
2023-04-05 23:59:56 +08:00
|
|
|
"lint:eslint": "eslint --cache --fix --no-ignore --no-error-on-unmatched-pattern --ext .ts,.tsx,.vue src/",
|
2023-03-28 01:15:22 +08:00
|
|
|
"lint:stylelint": "stylelint src/**/*.{css,scss,vue} --cache --fix --allow-empty-input",
|
2022-11-09 16:05:52 +08:00
|
|
|
"postinstall": "simple-git-hooks && esno scripts/prepare.js",
|
2022-09-26 00:21:50 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
|
|
|
"commit": "git cz",
|
|
|
|
"release": "bumpp"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-22 02:19:54 +08:00
|
|
|
"@vueuse/core": "^10.0.2",
|
|
|
|
"@vueuse/integrations": "^10.0.2",
|
|
|
|
"axios": "^1.3.6",
|
2022-12-10 16:59:51 +08:00
|
|
|
"dayjs": "^1.11.7",
|
2023-04-13 15:46:03 +08:00
|
|
|
"element-plus": "^2.3.3",
|
2023-04-05 23:59:56 +08:00
|
|
|
"eruda": "^3.0.0",
|
|
|
|
"hotkeys-js": "^3.10.2",
|
2022-09-26 00:21:50 +08:00
|
|
|
"lodash-es": "^4.17.21",
|
|
|
|
"mitt": "^3.0.0",
|
|
|
|
"mockjs": "^1.1.0",
|
|
|
|
"nprogress": "^0.2.0",
|
|
|
|
"path-browserify": "^1.0.1",
|
|
|
|
"path-to-regexp": "^6.2.1",
|
2023-04-22 02:19:54 +08:00
|
|
|
"pinia": "^2.0.35",
|
2023-03-10 23:56:02 +08:00
|
|
|
"qs": "^6.11.1",
|
2023-02-22 19:22:21 +08:00
|
|
|
"vconsole": "^3.15.0",
|
2023-02-02 14:52:46 +08:00
|
|
|
"vue": "^3.2.47",
|
2022-10-25 08:33:13 +08:00
|
|
|
"vue-router": "^4.1.6"
|
2022-09-26 00:21:50 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-22 02:19:54 +08:00
|
|
|
"@antfu/eslint-config": "^0.38.5",
|
2023-03-10 23:56:02 +08:00
|
|
|
"@iconify-json/ep": "^1.1.10",
|
2023-04-05 23:59:56 +08:00
|
|
|
"@iconify/vue": "^4.1.1",
|
2022-09-26 00:21:50 +08:00
|
|
|
"@types/nprogress": "^0.2.0",
|
|
|
|
"@types/path-browserify": "^1.0.0",
|
|
|
|
"@types/qs": "^6.9.7",
|
2023-03-22 16:52:37 +08:00
|
|
|
"@vitejs/plugin-vue": "^4.1.0",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
2023-03-10 23:56:02 +08:00
|
|
|
"autoprefixer": "^10.4.14",
|
2023-04-05 23:59:56 +08:00
|
|
|
"bumpp": "^9.1.0",
|
2023-03-22 16:52:37 +08:00
|
|
|
"cz-git": "^1.6.1",
|
2023-04-13 15:46:03 +08:00
|
|
|
"eslint": "^8.38.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"esno": "^0.16.3",
|
2023-03-22 16:52:37 +08:00
|
|
|
"fs-extra": "^11.1.1",
|
2022-09-26 00:21:50 +08:00
|
|
|
"http-server": "^14.1.1",
|
2023-04-13 15:46:03 +08:00
|
|
|
"lint-staged": "^13.2.1",
|
2022-10-21 03:59:06 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-02-11 21:35:57 +08:00
|
|
|
"plop": "^3.1.2",
|
2022-09-26 00:21:50 +08:00
|
|
|
"postcss-html": "^1.5.0",
|
2023-04-13 15:46:03 +08:00
|
|
|
"sass": "^1.62.0",
|
2022-11-09 16:05:52 +08:00
|
|
|
"simple-git-hooks": "^2.8.1",
|
2023-04-22 02:19:54 +08:00
|
|
|
"stylelint": "^15.5.0",
|
|
|
|
"stylelint-config-standard": "^33.0.0",
|
2023-04-13 15:46:03 +08:00
|
|
|
"stylelint-config-standard-scss": "^8.0.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
2023-03-28 01:15:22 +08:00
|
|
|
"stylelint-scss": "^4.6.0",
|
2023-04-10 02:28:19 +08:00
|
|
|
"stylelint-stylistic": "^0.4.0",
|
2022-11-19 21:37:54 +08:00
|
|
|
"svgo": "^3.0.2",
|
2023-04-22 02:19:54 +08:00
|
|
|
"terser": "^5.17.1",
|
2023-04-13 15:46:03 +08:00
|
|
|
"typescript": "^5.0.4",
|
2023-04-22 02:19:54 +08:00
|
|
|
"unplugin-auto-import": "^0.15.3",
|
2023-03-10 23:56:02 +08:00
|
|
|
"unplugin-vue-components": "^0.24.1",
|
2023-04-14 15:47:28 +08:00
|
|
|
"unplugin-vue-setup-extend-plus": "^1.0.0",
|
2023-04-22 02:19:54 +08:00
|
|
|
"vite": "^4.3.1",
|
2022-12-10 16:59:51 +08:00
|
|
|
"vite-plugin-banner": "^0.7.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"vite-plugin-compression": "^0.5.1",
|
2023-04-22 02:19:54 +08:00
|
|
|
"vite-plugin-mock": "^2.9.8",
|
2023-03-22 16:52:37 +08:00
|
|
|
"vite-plugin-pages": "^0.29.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"vite-plugin-spritesmith": "^0.1.1",
|
|
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
2023-03-22 16:52:37 +08:00
|
|
|
"vite-plugin-vue-inspector": "^3.4.0",
|
2023-04-06 01:16:18 +08:00
|
|
|
"vite-plugin-vue-meta-layouts": "^0.2.2",
|
2023-04-22 02:19:54 +08:00
|
|
|
"vue-tsc": "^1.4.2"
|
2022-09-26 00:21:50 +08:00
|
|
|
},
|
2022-11-09 16:05:52 +08:00
|
|
|
"simple-git-hooks": {
|
|
|
|
"pre-commit": "pnpm lint-staged",
|
|
|
|
"preserveUnused": true
|
|
|
|
},
|
2022-09-26 00:21:50 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "node_modules/cz-git"
|
2021-08-27 10:13:36 +08:00
|
|
|
}
|
2022-09-26 00:21:50 +08:00
|
|
|
}
|
2021-08-27 10:13:36 +08:00
|
|
|
}
|