/
package.json
180 lines (180 loc) · 6.32 KB
/
package.json
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": "primitives",
"type": "module",
"version": "0.6.1",
"packageManager": "pnpm@8.13.1",
"repository": "oku-ui/primitives",
"engines": {
"node": ">=20"
},
"workspaces": [
"playground/*",
"packages/*",
"packages/package-build/*"
],
"scripts": {
"dev": "esno scripts/dev.ts",
"build": "pnpm nx run-many -t build",
"build:skip": "pnpm nx run-many -t build --skip-nx-cache",
"oku": "pnpm jiti ./scripts/index.ts",
"story": "pnpm storybook dev -p 6006 --no-open",
"lint": "eslint . --cache",
"lint:fix": "eslint . --fix --cache",
"play:vue": "pnpm clean:dts && pnpm --filter=vue3 p:dev",
"play:nuxt": "pnpm clean:dts && pnpm --filter=nuxt3 p:dev",
"play": "pnpm clean:dts && pnpm --filter='./playground/**' p:dev",
"play:gencomponents": "pnpm jiti ./scripts/playground-generator.ts",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:nuxt": "vitest -c vitest.nuxt.config.ts --coverage",
"coverage": "vitest run --coverage",
"build:storybook": "pnpm storybook build",
"typecheck": "tsc --noEmit",
"clean": "pnpm nx run-many -t clean",
"clean:node": "rimraf 'packages/**/node_modules' 'playground/**/node_modules' 'node_modules'",
"clean:dist": "rimraf 'packages/**/dist' 'playground/**/dist'",
"clean:dts": "rimraf 'playground/vue3/src/components.d.ts' 'playground/vue3/src/auto-imports.d.ts' 'playground/nuxt3/.nuxt'",
"update:version": "esno scripts/update-version.ts",
"prepare": "npx simple-git-hooks",
"release": "bumpp --commit --push --tag",
"scripts:genpackage": "esno scripts/generateAliasCode.ts"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.3",
"@clack/prompts": "^0.7.0",
"@egoist/tailwindcss-icons": "^1.7.2",
"@floating-ui/vue": "^1.0.5",
"@iconify-json/ph": "^1.1.10",
"@oku-ui/accordion": "workspace:^",
"@oku-ui/alert-dialog": "workspace:^",
"@oku-ui/arrow": "workspace:^",
"@oku-ui/aspect-ratio": "workspace:^",
"@oku-ui/avatar": "workspace:^",
"@oku-ui/checkbox": "workspace:^",
"@oku-ui/collapsible": "workspace:^",
"@oku-ui/collection": "workspace:^",
"@oku-ui/dialog": "workspace:^",
"@oku-ui/direction": "workspace:^",
"@oku-ui/dismissable-layer": "workspace:^",
"@oku-ui/focus-guards": "workspace:^",
"@oku-ui/focus-scope": "workspace:^",
"@oku-ui/hover-card": "workspace:^",
"@oku-ui/label": "workspace:^",
"@oku-ui/menu": "workspace:^",
"@oku-ui/popover": "workspace:^",
"@oku-ui/popper": "workspace:^",
"@oku-ui/portal": "workspace:^",
"@oku-ui/presence": "workspace:^",
"@oku-ui/primitive": "workspace:^",
"@oku-ui/progress": "workspace:^",
"@oku-ui/provide": "workspace:^",
"@oku-ui/radio-group": "workspace:^",
"@oku-ui/roving-focus": "workspace:^",
"@oku-ui/scroll-area": "workspace:^",
"@oku-ui/separator": "workspace:^",
"@oku-ui/slider": "workspace:^",
"@oku-ui/slot": "workspace:^",
"@oku-ui/switch": "workspace:^",
"@oku-ui/tabs": "workspace:^",
"@oku-ui/toast": "workspace:^",
"@oku-ui/toggle": "workspace:^",
"@oku-ui/toggle-group": "workspace:^",
"@oku-ui/toolbar": "workspace:^",
"@oku-ui/tooltip": "workspace:^",
"@oku-ui/use-composable": "workspace:^",
"@oku-ui/utils": "workspace:^",
"@oku-ui/visually-hidden": "workspace:^",
"@storybook/addon-essentials": "^7.6.10",
"@storybook/addon-interactions": "^7.6.10",
"@storybook/addon-links": "^7.6.10",
"@storybook/blocks": "^7.6.10",
"@storybook/testing-library": "^0.2.2",
"@storybook/vue3": "^7.6.10",
"@storybook/vue3-vite": "^7.6.10",
"@types/node": "^20.11.7",
"@vitejs/plugin-vue": "^5.0.3",
"@vitest/coverage-v8": "^1.2.1",
"@vue/test-utils": "^2.4.4",
"autoprefixer": "^10.4.17",
"bumpp": "^9.3.0",
"changelogen": "^0.5.5",
"chokidar": "^3.5.3",
"chromatic": "^10.6.0",
"eslint": "^8.56.0",
"eslint-plugin-storybook": "^0.8.0",
"esno": "^4.0.0",
"globby": "^14.0.0",
"happy-dom": "^13.0.0",
"jiti": "^1.21.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.0",
"nx": "^18.0.0",
"ofetch": "^1.3.3",
"pathe": "^1.1.2",
"postcss": "^8.4.33",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"storybook": "^7.6.10",
"storybook-dark-mode": "^3.0.3",
"tailwindcss": "^3.4.1",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "5.1.4",
"vite-plugin-dts": "^3.7.0",
"vitest": "^1.1.3",
"vitest-axe": "^1.0.0-pre.3",
"vue": "3.4.21"
},
"pnpm": {
"overrides": {
"@oku-ui/accordion": "workspace:^",
"@oku-ui/alert-dialog": "workspace:^",
"@oku-ui/arrow": "workspace:^",
"@oku-ui/aspect-ratio": "workspace:^",
"@oku-ui/avatar": "workspace:^",
"@oku-ui/checkbox": "workspace:^",
"@oku-ui/collapsible": "workspace:^",
"@oku-ui/collection": "workspace:^",
"@oku-ui/dialog": "workspace:^",
"@oku-ui/direction": "workspace:^",
"@oku-ui/dismissable-layer": "workspace:^",
"@oku-ui/focus-guards": "workspace:^",
"@oku-ui/focus-scope": "workspace:^",
"@oku-ui/hover-card": "workspace:^",
"@oku-ui/label": "workspace:^",
"@oku-ui/menu": "workspace:^",
"@oku-ui/popover": "workspace:^",
"@oku-ui/popper": "workspace:^",
"@oku-ui/portal": "workspace:^",
"@oku-ui/presence": "workspace:^",
"@oku-ui/primitive": "workspace:^",
"@oku-ui/progress": "workspace:^",
"@oku-ui/provide": "workspace:^",
"@oku-ui/radio-group": "workspace:^",
"@oku-ui/roving-focus": "workspace:^",
"@oku-ui/scroll-area": "workspace:^",
"@oku-ui/separator": "workspace:^",
"@oku-ui/slider": "workspace:^",
"@oku-ui/slot": "workspace:^",
"@oku-ui/switch": "workspace:^",
"@oku-ui/tabs": "workspace:^",
"@oku-ui/toast": "workspace:^",
"@oku-ui/toggle": "workspace:^",
"@oku-ui/toggle-group": "workspace:^",
"@oku-ui/toolbar": "workspace:^",
"@oku-ui/tooltip": "workspace:^",
"@oku-ui/use-composable": "workspace:^",
"@oku-ui/utils": "workspace:^",
"@oku-ui/visually-hidden": "workspace:^"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint . --fix"
}
}