yc-project-template 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "name": "yc-project-template",
3
+ "version": "1.0.0",
4
+ "description": "YC Project Template",
5
+ "private": false,
6
+ "type": "module",
7
+ "main": "./dist/yc-project-template.umd.js",
8
+ "module": "./dist/yc-project-template.es.js",
9
+ "types": "./dist/types/index.d.ts",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "volta": {
14
+ "node": "22.19.0"
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/yc-project-template.es.js",
19
+ "require": "./dist/yc-project-template.umd.js",
20
+ "types": "./dist/types/index.d.ts"
21
+ },
22
+ "./dist/style.css": "./dist/yc-project-template.css"
23
+ },
24
+ "engines": {
25
+ "node": "^20.19.0 || >=22.12.0",
26
+ "pnpm": ">=10.26.2"
27
+ },
28
+ "lint-staged": {
29
+ "*.{js,jsx,ts,tsx,mjs,cjs,json,css,scss,vue}": "pnpm run lint",
30
+ "*": "oxfmt --no-error-on-unmatched-pattern"
31
+ },
32
+ "dependencies": {
33
+ "@element-plus/icons-vue": "^2.3.2",
34
+ "@unocss/preset-wind": "^66.6.0",
35
+ "@vueuse/core": "^14.2.0",
36
+ "aieditor": "^1.4.2",
37
+ "axios": "^1.6.0",
38
+ "dayjs": "^1.11.19",
39
+ "echarts": "^6.0.0",
40
+ "echarts-liquidfill": "^3.1.0",
41
+ "element-plus": "^2.13.0",
42
+ "jsencrypt": "^3.5.4",
43
+ "localforage": "^1.10.0",
44
+ "lodash-es": "^4.17.22",
45
+ "nprogress": "^0.2.0",
46
+ "pinia": "^3.0.4",
47
+ "vue": "^3.5.25",
48
+ "vue-router": "^4.6.3"
49
+ },
50
+ "peerDependencies": {
51
+ "vue": "^3.5.25",
52
+ "element-plus": "^2.13.0"
53
+ },
54
+ "devDependencies": {
55
+ "@commitlint/cli": "^20.2.0",
56
+ "@commitlint/config-conventional": "^20.2.0",
57
+ "@tsconfig/node24": "^24.0.3",
58
+ "@types/lodash-es": "^4.17.12",
59
+ "@types/node": "^24.10.1",
60
+ "@types/nprogress": "^0.2.3",
61
+ "@unocss/vite": "^66.6.0",
62
+ "@vitejs/plugin-vue": "^6.0.2",
63
+ "@vitejs/plugin-vue-jsx": "^5.1.4",
64
+ "@vue/tsconfig": "^0.8.1",
65
+ "husky": "^9.1.7",
66
+ "jiti": "^2.6.1",
67
+ "mockjs": "^1.1.0",
68
+ "npm-run-all2": "^8.0.4",
69
+ "oxfmt": "^0.31.0",
70
+ "oxlint": "^1.46.0",
71
+ "postcss-html": "^1.7.0",
72
+ "sass": "^1.97.1",
73
+ "sass-loader": "^16.0.6",
74
+ "stylelint": "^16.14.1",
75
+ "stylelint-config-recommended-vue": "^1.6.1",
76
+ "stylelint-config-standard-scss": "^14.0.0",
77
+ "typescript": "~5.9.0",
78
+ "unocss": "^66.6.0",
79
+ "unplugin-auto-import": "^20.3.0",
80
+ "unplugin-vue-components": "^30.0.0",
81
+ "vite": "^7.2.4",
82
+ "vite-plugin-dts": "^4.5.4",
83
+ "vite-plugin-mock": "^3.0.2",
84
+ "vite-plugin-svg-icons": "^2.0.1",
85
+ "vite-plugin-vue-devtools": "^8.0.5",
86
+ "vitepress": "2.0.0-alpha.15",
87
+ "vue-tsc": "^3.1.5"
88
+ },
89
+ "workspaces": [
90
+ "packages/*",
91
+ "apps/*",
92
+ "tools/*"
93
+ ],
94
+ "keywords": [
95
+ "vue3",
96
+ "typescript",
97
+ "element-plus",
98
+ "component-library"
99
+ ],
100
+ "license": "MIT",
101
+ "scripts": {
102
+ "dev": "vite",
103
+ "dev:fast": "vite --force --host",
104
+ "build": "run-p type-check \"build-only {@}\" --",
105
+ "preview": "vite preview",
106
+ "build-only": "vite build",
107
+ "type-check": "vue-tsc --build",
108
+ "lint": "oxlint src --fix --cache",
109
+ "lint:all": "oxlint --all",
110
+ "lint:style": "stylelint \"src/**/*.{css,scss,vue}\" --fix --cache",
111
+ "fmt": "oxfmt --write src/",
112
+ "fmt:check": "oxfmt --check src/",
113
+ "lint:fmt": "pnpm run fmt && pnpm run lint:all",
114
+ "precommit": "pnpm run lint:fmt",
115
+ "commitlint": "commitlint --edit",
116
+ "commitmsg": "echo \"请输入提交信息: \" && read message && git commit -m \"$message\"",
117
+ "preinstall": "node .husky/check-package-manager.js",
118
+ "postinstall": "node node_modules/husky/bin.js install",
119
+ "docs:dev": "vitepress dev docs",
120
+ "docs:build": "vitepress build docs",
121
+ "docs:preview": "vitepress preview docs"
122
+ }
123
+ }