2021-08-27 10:13:36 +08:00
|
|
|
{
|
2023-10-29 23:17:31 +08:00
|
|
|
"type": "module",
|
2024-01-04 23:38:03 +08:00
|
|
|
"version": "4.4.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
2023-10-29 23:17:31 +08:00
|
|
|
"build": "vue-tsc && vite build",
|
|
|
|
"build:test": "vue-tsc && vite build --mode test",
|
2022-09-26 00:21:50 +08:00
|
|
|
"serve": "http-server ./dist -o",
|
2023-10-29 23:17:31 +08:00
|
|
|
"serve:test": "http-server ./dist-test -o",
|
2022-09-26 00:21:50 +08:00
|
|
|
"svgo": "svgo -f src/assets/icons",
|
|
|
|
"new": "plop",
|
2023-10-29 23:17:31 +08:00
|
|
|
"generate:icons": "esno ./scripts/generate.icons.ts",
|
2022-10-21 03:59:06 +08:00
|
|
|
"lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
|
2023-10-29 23:17:31 +08:00
|
|
|
"lint:tsc": "vue-tsc",
|
|
|
|
"lint:eslint": "eslint . --cache --fix",
|
2023-12-22 16:45:00 +08:00
|
|
|
"lint:stylelint": "stylelint \"src/**/*.{css,scss,vue}\" --cache --fix",
|
2023-10-29 23:17:31 +08:00
|
|
|
"postinstall": "simple-git-hooks",
|
2022-09-26 00:21:50 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
|
|
|
"commit": "git cz",
|
|
|
|
"release": "bumpp"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-10-29 23:17:31 +08:00
|
|
|
"@headlessui/vue": "^1.7.16",
|
2024-01-01 01:16:45 +08:00
|
|
|
"@vueuse/core": "^10.7.1",
|
|
|
|
"@vueuse/integrations": "^10.7.1",
|
|
|
|
"axios": "^1.6.3",
|
2023-10-10 09:10:28 +08:00
|
|
|
"dayjs": "^1.11.10",
|
2023-10-29 23:17:31 +08:00
|
|
|
"defu": "^6.1.3",
|
2023-12-16 00:52:03 +08:00
|
|
|
"element-plus": "^2.4.4",
|
2023-07-29 10:15:27 +08:00
|
|
|
"eruda": "^3.0.1",
|
2023-10-29 23:17:31 +08:00
|
|
|
"floating-vue": "2.0.0-beta.24",
|
2023-12-21 00:05:23 +08:00
|
|
|
"hotkeys-js": "^3.13.3",
|
2022-09-26 00:21:50 +08:00
|
|
|
"lodash-es": "^4.17.21",
|
2023-07-29 10:15:27 +08:00
|
|
|
"mitt": "^3.0.1",
|
2022-09-26 00:21:50 +08:00
|
|
|
"mockjs": "^1.1.0",
|
|
|
|
"nprogress": "^0.2.0",
|
2023-12-21 00:05:23 +08:00
|
|
|
"overlayscrollbars": "^2.4.6",
|
2023-10-29 23:17:31 +08:00
|
|
|
"overlayscrollbars-vue": "^0.5.6",
|
2022-09-26 00:21:50 +08:00
|
|
|
"path-browserify": "^1.0.1",
|
|
|
|
"path-to-regexp": "^6.2.1",
|
2023-10-17 09:37:58 +08:00
|
|
|
"pinia": "^2.1.7",
|
2023-05-23 23:07:37 +08:00
|
|
|
"qs": "^6.11.2",
|
2023-12-04 00:40:16 +08:00
|
|
|
"scule": "^1.1.1",
|
2023-06-12 21:46:38 +08:00
|
|
|
"vconsole": "^3.15.1",
|
2024-01-04 01:15:18 +08:00
|
|
|
"vue": "^3.4.4",
|
2023-10-29 23:17:31 +08:00
|
|
|
"vue-m-message": "^4.0.2",
|
2023-10-10 09:10:28 +08:00
|
|
|
"vue-router": "^4.2.5"
|
2022-09-26 00:21:50 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-01 01:16:45 +08:00
|
|
|
"@antfu/eslint-config": "2.6.1",
|
2024-01-04 01:15:18 +08:00
|
|
|
"@iconify/json": "^2.2.164",
|
2023-04-05 23:59:56 +08:00
|
|
|
"@iconify/vue": "^4.1.1",
|
2023-12-24 00:21:14 +08:00
|
|
|
"@stylistic/stylelint-config": "^1.0.1",
|
2023-11-25 23:20:24 +08:00
|
|
|
"@types/lodash-es": "^4.17.12",
|
2024-01-04 01:15:18 +08:00
|
|
|
"@types/mockjs": "^1.0.10",
|
2023-11-10 10:48:37 +08:00
|
|
|
"@types/nprogress": "^0.2.3",
|
|
|
|
"@types/path-browserify": "^1.0.2",
|
2023-12-22 16:45:00 +08:00
|
|
|
"@types/qs": "^6.9.11",
|
2024-01-04 01:15:18 +08:00
|
|
|
"@unocss/eslint-plugin": "^0.58.3",
|
2023-11-25 23:20:24 +08:00
|
|
|
"@vitejs/plugin-legacy": "^5.2.0",
|
2024-01-01 01:16:45 +08:00
|
|
|
"@vitejs/plugin-vue": "^5.0.2",
|
2023-11-25 23:20:24 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
2023-10-10 09:10:28 +08:00
|
|
|
"autoprefixer": "^10.4.16",
|
2023-12-16 00:52:03 +08:00
|
|
|
"bumpp": "^9.2.1",
|
2023-12-07 14:13:09 +08:00
|
|
|
"cz-git": "^1.8.0",
|
2023-12-21 00:05:23 +08:00
|
|
|
"eslint": "^8.56.0",
|
2023-11-20 09:47:51 +08:00
|
|
|
"esno": "^4.0.0",
|
2023-11-28 16:02:42 +08:00
|
|
|
"fs-extra": "^11.2.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"http-server": "^14.1.1",
|
2023-11-10 10:48:37 +08:00
|
|
|
"inquirer": "^9.2.12",
|
2023-12-07 14:13:09 +08:00
|
|
|
"lint-staged": "^15.2.0",
|
2022-10-21 03:59:06 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-12-24 00:21:14 +08:00
|
|
|
"plop": "^4.0.1",
|
2024-01-04 01:15:18 +08:00
|
|
|
"sass": "^1.69.7",
|
2023-07-29 10:15:27 +08:00
|
|
|
"simple-git-hooks": "^2.9.0",
|
2024-01-01 01:16:45 +08:00
|
|
|
"stylelint": "^16.1.0",
|
2023-12-22 16:45:00 +08:00
|
|
|
"stylelint-config-recess-order": "^4.4.0",
|
|
|
|
"stylelint-config-standard-scss": "^12.0.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
2023-12-22 16:45:00 +08:00
|
|
|
"stylelint-scss": "^6.0.0",
|
2024-01-04 01:15:18 +08:00
|
|
|
"svgo": "^3.2.0",
|
2023-12-16 00:52:03 +08:00
|
|
|
"terser": "^5.26.0",
|
2023-12-07 14:13:09 +08:00
|
|
|
"typescript": "^5.3.3",
|
2024-01-04 01:15:18 +08:00
|
|
|
"unocss": "^0.58.3",
|
2024-01-01 01:16:45 +08:00
|
|
|
"unplugin-auto-import": "^0.17.3",
|
2023-12-04 00:40:16 +08:00
|
|
|
"unplugin-vue-components": "^0.26.0",
|
2023-12-16 00:52:03 +08:00
|
|
|
"vite": "^5.0.10",
|
2023-10-10 09:10:28 +08:00
|
|
|
"vite-plugin-banner": "^0.7.1",
|
2022-09-26 00:21:50 +08:00
|
|
|
"vite-plugin-compression": "^0.5.1",
|
2024-01-04 01:15:18 +08:00
|
|
|
"vite-plugin-fake-server": "^2.0.1",
|
2023-11-28 16:02:42 +08:00
|
|
|
"vite-plugin-pages": "^0.32.0",
|
2022-09-26 00:21:50 +08:00
|
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
2023-12-07 14:13:09 +08:00
|
|
|
"vite-plugin-vue-inspector": "^4.0.2",
|
2024-01-01 01:16:45 +08:00
|
|
|
"vite-plugin-vue-meta-layouts": "^0.4.1",
|
|
|
|
"vue-tsc": "^1.8.27"
|
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
|
|
|
}
|