@miden-npm/vue 0.0.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/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +1684 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/types/apis/checkout.api.d.ts +2 -0
- package/dist/types/apis/index.d.ts +1 -0
- package/dist/types/buzapay-checkout/checkout-button.vue.d.ts +15 -0
- package/dist/types/buzapay-checkout/checkout-card.vue.d.ts +27 -0
- package/dist/types/buzapay-checkout/checkout-iframe.vue.d.ts +23 -0
- package/dist/types/components/base/back.vue.d.ts +6 -0
- package/dist/types/components/base/button.vue.d.ts +37 -0
- package/dist/types/components/base/card.vue.d.ts +23 -0
- package/dist/types/components/base/copy.vue.d.ts +6 -0
- package/dist/types/components/base/currency-amount.vue.d.ts +15 -0
- package/dist/types/components/base/hint.vue.d.ts +5 -0
- package/dist/types/components/base/image.vue.d.ts +20 -0
- package/dist/types/components/base/index.d.ts +13 -0
- package/dist/types/components/base/input-error.vue.d.ts +5 -0
- package/dist/types/components/base/input.vue.d.ts +59 -0
- package/dist/types/components/base/label-info.vue.d.ts +27 -0
- package/dist/types/components/base/radio-group.vue.d.ts +29 -0
- package/dist/types/components/base/select.vue.d.ts +57 -0
- package/dist/types/components/base/success.vue.d.ts +4 -0
- package/dist/types/components/icons/icon-arrow-swap.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-buzapay-icon.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-check-circle.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-chevron-down.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-chevron-left.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-chevron-up.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-copy-success.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-loader.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-usdc.vue.d.ts +11 -0
- package/dist/types/components/icons/icon-usdt.vue.d.ts +11 -0
- package/dist/types/components/icons/index.d.ts +10 -0
- package/dist/types/components/pay-by-card.vue.d.ts +4 -0
- package/dist/types/components/pay-by-stable-coin.vue.d.ts +8 -0
- package/dist/types/components/pay-by-transfer.vue.d.ts +20 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/plugin.d.ts +6 -0
- package/dist/types/types/checkout.type.d.ts +8 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/resource.type.d.ts +29 -0
- package/dist/types/types.d.ts +10 -0
- package/dist/types/utils/api.util.d.ts +1 -0
- package/dist/types/utils/index.d.ts +4 -0
- package/dist/types/utils/input.util.d.ts +1 -0
- package/dist/types/utils/object.util.d.ts +1 -0
- package/dist/types/utils/string.util.d.ts +3 -0
- package/package.json +43 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type Layout = "vertical" | "horizontal";
|
|
2
|
+
interface Option {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface IBaseRadioGroupProps {
|
|
7
|
+
options: Option[];
|
|
8
|
+
type?: Layout;
|
|
9
|
+
/** Controlled value (v-model) */
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
/** Uncontrolled initial value */
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
/** Extra classes for the container */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<IBaseRadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (v: string) => any;
|
|
18
|
+
selectedChange: (v: string) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<IBaseRadioGroupProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
21
|
+
onSelectedChange?: ((v: string) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
className: string;
|
|
24
|
+
type: Layout;
|
|
25
|
+
options: Option[];
|
|
26
|
+
modelValue: string;
|
|
27
|
+
defaultValue: string;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
type ImageType = "country" | "bank" | null;
|
|
2
|
+
export interface SelectOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
countryCode?: string;
|
|
6
|
+
bankCode?: string;
|
|
7
|
+
}
|
|
8
|
+
interface IBaseSelectProps {
|
|
9
|
+
options: SelectOption[];
|
|
10
|
+
/** Controlled value (v-model) */
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
/** Uncontrolled initial value */
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
/** Emits change when selection changes */
|
|
15
|
+
className?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
hasSearch?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
validationError?: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
hint?: string;
|
|
23
|
+
required?: boolean;
|
|
24
|
+
itemImageType?: ImageType;
|
|
25
|
+
}
|
|
26
|
+
declare var __VLS_1: {};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
prefix?: (props: typeof __VLS_1) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<IBaseSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
"update:modelValue": (v: string) => any;
|
|
32
|
+
change: (v: string) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<IBaseSelectProps> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
35
|
+
onChange?: ((v: string) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
className: string;
|
|
38
|
+
label: string;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
required: boolean;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
options: SelectOption[];
|
|
44
|
+
modelValue: string;
|
|
45
|
+
defaultValue: string;
|
|
46
|
+
validationError: string;
|
|
47
|
+
hint: string;
|
|
48
|
+
hasSearch: boolean;
|
|
49
|
+
itemImageType: ImageType;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface IBaseSuccessProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: import("vue").DefineComponent<IBaseSuccessProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IBaseSuccessProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
size?: number | string;
|
|
3
|
+
color?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
size: number | string;
|
|
8
|
+
color: string;
|
|
9
|
+
className: string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IIconProps {
|
|
2
|
+
width?: number | string;
|
|
3
|
+
height?: number | string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps> & Readonly<{}>, {
|
|
7
|
+
color: string;
|
|
8
|
+
width: number | string;
|
|
9
|
+
height: number | string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./icon-arrow-swap.vue";
|
|
2
|
+
export * from "./icon-buzapay-icon.vue";
|
|
3
|
+
export * from "./icon-check-circle.vue";
|
|
4
|
+
export * from "./icon-chevron-down.vue";
|
|
5
|
+
export * from "./icon-chevron-left.vue";
|
|
6
|
+
export * from "./icon-chevron-up.vue";
|
|
7
|
+
export * from "./icon-copy-success.vue";
|
|
8
|
+
export * from "./icon-loader.vue";
|
|
9
|
+
export * from "./icon-usdc.vue";
|
|
10
|
+
export * from "./icon-usdt.vue";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface IPayByCardProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: import("vue").DefineComponent<IPayByCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IPayByCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface IPayByStableCoinProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: import("vue").DefineComponent<IPayByStableCoinProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
proceed: () => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<IPayByStableCoinProps> & Readonly<{
|
|
6
|
+
onProceed?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface IPayByTransferProps {
|
|
2
|
+
amountDisplay?: string;
|
|
3
|
+
bankName?: string;
|
|
4
|
+
accountNumber?: string;
|
|
5
|
+
/** Initial countdown seconds (defaults to 30 minutes) */
|
|
6
|
+
initialSeconds?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<IPayByTransferProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
cancel: () => any;
|
|
10
|
+
confirm: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<IPayByTransferProps> & Readonly<{
|
|
12
|
+
onCancel?: (() => any) | undefined;
|
|
13
|
+
onConfirm?: (() => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
amountDisplay: string;
|
|
16
|
+
bankName: string;
|
|
17
|
+
accountNumber: string;
|
|
18
|
+
initialSeconds: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { createMidenPG, useMidenPG } from "./plugin";
|
|
2
|
+
export { default as BzpCheckoutButton } from "./buzapay-checkout/checkout-button.vue";
|
|
3
|
+
export { default as BzpCheckoutIframe } from "./buzapay-checkout/checkout-iframe.vue";
|
|
4
|
+
export { default as BzpCheckoutCard } from "./buzapay-checkout/checkout-card.vue";
|
|
5
|
+
export * from "./types";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface IPagination {
|
|
2
|
+
currentPage?: number;
|
|
3
|
+
totalCount?: number;
|
|
4
|
+
pageSize?: number;
|
|
5
|
+
totalPages?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface IApiResponse<T> extends IPagination {
|
|
8
|
+
isSuccessful: boolean;
|
|
9
|
+
launchUrl?: string;
|
|
10
|
+
loginSuccessful?: boolean;
|
|
11
|
+
responseMessage: string;
|
|
12
|
+
responseCode: string;
|
|
13
|
+
data: T | null;
|
|
14
|
+
user?: T;
|
|
15
|
+
merchant?: T;
|
|
16
|
+
transactions?: T[];
|
|
17
|
+
beneficiary?: T[];
|
|
18
|
+
refunds?: T;
|
|
19
|
+
batches?: T[];
|
|
20
|
+
checkouts?: T[];
|
|
21
|
+
collections?: T[];
|
|
22
|
+
disputes?: T[];
|
|
23
|
+
invoices?: T[];
|
|
24
|
+
invoice?: T;
|
|
25
|
+
networks?: T;
|
|
26
|
+
totalCreditTransactions?: string;
|
|
27
|
+
totalDebitTransactions?: string;
|
|
28
|
+
totalTransactions?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type Currency = "NGN" | "USD" | "GHS" | "KES" | string;
|
|
2
|
+
export interface MidenPGConfig {
|
|
3
|
+
publishableKey: string;
|
|
4
|
+
apiBaseUrl?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CheckoutParams {
|
|
7
|
+
amount: number;
|
|
8
|
+
currency: Currency;
|
|
9
|
+
metadata?: Record<string, unknown>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getBaseUrl: (mode: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const restrictToNumericKeys: (event: KeyboardEvent) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkObjectTruthy: <T extends object>(obj: T) => boolean;
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@miden-npm/vue",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org",
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"description": "Miden Payment Gateway Vue SDK",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "dist/index.cjs.js",
|
|
12
|
+
"module": "dist/index.es.js",
|
|
13
|
+
"unpkg": "dist/index.umd.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/types/index.d.ts",
|
|
18
|
+
"import": "./dist/index.es.js",
|
|
19
|
+
"require": "./dist/index.cjs.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"vue": "^3.4.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
31
|
+
"rimraf": "^6.0.1",
|
|
32
|
+
"typescript": "^5.9.2",
|
|
33
|
+
"vite": "^5.4.19",
|
|
34
|
+
"vue": "^3.5.20",
|
|
35
|
+
"vue-tsc": "^2.2.12"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "rimraf dist && vite build && vue-tsc -p tsconfig.build.json",
|
|
39
|
+
"build:watch": "vite build --watch",
|
|
40
|
+
"types:watch": "vue-tsc -w -p tsconfig.build.json",
|
|
41
|
+
"dev": "vite"
|
|
42
|
+
}
|
|
43
|
+
}
|