bojuvue 0.2.1 → 0.3.2
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/LICENSE.md +0 -0
- package/README.md +7 -7
- package/dist/BVButton.test.d.ts +0 -0
- package/dist/BVButton.types.d.ts +0 -0
- package/dist/BVButton.vue.d.ts +0 -0
- package/dist/BVIconButton.test.d.ts +0 -0
- package/dist/BVIconButton.types.d.ts +0 -0
- package/dist/BVIconButton.vue.d.ts +0 -0
- package/dist/BVMoreButton.test.d.ts +0 -0
- package/dist/BVMoreButton.types.d.ts +0 -0
- package/dist/BVMoreButton.vue.d.ts +0 -0
- package/dist/BVPlatformButton.test.d.ts +0 -0
- package/dist/BVPlatformButton.types.d.ts +0 -0
- package/dist/BVPlatformButton.vue.d.ts +0 -0
- package/dist/bojuvue.css +1 -1
- package/dist/bojuvue.js +3 -3
- package/dist/index.d.ts +0 -0
- package/dist/moreButtonMenu.d.ts +0 -0
- package/dist/moreButtonMenu.test.d.ts +0 -0
- package/dist/platform.d.ts +0 -0
- package/dist/platform.test.d.ts +0 -0
- package/dist/url.d.ts +0 -0
- package/dist/useManifestFetch.d.ts +0 -0
- package/dist/{useMoreButtonMenu-BdAgqGZv.js → useMoreButtonMenu-BYpzDpLJ.js} +1 -1
- package/dist/useMoreButtonMenu.d.ts +0 -0
- package/dist/vitepress/BVButton.test.d.ts +0 -0
- package/dist/vitepress/BVButton.vue.d.ts +0 -0
- package/dist/vitepress/BVIconButton.test.d.ts +0 -0
- package/dist/vitepress/BVIconButton.vue.d.ts +0 -0
- package/dist/vitepress/BVMoreButton.test.d.ts +0 -0
- package/dist/vitepress/BVMoreButton.vue.d.ts +0 -0
- package/dist/vitepress/BVPlatformButton.test.d.ts +0 -0
- package/dist/vitepress/BVPlatformButton.vue.d.ts +0 -0
- package/dist/vitepress.d.ts +0 -0
- package/dist/vitepress.js +4 -4
- package/package.json +64 -64
package/LICENSE.md
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
</h4>
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
|
-
**BojuVue** is a Vue 3 component library published to npm as [
|
|
44
|
+
**BojuVue** is a Vue 3 component library published to npm as [`bojuvue`](https://www.npmjs.com/package/bojuvue). It exists so that VitePress sites — this author's homepage blog and several local documentation sites — can share one set of landing-page and UX components instead of duplicating them per repo. Update this repo, bump the version, publish, and every consuming site can pull in the update with `npm update`.
|
|
45
45
|
|
|
46
46
|
Branches
|
|
47
47
|
--------
|
|
@@ -92,7 +92,7 @@ Features
|
|
|
92
92
|
- `vue` is a peer dependency, so consuming sites use their own Vue instance — no duplicate copies, no broken reactivity
|
|
93
93
|
- Every component is exported from one entry point (`src/index.ts`), so consuming a new component is a one-line import change
|
|
94
94
|
- The `docs/` VitePress site imports directly from `src/index.ts`/`src/vitepress.ts` and registers every exported component globally, so new components can be previewed live in a real VitePress site without publishing or `npm link`
|
|
95
|
-
- Some components (currently `BVPlatformButton`) ship as **two fully independent builds behind two import paths**: a generic implementation at
|
|
95
|
+
- Some components (currently `BVPlatformButton`) ship as **two fully independent builds behind two import paths**: a generic implementation at `bojuvue`, with zero dependency on `vitepress`, and a VitePress-specific implementation at `bojuvue/vitepress`, same component name, resolving anything VitePress-specific for you. Neither component imports or renders the other — the import path is what disambiguates them. `vitepress` is an *optional* peer dependency — installing the package alone never requires it; only importing from the `/vitepress` path does.
|
|
96
96
|
|
|
97
97
|
Architecture
|
|
98
98
|
------------
|
|
@@ -165,7 +165,7 @@ references, so `build` is the only way to typecheck the library.
|
|
|
165
165
|
Installation
|
|
166
166
|
------------
|
|
167
167
|
```
|
|
168
|
-
npm install
|
|
168
|
+
npm install bojuvue
|
|
169
169
|
```
|
|
170
170
|
|
|
171
171
|
Usage
|
|
@@ -175,7 +175,7 @@ Register components however you already register components in your app:
|
|
|
175
175
|
```ts
|
|
176
176
|
// main.ts (or wherever you create your Vue app)
|
|
177
177
|
import { createApp } from 'vue'
|
|
178
|
-
import { BVPlatformButton, SomeComponent } from '
|
|
178
|
+
import { BVPlatformButton, SomeComponent } from 'bojuvue'
|
|
179
179
|
import App from './App.vue'
|
|
180
180
|
|
|
181
181
|
const app = createApp(App)
|
|
@@ -186,13 +186,13 @@ app.mount('#app')
|
|
|
186
186
|
|
|
187
187
|
Building a VitePress site? Register the same way from `enhanceApp` in
|
|
188
188
|
`.vitepress/theme/index.ts` instead of `main.ts`, and prefer importing from
|
|
189
|
-
|
|
189
|
+
`bojuvue/vitepress` for any component with a VitePress-aware build (see
|
|
190
190
|
Features above):
|
|
191
191
|
|
|
192
192
|
```ts
|
|
193
193
|
import DefaultTheme from 'vitepress/theme'
|
|
194
|
-
import { BVPlatformButton } from '
|
|
195
|
-
import { SomeComponent } from '
|
|
194
|
+
import { BVPlatformButton } from 'bojuvue/vitepress'
|
|
195
|
+
import { SomeComponent } from 'bojuvue'
|
|
196
196
|
|
|
197
197
|
export default {
|
|
198
198
|
extends: DefaultTheme,
|
package/dist/BVButton.test.d.ts
CHANGED
|
File without changes
|
package/dist/BVButton.types.d.ts
CHANGED
|
File without changes
|
package/dist/BVButton.vue.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/bojuvue.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.bv-button[data-v-
|
|
1
|
+
.bv-button[data-v-4f016e07]{text-align:center;white-space:nowrap;border:1px solid #0000;font-weight:600;text-decoration:none;transition:color .25s,border-color .25s,background-color .25s;display:inline-block}.bv-button[data-v-4f016e07]:active{transition:color .1s,border-color .1s,background-color .1s}.bv-button.medium[data-v-4f016e07]{border-radius:20px;padding:0 20px;font-size:14px;line-height:38px}.bv-button.big[data-v-4f016e07]{border-radius:24px;padding:0 24px;font-size:16px;line-height:46px}.bv-button.brand[data-v-4f016e07]{border-color:var(--vp-button-brand-border,#3c8772);color:var(--vp-button-brand-text,#fff);background-color:var(--vp-button-brand-bg,#3c8772)}.bv-button.brand[data-v-4f016e07]:hover{border-color:var(--vp-button-brand-hover-border,#359469);color:var(--vp-button-brand-hover-text,#fff);background-color:var(--vp-button-brand-hover-bg,#359469)}.bv-button.brand[data-v-4f016e07]:active{border-color:var(--vp-button-brand-active-border,#2b8760);color:var(--vp-button-brand-active-text,#fff);background-color:var(--vp-button-brand-active-bg,#2b8760)}.bv-button.alt[data-v-4f016e07]{border-color:var(--vp-button-alt-border,transparent);color:var(--vp-button-alt-text,#3c3c43);background-color:var(--vp-button-alt-bg,#f2f2f3)}.bv-button.alt[data-v-4f016e07]:hover{border-color:var(--vp-button-alt-hover-border,transparent);color:var(--vp-button-alt-hover-text,#3c3c43);background-color:var(--vp-button-alt-hover-bg,#e6e6e7)}.bv-button.alt[data-v-4f016e07]:active{border-color:var(--vp-button-alt-active-border,transparent);color:var(--vp-button-alt-active-text,#3c3c43);background-color:var(--vp-button-alt-active-bg,#dcdcdd)}.bv-button.sponsor[data-v-4f016e07]{border-color:var(--vp-button-sponsor-border,transparent);color:var(--vp-button-sponsor-text,#d5389c);background-color:var(--vp-button-sponsor-bg,transparent)}.bv-button.sponsor[data-v-4f016e07]:hover{border-color:var(--vp-button-sponsor-hover-border,#d5389c);color:var(--vp-button-sponsor-hover-text,#d5389c);background-color:var(--vp-button-sponsor-hover-bg,transparent)}.bv-button.sponsor[data-v-4f016e07]:active{border-color:var(--vp-button-sponsor-active-border,#d5389c);color:var(--vp-button-sponsor-active-text,#d5389c);background-color:var(--vp-button-sponsor-active-bg,transparent)}.bv-icon-button[data-v-5330079c]{align-items:center;display:inline-flex;position:relative}.bv-icon-button-icon[data-v-5330079c]{pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute}.bv-icon-button-icon[data-v-5330079c] svg{width:1em;height:1em}.bv-icon-button.icon-only .bv-icon-button-icon[data-v-5330079c]{inset:0}.bv-icon-button.has-icon .bv-icon-button-icon[data-v-5330079c]{top:50%;transform:translateY(-50%)}.bv-icon-button.has-icon.medium .bv-icon-button-icon[data-v-5330079c]{font-size:14px;left:20px}.bv-icon-button.has-icon.big .bv-icon-button-icon[data-v-5330079c]{font-size:16px;left:24px}[data-v-5330079c] .bv-button.icon-only{padding:0;line-height:1}[data-v-5330079c] .bv-button.icon-only.medium{width:38px;height:38px}[data-v-5330079c] .bv-button.icon-only.big{width:46px;height:46px}[data-v-5330079c] .bv-button.has-icon.medium{padding-left:calc(26px + 1em)}[data-v-5330079c] .bv-button.has-icon.big{padding-left:calc(30px + 1em)}.bv-more-button[data-v-a2fecc58]{display:inline-flex;position:relative}.bv-more-button-panel[data-v-a2fecc58]{z-index:100;border:1px solid var(--vp-c-divider,#e2e2e3);background-color:var(--vp-c-bg-elv,#fff);min-width:180px;box-shadow:var(--vp-shadow-3,0 12px 32px #0000002e);border-radius:8px;flex-direction:column;padding:4px;display:flex;position:fixed}.bv-more-button-item[data-v-a2fecc58]{color:var(--vp-c-text-1,#3c3c43);white-space:nowrap;border-radius:6px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;text-decoration:none;display:flex}.bv-more-button-item[data-v-a2fecc58]:hover,.bv-more-button-item[data-v-a2fecc58]:focus-visible{background-color:var(--vp-c-default-soft,#f2f2f3);outline:none}.bv-more-button-item-icon[data-v-a2fecc58] svg{width:1em;height:1em}.VPButton[data-v-8beb07d9]{text-decoration:none}.bv-icon-button[data-v-4a289ccc]{align-items:center;display:inline-flex;position:relative}.bv-icon-button-icon[data-v-4a289ccc]{pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute}.bv-icon-button-icon[data-v-4a289ccc] svg{width:1em;height:1em}.bv-icon-button.icon-only .bv-icon-button-icon[data-v-4a289ccc]{inset:0}.bv-icon-button.has-icon .bv-icon-button-icon[data-v-4a289ccc]{top:50%;transform:translateY(-50%)}.bv-icon-button.has-icon.medium .bv-icon-button-icon[data-v-4a289ccc]{font-size:14px;left:20px}.bv-icon-button.has-icon.big .bv-icon-button-icon[data-v-4a289ccc]{font-size:16px;left:24px}[data-v-4a289ccc] .bv-button.icon-only{padding:0;line-height:1}[data-v-4a289ccc] .bv-button.icon-only.medium{width:38px;height:38px}[data-v-4a289ccc] .bv-button.icon-only.big{width:46px;height:46px}[data-v-4a289ccc] .VPButton.has-icon.medium{padding-left:calc(26px + 1em)}[data-v-4a289ccc] .VPButton.has-icon.big{padding-left:calc(30px + 1em)}.bv-more-button[data-v-5f02f0be]{display:inline-flex;position:relative}.bv-more-button-panel[data-v-5f02f0be]{z-index:100;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);min-width:180px;box-shadow:var(--vp-shadow-3);border-radius:8px;flex-direction:column;padding:4px;display:flex;position:fixed}.bv-more-button-item[data-v-5f02f0be]{color:var(--vp-c-text-1);white-space:nowrap;border-radius:6px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;text-decoration:none;display:flex}.bv-more-button-item[data-v-5f02f0be]:hover,.bv-more-button-item[data-v-5f02f0be]:focus-visible{background-color:var(--vp-c-default-soft);outline:none}.bv-more-button-item-icon[data-v-5f02f0be] svg{width:1em;height:1em}
|
|
2
2
|
/*$vite$:1*/
|
package/dist/bojuvue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./useMoreButtonMenu-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./useMoreButtonMenu-BYpzDpLJ.js";
|
|
2
2
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createTextVNode as m, createVNode as h, defineComponent as g, mergeProps as _, normalizeClass as v, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T } from "vue";
|
|
3
3
|
//#region src/BVIconButton.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var E = ["innerHTML"], D = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
@@ -49,7 +49,7 @@ var E = ["innerHTML"], D = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
|
49
49
|
innerHTML: e.icon
|
|
50
50
|
}, null, 8, E)) : f("", !0)], 2));
|
|
51
51
|
}
|
|
52
|
-
}), [["__scopeId", "data-v-
|
|
52
|
+
}), [["__scopeId", "data-v-5330079c"]]), O = /* @__PURE__ */ g({
|
|
53
53
|
__name: "BVPlatformButton",
|
|
54
54
|
props: {
|
|
55
55
|
manifestUrl: { default: "platformButton.json" },
|
|
@@ -169,6 +169,6 @@ var E = ["innerHTML"], D = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
|
169
169
|
innerHTML: e.icon
|
|
170
170
|
}, null, 8, A)) : f("", !0), m(" " + w(e.label), 1)], 8, k))), 128))], 36)) : f("", !0)], 512));
|
|
171
171
|
}
|
|
172
|
-
}), [["__scopeId", "data-v-
|
|
172
|
+
}), [["__scopeId", "data-v-a2fecc58"]]);
|
|
173
173
|
//#endregion
|
|
174
174
|
export { s as BVButton, D as BVIconButton, M as BVMoreButton, O as BVPlatformButton, o as defaultLabels, n as detectPlatform, e as resolveDownload, a as resolveManifestUrl };
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/moreButtonMenu.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/platform.d.ts
CHANGED
|
File without changes
|
package/dist/platform.test.d.ts
CHANGED
|
File without changes
|
package/dist/url.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -38,7 +38,7 @@ var v = /*@__PURE__*/ r({
|
|
|
38
38
|
let n = e.__vccOpts || e;
|
|
39
39
|
for (let [e, r] of t) n[e] = r;
|
|
40
40
|
return n;
|
|
41
|
-
}, b = /*#__PURE__*/ y(v, [["__scopeId", "data-v-
|
|
41
|
+
}, b = /*#__PURE__*/ y(v, [["__scopeId", "data-v-4f016e07"]]);
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/platform.ts
|
|
44
44
|
function x(e) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/vitepress.d.ts
CHANGED
|
File without changes
|
package/dist/vitepress.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./useMoreButtonMenu-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./useMoreButtonMenu-BYpzDpLJ.js";
|
|
2
2
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createTextVNode as m, createVNode as h, defineComponent as g, mergeProps as _, normalizeClass as v, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T } from "vue";
|
|
3
3
|
import { useData as E, withBase as D } from "vitepress";
|
|
4
4
|
import { VPButton as O } from "vitepress/theme";
|
|
@@ -34,7 +34,7 @@ var k = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
|
34
34
|
"theme"
|
|
35
35
|
]));
|
|
36
36
|
}
|
|
37
|
-
}), [["__scopeId", "data-v-
|
|
37
|
+
}), [["__scopeId", "data-v-8beb07d9"]]), A = ["innerHTML"], j = ["innerHTML"], M = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
38
38
|
inheritAttrs: !1,
|
|
39
39
|
__name: "BVIconButton",
|
|
40
40
|
props: {
|
|
@@ -99,7 +99,7 @@ var k = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
|
99
99
|
innerHTML: e.icon
|
|
100
100
|
}, null, 8, j)) : f("", !0)], 64))], 2));
|
|
101
101
|
}
|
|
102
|
-
}), [["__scopeId", "data-v-
|
|
102
|
+
}), [["__scopeId", "data-v-4a289ccc"]]), N = /* @__PURE__ */ g({
|
|
103
103
|
__name: "BVPlatformButton",
|
|
104
104
|
props: {
|
|
105
105
|
manifestUrl: { default: "platformButton.json" },
|
|
@@ -218,6 +218,6 @@ var k = /*#__PURE__*/ t(/* @__PURE__ */ g({
|
|
|
218
218
|
innerHTML: e.icon
|
|
219
219
|
}, null, 8, F)) : f("", !0), m(" " + w(e.label), 1)], 8, P))), 128))], 36)) : f("", !0)], 512));
|
|
220
220
|
}
|
|
221
|
-
}), [["__scopeId", "data-v-
|
|
221
|
+
}), [["__scopeId", "data-v-5f02f0be"]]);
|
|
222
222
|
//#endregion
|
|
223
223
|
export { k as BVButton, M as BVIconButton, L as BVMoreButton, N as BVPlatformButton, o as defaultLabels, n as detectPlatform, e as resolveDownload, a as resolveManifestUrl };
|
package/package.json
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bojuvue",
|
|
3
|
-
"version": "0.2
|
|
4
|
-
"type": "module",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"description": "Vue 3 components for VitePress — platform-aware download buttons and shared UI, built so publishing them doesn't duplicate Vue.",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "https://github.com/ScottKirvan/BojuVue"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist"
|
|
13
|
-
],
|
|
14
|
-
"main": "./dist/bojuvue.js",
|
|
15
|
-
"module": "./dist/bojuvue.js",
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"exports": {
|
|
18
|
-
".": {
|
|
19
|
-
"types": "./dist/index.d.ts",
|
|
20
|
-
"import": "./dist/bojuvue.js"
|
|
21
|
-
},
|
|
22
|
-
"./vitepress": {
|
|
23
|
-
"types": "./dist/vitepress.d.ts",
|
|
24
|
-
"import": "./dist/vitepress.js"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"build": "vue-tsc -b && vite build",
|
|
29
|
-
"test": "vitest run"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@types/node": "^26.2.0",
|
|
33
|
-
"@vitejs/plugin-vue": "^6.0.8",
|
|
34
|
-
"@vue/test-utils": "^2.4.11",
|
|
35
|
-
"jsdom": "^29.1.1",
|
|
36
|
-
"typescript": "^5.9.3",
|
|
37
|
-
"vite": "^8.2.2",
|
|
38
|
-
"vite-plugin-dts": "^5.0.3",
|
|
39
|
-
"vitepress": "^1.6.4",
|
|
40
|
-
"vitest": "^4.1.11",
|
|
41
|
-
"vue-tsc": "^3.3.11"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"vitepress": "^1.6.4",
|
|
45
|
-
"vue": "^3.5.41"
|
|
46
|
-
},
|
|
47
|
-
"peerDependenciesMeta": {
|
|
48
|
-
"vitepress": {
|
|
49
|
-
"optional": true
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"keywords": [
|
|
53
|
-
"vue",
|
|
54
|
-
"vue3",
|
|
55
|
-
"vitepress",
|
|
56
|
-
"vitepress-components",
|
|
57
|
-
"vitepress-theme",
|
|
58
|
-
"component-library",
|
|
59
|
-
"download-button",
|
|
60
|
-
"platform-detection",
|
|
61
|
-
"typescript",
|
|
62
|
-
"vite"
|
|
63
|
-
],
|
|
64
|
-
"homepage": "https://github.com/ScottKirvan/BojuVue#readme"
|
|
1
|
+
{
|
|
2
|
+
"name": "bojuvue",
|
|
3
|
+
"version": "0.3.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "Vue 3 components for VitePress — platform-aware download buttons and shared UI, built so publishing them doesn't duplicate Vue.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/ScottKirvan/BojuVue.git"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"main": "./dist/bojuvue.js",
|
|
15
|
+
"module": "./dist/bojuvue.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/bojuvue.js"
|
|
21
|
+
},
|
|
22
|
+
"./vitepress": {
|
|
23
|
+
"types": "./dist/vitepress.d.ts",
|
|
24
|
+
"import": "./dist/vitepress.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "vue-tsc -b && vite build",
|
|
29
|
+
"test": "vitest run"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/node": "^26.2.0",
|
|
33
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
34
|
+
"@vue/test-utils": "^2.4.11",
|
|
35
|
+
"jsdom": "^29.1.1",
|
|
36
|
+
"typescript": "^5.9.3",
|
|
37
|
+
"vite": "^8.2.2",
|
|
38
|
+
"vite-plugin-dts": "^5.0.3",
|
|
39
|
+
"vitepress": "^1.6.4",
|
|
40
|
+
"vitest": "^4.1.11",
|
|
41
|
+
"vue-tsc": "^3.3.11"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vitepress": "^1.6.4",
|
|
45
|
+
"vue": "^3.5.41"
|
|
46
|
+
},
|
|
47
|
+
"peerDependenciesMeta": {
|
|
48
|
+
"vitepress": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"vue",
|
|
54
|
+
"vue3",
|
|
55
|
+
"vitepress",
|
|
56
|
+
"vitepress-components",
|
|
57
|
+
"vitepress-theme",
|
|
58
|
+
"component-library",
|
|
59
|
+
"download-button",
|
|
60
|
+
"platform-detection",
|
|
61
|
+
"typescript",
|
|
62
|
+
"vite"
|
|
63
|
+
],
|
|
64
|
+
"homepage": "https://github.com/ScottKirvan/BojuVue#readme"
|
|
65
65
|
}
|