-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
180 lines (180 loc) · 6.76 KB
/
Copy pathpackage.json
File metadata and controls
180 lines (180 loc) · 6.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "obsidian-admin-vue",
"type": "module",
"version": "1.2.0",
"packageManager": "pnpm@10.30.2",
"description": "Production-ready Vue 3 admin frontend with generated API contracts, multi-tenant integration, Naive UI, Pinia, and UnoCSS.",
"author": {
"name": "Obsidian Labs",
"email": "obsidianlabs.tech@gmail.com",
"url": "https://github.com/obsidianlabs-io"
},
"license": "MIT",
"homepage": "https://github.com/obsidianlabs-io/obsidian-admin-vue",
"repository": {
"url": "https://github.com/obsidianlabs-io/obsidian-admin-vue.git"
},
"bugs": {
"url": "https://github.com/obsidianlabs-io/obsidian-admin-vue/issues"
},
"keywords": [
"admin",
"vue",
"vue3",
"vue-admin-template",
"vite",
"vite8",
"typescript",
"naive-ui",
"pinia",
"unocss",
"openapi",
"hey-api",
"multi-tenant",
"saas",
"i18n",
"laravel-echo",
"pusher",
"playwright"
],
"engines": {
"node": ">=20.19.0",
"pnpm": ">=10.5.0"
},
"scripts": {
"api:architecture:check": "node scripts/api-architecture-check.mjs",
"api:types": "node scripts/generate-openapi-types.mjs && node scripts/generate-backend-types.mjs && pnpm openapi:client:official",
"api:types:check": "pnpm api:types && git diff --exit-code src/typings/api/openapi-generated.d.ts src/typings/api/backend-generated.d.ts src/service/api/generated",
"build": "vite build --mode prod",
"build:demo": "vite build --mode demo --outDir demo-dist",
"build:test": "vite build --mode test",
"check": "pnpm i18n:types:check && pnpm typecheck && pnpm lint:check && pnpm format:check && pnpm contract:check && pnpm api:architecture:check && pnpm path-safety:check",
"check:ci": "pnpm check && pnpm typecheck:strict && pnpm test:unit && pnpm test:vue && pnpm build && pnpm build:demo",
"cleanup": "sa cleanup",
"commit": "sa git-commit",
"commit:zh": "sa git-commit -l=zh-cn",
"contract:backend": "node scripts/api-backend-compat.mjs --check",
"contract:check": "node scripts/api-client-contract.mjs --check",
"contract:write": "node scripts/api-client-contract.mjs --write",
"dev": "vite --mode test",
"dev:demo": "vite --mode demo",
"dev:prod": "vite --mode prod",
"docs:build": "vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:preview": "vitepress preview docs",
"format": "prettier --write package.json README.md README.zh_CN.md .github/actions/setup-frontend/action.yml .github/workflows/*.yml",
"format:check": "prettier --check package.json README.md README.zh_CN.md .github/actions/setup-frontend/action.yml .github/workflows/*.yml",
"gen-route": "sa gen-route",
"generate-api": "node scripts/generate-api.mjs",
"generate:page": "plop --plopfile plopfile.cjs page",
"i18n:types": "node scripts/generate-i18n-types.mjs",
"i18n:types:check": "pnpm i18n:types && git diff --exit-code src/typings/i18n-generated.d.ts",
"lint": "eslint . --fix",
"lint:check": "eslint . --max-warnings 0",
"openapi:client:official": "openapi-ts -i ../obsidian-admin-laravel/docs/openapi.yaml -o src/service/api/generated -c @hey-api/client-axios",
"pages:bundle": "node scripts/assemble-pages-preview.mjs",
"pages:prepare-preview": "VITEPRESS_BASE=/obsidian-admin-vue/ pnpm docs:build && VITE_BASE_URL=/obsidian-admin-vue/preview/ pnpm build:demo && pnpm pages:bundle",
"path-safety:check": "node scripts/check-public-path-safety.mjs",
"prepare": "simple-git-hooks",
"preview": "vite preview",
"preview:demo": "vite preview --mode demo --outDir demo-dist",
"release": "sa release",
"release:pairing": "node scripts/check-release-pairing.mjs",
"test:e2e": "playwright test",
"test:fullstack": "playwright test --config playwright.fullstack.config.ts",
"test:lighthouse": "node scripts/run-lighthouse-preview.mjs",
"test:preview": "pnpm pages:prepare-preview && playwright test --config playwright.preview.config.ts",
"test:ui-baseline": "pnpm pages:prepare-preview && playwright test --config playwright.ui-baseline.config.ts",
"test:unit": "node scripts/run-unit-tests.mjs",
"test:vue": "vitest run",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"typecheck:api": "pnpm api:types:check && pnpm typecheck",
"typecheck:strict": "vue-tsc --noEmit --skipLibCheck --noUnusedLocals",
"update-pkg": "sa update-pkg"
},
"dependencies": {
"@better-scroll/core": "2.5.1",
"@iconify/vue": "5.0.0",
"@sa/axios": "workspace:*",
"@sa/color": "workspace:*",
"@sa/hooks": "workspace:*",
"@sa/materials": "workspace:*",
"@sa/utils": "workspace:*",
"@vueuse/core": "14.2.1",
"axios": "1.15.2",
"clipboard": "2.0.11",
"dayjs": "1.11.20",
"defu": "6.1.7",
"echarts": "6.0.0",
"json5": "2.2.3",
"laravel-echo": "^2.3.4",
"naive-ui": "2.44.1",
"nprogress": "0.2.0",
"pinia": "3.0.4",
"pusher-js": "^8.5.0",
"qrcode.vue": "^3.9.1",
"tailwind-merge": "3.5.0",
"vue": "3.5.32",
"vue-draggable-plus": "0.6.1",
"vue-i18n": "11.3.2",
"vue-router": "5.0.3"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.3",
"@elegant-router/vue": "0.3.8",
"@hey-api/openapi-ts": "^0.94.5",
"@iconify/json": "2.2.461",
"@lhci/cli": "0.15.1",
"@playwright/test": "^1.60.0",
"@sa/scripts": "workspace:*",
"@sa/uno-preset": "workspace:*",
"@soybeanjs/eslint-config": "1.7.5",
"@types/node": "25.3.5",
"@types/nprogress": "0.2.3",
"@unocss/eslint-config": "66.6.7",
"@unocss/preset-icons": "66.6.7",
"@unocss/preset-uno": "66.6.7",
"@unocss/preset-wind3": "66.6.7",
"@unocss/transformer-directives": "66.6.7",
"@unocss/transformer-variant-group": "66.6.7",
"@unocss/vite": "66.6.7",
"@vitejs/plugin-vue": "6.0.5",
"@vitejs/plugin-vue-jsx": "5.1.5",
"@vue/test-utils": "^2.4.10",
"consola": "3.4.2",
"eslint": "9.39.2",
"eslint-plugin-vue": "10.8.0",
"jsdom": "^29.1.1",
"kolorist": "1.8.0",
"plop": "^4.0.5",
"postcss": "^8.5.14",
"prettier": "3.8.2",
"sass": "1.98.0",
"simple-git-hooks": "2.13.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
"unplugin-icons": "23.0.1",
"unplugin-vue-components": "32.0.0",
"vite": "8.0.8",
"vite-plugin-progress": "0.0.7",
"vite-plugin-svg-icons": "2.0.1",
"vite-plugin-vue-devtools": "8.1.1",
"vite-plugin-vue-transition-root-validator": "^0.1.0",
"vitepress": "1.6.4",
"vitest": "^4.1.6",
"vue-eslint-parser": "10.4.0",
"vue-tsc": "3.2.9"
},
"pnpm": {
"overrides": {
"axios": "1.15.2",
"defu": "6.1.7",
"lodash": "4.18.1",
"lodash-es": "4.18.1"
}
},
"simple-git-hooks": {
"commit-msg": "pnpm sa git-commit-verify",
"pre-commit": "pnpm check"
}
}