@antsoo-lib/hooks 0.0.1
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 +76 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +40 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -0
- package/package.json +38 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
configUseMessage: () => configUseMessage,
|
|
24
|
+
useMessage: () => useMessage
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(index_exports);
|
|
27
|
+
|
|
28
|
+
// src/useMessage.ts
|
|
29
|
+
var import_components = require("@antsoo-lib/components");
|
|
30
|
+
var globalOptions = {};
|
|
31
|
+
var configUseMessage = (options) => {
|
|
32
|
+
globalOptions = {
|
|
33
|
+
...globalOptions,
|
|
34
|
+
...options,
|
|
35
|
+
modal: { ...globalOptions.modal, ...options.modal },
|
|
36
|
+
message: { ...globalOptions.message, ...options.message },
|
|
37
|
+
notification: { ...globalOptions.notification, ...options.notification },
|
|
38
|
+
extensions: { ...globalOptions.extensions, ...options.extensions }
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
var useMessage = (options) => {
|
|
42
|
+
const staticFunction = import_components.App.useApp();
|
|
43
|
+
const currentOptions = {
|
|
44
|
+
...globalOptions,
|
|
45
|
+
...options,
|
|
46
|
+
modal: { ...globalOptions.modal, ...options?.modal },
|
|
47
|
+
message: { ...globalOptions.message, ...options?.message },
|
|
48
|
+
notification: { ...globalOptions.notification, ...options?.notification },
|
|
49
|
+
extensions: { ...globalOptions.extensions, ...options?.extensions }
|
|
50
|
+
};
|
|
51
|
+
const ctx = {
|
|
52
|
+
message: {
|
|
53
|
+
...staticFunction.message,
|
|
54
|
+
...currentOptions.message
|
|
55
|
+
},
|
|
56
|
+
modal: {
|
|
57
|
+
...staticFunction.modal,
|
|
58
|
+
...currentOptions.modal
|
|
59
|
+
},
|
|
60
|
+
notification: {
|
|
61
|
+
...staticFunction.notification,
|
|
62
|
+
...currentOptions.notification
|
|
63
|
+
},
|
|
64
|
+
...currentOptions.extensions
|
|
65
|
+
};
|
|
66
|
+
if (currentOptions.transform) {
|
|
67
|
+
return currentOptions.transform(ctx);
|
|
68
|
+
}
|
|
69
|
+
return ctx;
|
|
70
|
+
};
|
|
71
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
72
|
+
0 && (module.exports = {
|
|
73
|
+
configUseMessage,
|
|
74
|
+
useMessage
|
|
75
|
+
});
|
|
76
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../index.ts","../src/useMessage.ts"],"sourcesContent":["export * from './src/useMessage'\n","import { App } from '@antsoo-lib/components'\nimport type { MessageInstance } from '@antsoo-lib/components/message/interface'\nimport type { ModalStaticFunctions } from '@antsoo-lib/components/modal/confirm'\nimport type { NotificationInstance } from '@antsoo-lib/components/notification/interface'\n\n/**\n * 消息上下文类型\n * 支持通过泛型扩展自定义方法\n */\nexport type MessageCtx<T = Record<string, unknown>> = {\n message: MessageInstance\n modal: Omit<ModalStaticFunctions, 'warn'>\n notification: NotificationInstance\n} & T\n\n/**\n * 配置项\n */\nexport interface UseMessageOptions<T = Record<string, unknown>> {\n /** 自定义 Modal 方法 */\n modal?: Partial<ModalStaticFunctions>\n /** 自定义 Message 方法 */\n message?: Partial<MessageInstance>\n /** 自定义 Notification 方法 */\n notification?: Partial<NotificationInstance>\n /** 扩展自定义属性或方法 */\n extensions?: T\n /** 转换器:允许在返回前对上下文进行最后处理 */\n transform?: (ctx: MessageCtx<T>) => any\n}\n\nlet globalOptions: UseMessageOptions<Record<string, unknown>> = {}\n\n/**\n * 全局配置 useMessage\n * 方便在项目入口处统一设置\n */\nexport const configUseMessage = (options: UseMessageOptions<Record<string, unknown>>) => {\n globalOptions = {\n ...globalOptions,\n ...options,\n modal: { ...globalOptions.modal, ...options.modal },\n message: { ...globalOptions.message, ...options.message },\n notification: { ...globalOptions.notification, ...options.notification },\n extensions: { ...globalOptions.extensions, ...options.extensions },\n }\n}\n\n/**\n * 消息提示 Hook\n * @param options 局部配置,优先级高于全局配置\n */\nexport const useMessage = <T = Record<string, unknown>>(\n options?: UseMessageOptions<T>,\n): MessageCtx<T> => {\n const staticFunction = App.useApp()\n\n // 合并配置:局部 > 全局 > 默认\n const currentOptions = {\n ...globalOptions,\n ...options,\n modal: { ...globalOptions.modal, ...options?.modal },\n message: { ...globalOptions.message, ...options?.message },\n notification: { ...globalOptions.notification, ...options?.notification },\n extensions: { ...globalOptions.extensions, ...options?.extensions },\n }\n\n const ctx: MessageCtx<T> = {\n message: {\n ...staticFunction.message,\n ...currentOptions.message,\n } as MessageInstance,\n modal: {\n ...staticFunction.modal,\n ...currentOptions.modal,\n } as ModalStaticFunctions,\n notification: {\n ...staticFunction.notification,\n ...currentOptions.notification,\n } as NotificationInstance,\n ...(currentOptions.extensions as T),\n }\n\n // 如果有转换器,执行转换\n if (currentOptions.transform) {\n return currentOptions.transform(ctx)\n }\n\n return ctx\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,wBAAoB;AA+BpB,IAAI,gBAA4D,CAAC;AAM1D,IAAM,mBAAmB,CAAC,YAAwD;AACvF,kBAAgB;AAAA,IACd,GAAG;AAAA,IACH,GAAG;AAAA,IACH,OAAO,EAAE,GAAG,cAAc,OAAO,GAAG,QAAQ,MAAM;AAAA,IAClD,SAAS,EAAE,GAAG,cAAc,SAAS,GAAG,QAAQ,QAAQ;AAAA,IACxD,cAAc,EAAE,GAAG,cAAc,cAAc,GAAG,QAAQ,aAAa;AAAA,IACvE,YAAY,EAAE,GAAG,cAAc,YAAY,GAAG,QAAQ,WAAW;AAAA,EACnE;AACF;AAMO,IAAM,aAAa,CACxB,YACkB;AAClB,QAAM,iBAAiB,sBAAI,OAAO;AAGlC,QAAM,iBAAiB;AAAA,IACrB,GAAG;AAAA,IACH,GAAG;AAAA,IACH,OAAO,EAAE,GAAG,cAAc,OAAO,GAAG,SAAS,MAAM;AAAA,IACnD,SAAS,EAAE,GAAG,cAAc,SAAS,GAAG,SAAS,QAAQ;AAAA,IACzD,cAAc,EAAE,GAAG,cAAc,cAAc,GAAG,SAAS,aAAa;AAAA,IACxE,YAAY,EAAE,GAAG,cAAc,YAAY,GAAG,SAAS,WAAW;AAAA,EACpE;AAEA,QAAM,MAAqB;AAAA,IACzB,SAAS;AAAA,MACP,GAAG,eAAe;AAAA,MAClB,GAAG,eAAe;AAAA,IACpB;AAAA,IACA,OAAO;AAAA,MACL,GAAG,eAAe;AAAA,MAClB,GAAG,eAAe;AAAA,IACpB;AAAA,IACA,cAAc;AAAA,MACZ,GAAG,eAAe;AAAA,MAClB,GAAG,eAAe;AAAA,IACpB;AAAA,IACA,GAAI,eAAe;AAAA,EACrB;AAGA,MAAI,eAAe,WAAW;AAC5B,WAAO,eAAe,UAAU,GAAG;AAAA,EACrC;AAEA,SAAO;AACT;","names":[]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { MessageInstance } from '@antsoo-lib/components/message/interface';
|
|
2
|
+
import { ModalStaticFunctions } from '@antsoo-lib/components/modal/confirm';
|
|
3
|
+
import { NotificationInstance } from '@antsoo-lib/components/notification/interface';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 消息上下文类型
|
|
7
|
+
* 支持通过泛型扩展自定义方法
|
|
8
|
+
*/
|
|
9
|
+
type MessageCtx<T = Record<string, unknown>> = {
|
|
10
|
+
message: MessageInstance;
|
|
11
|
+
modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
12
|
+
notification: NotificationInstance;
|
|
13
|
+
} & T;
|
|
14
|
+
/**
|
|
15
|
+
* 配置项
|
|
16
|
+
*/
|
|
17
|
+
interface UseMessageOptions<T = Record<string, unknown>> {
|
|
18
|
+
/** 自定义 Modal 方法 */
|
|
19
|
+
modal?: Partial<ModalStaticFunctions>;
|
|
20
|
+
/** 自定义 Message 方法 */
|
|
21
|
+
message?: Partial<MessageInstance>;
|
|
22
|
+
/** 自定义 Notification 方法 */
|
|
23
|
+
notification?: Partial<NotificationInstance>;
|
|
24
|
+
/** 扩展自定义属性或方法 */
|
|
25
|
+
extensions?: T;
|
|
26
|
+
/** 转换器:允许在返回前对上下文进行最后处理 */
|
|
27
|
+
transform?: (ctx: MessageCtx<T>) => any;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* 全局配置 useMessage
|
|
31
|
+
* 方便在项目入口处统一设置
|
|
32
|
+
*/
|
|
33
|
+
declare const configUseMessage: (options: UseMessageOptions<Record<string, unknown>>) => void;
|
|
34
|
+
/**
|
|
35
|
+
* 消息提示 Hook
|
|
36
|
+
* @param options 局部配置,优先级高于全局配置
|
|
37
|
+
*/
|
|
38
|
+
declare const useMessage: <T = Record<string, unknown>>(options?: UseMessageOptions<T>) => MessageCtx<T>;
|
|
39
|
+
|
|
40
|
+
export { type MessageCtx, type UseMessageOptions, configUseMessage, useMessage };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { MessageInstance } from '@antsoo-lib/components/message/interface';
|
|
2
|
+
import { ModalStaticFunctions } from '@antsoo-lib/components/modal/confirm';
|
|
3
|
+
import { NotificationInstance } from '@antsoo-lib/components/notification/interface';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 消息上下文类型
|
|
7
|
+
* 支持通过泛型扩展自定义方法
|
|
8
|
+
*/
|
|
9
|
+
type MessageCtx<T = Record<string, unknown>> = {
|
|
10
|
+
message: MessageInstance;
|
|
11
|
+
modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
12
|
+
notification: NotificationInstance;
|
|
13
|
+
} & T;
|
|
14
|
+
/**
|
|
15
|
+
* 配置项
|
|
16
|
+
*/
|
|
17
|
+
interface UseMessageOptions<T = Record<string, unknown>> {
|
|
18
|
+
/** 自定义 Modal 方法 */
|
|
19
|
+
modal?: Partial<ModalStaticFunctions>;
|
|
20
|
+
/** 自定义 Message 方法 */
|
|
21
|
+
message?: Partial<MessageInstance>;
|
|
22
|
+
/** 自定义 Notification 方法 */
|
|
23
|
+
notification?: Partial<NotificationInstance>;
|
|
24
|
+
/** 扩展自定义属性或方法 */
|
|
25
|
+
extensions?: T;
|
|
26
|
+
/** 转换器:允许在返回前对上下文进行最后处理 */
|
|
27
|
+
transform?: (ctx: MessageCtx<T>) => any;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* 全局配置 useMessage
|
|
31
|
+
* 方便在项目入口处统一设置
|
|
32
|
+
*/
|
|
33
|
+
declare const configUseMessage: (options: UseMessageOptions<Record<string, unknown>>) => void;
|
|
34
|
+
/**
|
|
35
|
+
* 消息提示 Hook
|
|
36
|
+
* @param options 局部配置,优先级高于全局配置
|
|
37
|
+
*/
|
|
38
|
+
declare const useMessage: <T = Record<string, unknown>>(options?: UseMessageOptions<T>) => MessageCtx<T>;
|
|
39
|
+
|
|
40
|
+
export { type MessageCtx, type UseMessageOptions, configUseMessage, useMessage };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// src/useMessage.ts
|
|
2
|
+
import { App } from "@antsoo-lib/components";
|
|
3
|
+
var globalOptions = {};
|
|
4
|
+
var configUseMessage = (options) => {
|
|
5
|
+
globalOptions = {
|
|
6
|
+
...globalOptions,
|
|
7
|
+
...options,
|
|
8
|
+
modal: { ...globalOptions.modal, ...options.modal },
|
|
9
|
+
message: { ...globalOptions.message, ...options.message },
|
|
10
|
+
notification: { ...globalOptions.notification, ...options.notification },
|
|
11
|
+
extensions: { ...globalOptions.extensions, ...options.extensions }
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
var useMessage = (options) => {
|
|
15
|
+
const staticFunction = App.useApp();
|
|
16
|
+
const currentOptions = {
|
|
17
|
+
...globalOptions,
|
|
18
|
+
...options,
|
|
19
|
+
modal: { ...globalOptions.modal, ...options?.modal },
|
|
20
|
+
message: { ...globalOptions.message, ...options?.message },
|
|
21
|
+
notification: { ...globalOptions.notification, ...options?.notification },
|
|
22
|
+
extensions: { ...globalOptions.extensions, ...options?.extensions }
|
|
23
|
+
};
|
|
24
|
+
const ctx = {
|
|
25
|
+
message: {
|
|
26
|
+
...staticFunction.message,
|
|
27
|
+
...currentOptions.message
|
|
28
|
+
},
|
|
29
|
+
modal: {
|
|
30
|
+
...staticFunction.modal,
|
|
31
|
+
...currentOptions.modal
|
|
32
|
+
},
|
|
33
|
+
notification: {
|
|
34
|
+
...staticFunction.notification,
|
|
35
|
+
...currentOptions.notification
|
|
36
|
+
},
|
|
37
|
+
...currentOptions.extensions
|
|
38
|
+
};
|
|
39
|
+
if (currentOptions.transform) {
|
|
40
|
+
return currentOptions.transform(ctx);
|
|
41
|
+
}
|
|
42
|
+
return ctx;
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
configUseMessage,
|
|
46
|
+
useMessage
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/useMessage.ts"],"sourcesContent":["import { App } from '@antsoo-lib/components'\nimport type { MessageInstance } from '@antsoo-lib/components/message/interface'\nimport type { ModalStaticFunctions } from '@antsoo-lib/components/modal/confirm'\nimport type { NotificationInstance } from '@antsoo-lib/components/notification/interface'\n\n/**\n * 消息上下文类型\n * 支持通过泛型扩展自定义方法\n */\nexport type MessageCtx<T = Record<string, unknown>> = {\n message: MessageInstance\n modal: Omit<ModalStaticFunctions, 'warn'>\n notification: NotificationInstance\n} & T\n\n/**\n * 配置项\n */\nexport interface UseMessageOptions<T = Record<string, unknown>> {\n /** 自定义 Modal 方法 */\n modal?: Partial<ModalStaticFunctions>\n /** 自定义 Message 方法 */\n message?: Partial<MessageInstance>\n /** 自定义 Notification 方法 */\n notification?: Partial<NotificationInstance>\n /** 扩展自定义属性或方法 */\n extensions?: T\n /** 转换器:允许在返回前对上下文进行最后处理 */\n transform?: (ctx: MessageCtx<T>) => any\n}\n\nlet globalOptions: UseMessageOptions<Record<string, unknown>> = {}\n\n/**\n * 全局配置 useMessage\n * 方便在项目入口处统一设置\n */\nexport const configUseMessage = (options: UseMessageOptions<Record<string, unknown>>) => {\n globalOptions = {\n ...globalOptions,\n ...options,\n modal: { ...globalOptions.modal, ...options.modal },\n message: { ...globalOptions.message, ...options.message },\n notification: { ...globalOptions.notification, ...options.notification },\n extensions: { ...globalOptions.extensions, ...options.extensions },\n }\n}\n\n/**\n * 消息提示 Hook\n * @param options 局部配置,优先级高于全局配置\n */\nexport const useMessage = <T = Record<string, unknown>>(\n options?: UseMessageOptions<T>,\n): MessageCtx<T> => {\n const staticFunction = App.useApp()\n\n // 合并配置:局部 > 全局 > 默认\n const currentOptions = {\n ...globalOptions,\n ...options,\n modal: { ...globalOptions.modal, ...options?.modal },\n message: { ...globalOptions.message, ...options?.message },\n notification: { ...globalOptions.notification, ...options?.notification },\n extensions: { ...globalOptions.extensions, ...options?.extensions },\n }\n\n const ctx: MessageCtx<T> = {\n message: {\n ...staticFunction.message,\n ...currentOptions.message,\n } as MessageInstance,\n modal: {\n ...staticFunction.modal,\n ...currentOptions.modal,\n } as ModalStaticFunctions,\n notification: {\n ...staticFunction.notification,\n ...currentOptions.notification,\n } as NotificationInstance,\n ...(currentOptions.extensions as T),\n }\n\n // 如果有转换器,执行转换\n if (currentOptions.transform) {\n return currentOptions.transform(ctx)\n }\n\n return ctx\n}\n"],"mappings":";AAAA,SAAS,WAAW;AA+BpB,IAAI,gBAA4D,CAAC;AAM1D,IAAM,mBAAmB,CAAC,YAAwD;AACvF,kBAAgB;AAAA,IACd,GAAG;AAAA,IACH,GAAG;AAAA,IACH,OAAO,EAAE,GAAG,cAAc,OAAO,GAAG,QAAQ,MAAM;AAAA,IAClD,SAAS,EAAE,GAAG,cAAc,SAAS,GAAG,QAAQ,QAAQ;AAAA,IACxD,cAAc,EAAE,GAAG,cAAc,cAAc,GAAG,QAAQ,aAAa;AAAA,IACvE,YAAY,EAAE,GAAG,cAAc,YAAY,GAAG,QAAQ,WAAW;AAAA,EACnE;AACF;AAMO,IAAM,aAAa,CACxB,YACkB;AAClB,QAAM,iBAAiB,IAAI,OAAO;AAGlC,QAAM,iBAAiB;AAAA,IACrB,GAAG;AAAA,IACH,GAAG;AAAA,IACH,OAAO,EAAE,GAAG,cAAc,OAAO,GAAG,SAAS,MAAM;AAAA,IACnD,SAAS,EAAE,GAAG,cAAc,SAAS,GAAG,SAAS,QAAQ;AAAA,IACzD,cAAc,EAAE,GAAG,cAAc,cAAc,GAAG,SAAS,aAAa;AAAA,IACxE,YAAY,EAAE,GAAG,cAAc,YAAY,GAAG,SAAS,WAAW;AAAA,EACpE;AAEA,QAAM,MAAqB;AAAA,IACzB,SAAS;AAAA,MACP,GAAG,eAAe;AAAA,MAClB,GAAG,eAAe;AAAA,IACpB;AAAA,IACA,OAAO;AAAA,MACL,GAAG,eAAe;AAAA,MAClB,GAAG,eAAe;AAAA,IACpB;AAAA,IACA,cAAc;AAAA,MACZ,GAAG,eAAe;AAAA,MAClB,GAAG,eAAe;AAAA,IACpB;AAAA,IACA,GAAI,eAAe;AAAA,EACrB;AAGA,MAAI,eAAe,WAAW;AAC5B,WAAO,eAAe,UAAU,GAAG;AAAA,EACrC;AAEA,SAAO;AACT;","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@antsoo-lib/hooks",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"private": false,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"description": "Vue 3 Composition API hooks for Akaza",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"vue": "^3.5.0"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@antsoo-lib/components": "0.0.1"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"vue-types": "^6.0.0"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"dev": "tsup --watch"
|
|
37
|
+
}
|
|
38
|
+
}
|