@ragemp-mango/core 2.0.6-beta.0
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 +21 -0
- package/README.md +20 -0
- package/dist/app/constants/index.d.ts +26 -0
- package/dist/app/constants/index.js +49 -0
- package/dist/app/controller/index.d.ts +70 -0
- package/dist/app/controller/index.js +24 -0
- package/dist/app/enums/index.d.ts +27 -0
- package/dist/app/enums/index.js +16 -0
- package/dist/app/index.d.ts +138 -0
- package/dist/app/index.js +132 -0
- package/dist/app/interfaces/index.d.ts +157 -0
- package/dist/app/interfaces/index.js +2 -0
- package/dist/app/module/index.d.ts +27 -0
- package/dist/app/module/index.js +16 -0
- package/dist/app/module-tree/index.d.ts +56 -0
- package/dist/app/module-tree/index.js +25 -0
- package/dist/app/pipeline/index.d.ts +5 -0
- package/dist/app/pipeline/index.js +14 -0
- package/dist/app/services/index.d.ts +37 -0
- package/dist/app/services/index.js +14 -0
- package/dist/app/utils/index.d.ts +16 -0
- package/dist/app/utils/index.js +10 -0
- package/dist/call-handler.interface-DVdaknsB.d.ts +52 -0
- package/dist/chunk-2ADQZWQE.js +170 -0
- package/dist/chunk-6YEWPMZJ.js +69 -0
- package/dist/chunk-73LIJA6X.js +176 -0
- package/dist/chunk-7QVYU63E.js +7 -0
- package/dist/chunk-AO6BXG54.js +139 -0
- package/dist/chunk-CFHBJ5MV.js +1906 -0
- package/dist/chunk-CW7WAA3P.js +1906 -0
- package/dist/chunk-DEPJRTVT.js +1 -0
- package/dist/chunk-DJZCOYB3.js +17 -0
- package/dist/chunk-DXPVUDXD.js +81 -0
- package/dist/chunk-E6IQL4S6.js +40 -0
- package/dist/chunk-HK7QTFPA.js +81 -0
- package/dist/chunk-ITEHLEIP.js +29 -0
- package/dist/chunk-M55YEQ7J.js +1 -0
- package/dist/chunk-PGWRESZG.js +790 -0
- package/dist/chunk-PQK4E654.js +1 -0
- package/dist/chunk-RYOUF322.js +68 -0
- package/dist/chunk-SKPH3K2M.js +570 -0
- package/dist/chunk-TBWHLT75.js +61 -0
- package/dist/constants/index.d.ts +8 -0
- package/dist/constants/index.js +18 -0
- package/dist/controller-Ss0TVrxQ.d.ts +30 -0
- package/dist/custom-decorator.type-BHRvXIGz.d.ts +5 -0
- package/dist/decorators/index.d.ts +90 -0
- package/dist/decorators/index.js +91 -0
- package/dist/enums/index.d.ts +66 -0
- package/dist/enums/index.js +12 -0
- package/dist/errors/index.d.ts +23 -0
- package/dist/errors/index.js +17 -0
- package/dist/event-destination.enum-DT8jJFwR.d.ts +7 -0
- package/dist/event-emmiter.interface-7Ne9W8SM.d.ts +10 -0
- package/dist/event-metadata.interface-CREizDNq.d.ts +89 -0
- package/dist/execution-context-type.enum-fwYPtPvp.d.ts +6 -0
- package/dist/execution-context.interface-DpRN4oVj.d.ts +56 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +190 -0
- package/dist/injectable-options.interface-8Gp9oRY6.d.ts +10 -0
- package/dist/injectable-scope.enum-CjyQMpW2.d.ts +7 -0
- package/dist/injection-token.type-dQTkkP6p.d.ts +5 -0
- package/dist/interfaces/index.d.ts +38 -0
- package/dist/interfaces/index.js +2 -0
- package/dist/logger-service.interface-BGV-o_Fx.d.ts +8 -0
- package/dist/method-param-type.enum-BfrJ8zqa.d.ts +11 -0
- package/dist/module-metadata.interface-B3bn1vqq.d.ts +59 -0
- package/dist/multiplayer-timers.interface-CFDTWwAT.d.ts +22 -0
- package/dist/newable.type-BdhG3MZC.d.ts +5 -0
- package/dist/nullable.type-C-lE7JU4.d.ts +3 -0
- package/dist/pipe-transform.interface-BlzOrUy3.d.ts +14 -0
- package/dist/pipes/index.d.ts +12 -0
- package/dist/pipes/index.js +9 -0
- package/dist/reflectable-decorator.interface-CLOGdtEQ.d.ts +14 -0
- package/dist/rpc-call-options.interface-BJ5mHrvT.d.ts +5 -0
- package/dist/rpc-error.interface-CeaZLqzE.d.ts +6 -0
- package/dist/rpc-metadata.interface-DS-GqgqA.d.ts +11 -0
- package/dist/rpc-result.interface-C758heM0.d.ts +10 -0
- package/dist/schemas/index.d.ts +189 -0
- package/dist/schemas/index.js +39 -0
- package/dist/script-event-handler.interface-B-Th4Ssg.d.ts +24 -0
- package/dist/script-event-handler.interface-vUr_v6tV.d.ts +5 -0
- package/dist/script-rpc-handler.interface-DBpD9-yk.d.ts +8 -0
- package/dist/services/index.d.ts +45 -0
- package/dist/services/index.js +23 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.js +2 -0
- package/dist/utils/index.d.ts +16 -0
- package/dist/utils/index.js +32 -0
- package/package.json +133 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validateClassProvider,
|
|
3
|
+
validateControllerOptions,
|
|
4
|
+
validateErrorFilter,
|
|
5
|
+
validateEventMetadata,
|
|
6
|
+
validateEventParameter,
|
|
7
|
+
validateExistingProvider,
|
|
8
|
+
validateFactoryProvider,
|
|
9
|
+
validateGuard,
|
|
10
|
+
validateInjectableMetadata,
|
|
11
|
+
validateInjectionToken,
|
|
12
|
+
validateInterceptor,
|
|
13
|
+
validateModuleOptions,
|
|
14
|
+
validatePipe,
|
|
15
|
+
validateProvider,
|
|
16
|
+
validateValueProvider
|
|
17
|
+
} from "../chunk-PGWRESZG.js";
|
|
18
|
+
import "../chunk-TBWHLT75.js";
|
|
19
|
+
import "../chunk-DXPVUDXD.js";
|
|
20
|
+
import "../chunk-E6IQL4S6.js";
|
|
21
|
+
import "../chunk-7QVYU63E.js";
|
|
22
|
+
export {
|
|
23
|
+
validateClassProvider,
|
|
24
|
+
validateControllerOptions,
|
|
25
|
+
validateErrorFilter,
|
|
26
|
+
validateEventMetadata,
|
|
27
|
+
validateEventParameter,
|
|
28
|
+
validateExistingProvider,
|
|
29
|
+
validateFactoryProvider,
|
|
30
|
+
validateGuard,
|
|
31
|
+
validateInjectableMetadata,
|
|
32
|
+
validateInjectionToken,
|
|
33
|
+
validateInterceptor,
|
|
34
|
+
validateModuleOptions,
|
|
35
|
+
validatePipe,
|
|
36
|
+
validateProvider,
|
|
37
|
+
validateValueProvider
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a script event handler that can be destroyed
|
|
3
|
+
*/
|
|
4
|
+
interface ScriptEventHandler {
|
|
5
|
+
/**
|
|
6
|
+
* Destroy the event handler, removing it from the event system
|
|
7
|
+
*/
|
|
8
|
+
destroy(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the handler is still valid/active
|
|
11
|
+
*/
|
|
12
|
+
readonly valid?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Represents an internal event handler
|
|
16
|
+
*/
|
|
17
|
+
interface EventHandler {
|
|
18
|
+
/**
|
|
19
|
+
* Destroy the event handler
|
|
20
|
+
*/
|
|
21
|
+
destroy(): void;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type { EventHandler as E, ScriptEventHandler as S };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { N as Newable } from '../newable.type-BdhG3MZC.js';
|
|
2
|
+
import { C as CreateDecoratorOptions, R as ReflectableDecorator, a as CreateDecoratorWithTransformOptions } from '../reflectable-decorator.interface-CLOGdtEQ.js';
|
|
3
|
+
import { Cron, CronOptions } from 'croner';
|
|
4
|
+
import { a as MultiplayerTimer } from '../multiplayer-timers.interface-CFDTWwAT.js';
|
|
5
|
+
import 'inversify';
|
|
6
|
+
import '../custom-decorator.type-BHRvXIGz.js';
|
|
7
|
+
|
|
8
|
+
declare class ReflectorService {
|
|
9
|
+
get<TResult = unknown, TKey extends string | symbol = string>(metadataKey: TKey, target: Newable | Function): TResult | undefined;
|
|
10
|
+
getAll<TResult extends unknown[] = unknown[], TKey extends string | symbol = string>(metadataKey: TKey, targets: (Newable | Function)[]): TResult;
|
|
11
|
+
getAllAndMerge<TResult extends unknown[] = unknown[], TKey extends string | symbol = string>(metadataKey: TKey, targets: (Newable | Function)[]): TResult;
|
|
12
|
+
getAllAndOverride<TResult = unknown, TKey extends string | symbol = string>(metadataKey: TKey, targets: (Newable | Function)[]): TResult | undefined;
|
|
13
|
+
static createDecorator<TParam>(options?: CreateDecoratorOptions<TParam>): ReflectableDecorator<TParam>;
|
|
14
|
+
static createDecorator<TParam, TTransformed>(options: CreateDecoratorWithTransformOptions<TParam, TTransformed>): ReflectableDecorator<TParam, TTransformed>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare class TimerService {
|
|
18
|
+
private readonly multiplayerService;
|
|
19
|
+
private readonly $everyticks;
|
|
20
|
+
private readonly $intervals;
|
|
21
|
+
private readonly $timeouts;
|
|
22
|
+
private readonly $crons;
|
|
23
|
+
get all(): MultiplayerTimer[];
|
|
24
|
+
get everyticks(): MultiplayerTimer[];
|
|
25
|
+
get intervals(): MultiplayerTimer[];
|
|
26
|
+
get timeouts(): MultiplayerTimer[];
|
|
27
|
+
get crons(): Cron[];
|
|
28
|
+
set warningThreshold(value: number);
|
|
29
|
+
get warningThreshold(): number;
|
|
30
|
+
set sourceLocationFrameSkipCount(value: number);
|
|
31
|
+
get sourceLocationFrameSkipCount(): number;
|
|
32
|
+
createCronJob(callback: Function, options: CronOptions & {
|
|
33
|
+
pattern: string | Date;
|
|
34
|
+
}): Cron;
|
|
35
|
+
createInterval(callback: Function, interval: number, name?: string): MultiplayerTimer;
|
|
36
|
+
createTimeout(callback: Function, timeout: number, name?: string): MultiplayerTimer;
|
|
37
|
+
createEveryTick(callback: Function, name?: string): MultiplayerTimer;
|
|
38
|
+
delete(type: 'cron' | 'everytick' | 'timeout' | 'interval', name: string): void;
|
|
39
|
+
getByName(type: 'cron' | 'everytick' | 'timeout' | 'interval', name: string): MultiplayerTimer | Cron | undefined;
|
|
40
|
+
getById(id: number): MultiplayerTimer | null;
|
|
41
|
+
time(name?: string): void;
|
|
42
|
+
timeEnd(name?: string): void;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { ReflectorService, TimerService };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReflectorService,
|
|
3
|
+
TimerService
|
|
4
|
+
} from "../chunk-CW7WAA3P.js";
|
|
5
|
+
import "../chunk-73LIJA6X.js";
|
|
6
|
+
import "../chunk-AO6BXG54.js";
|
|
7
|
+
import "../chunk-2ADQZWQE.js";
|
|
8
|
+
import "../chunk-RYOUF322.js";
|
|
9
|
+
import "../chunk-PGWRESZG.js";
|
|
10
|
+
import "../chunk-SKPH3K2M.js";
|
|
11
|
+
import "../chunk-HK7QTFPA.js";
|
|
12
|
+
import "../chunk-TBWHLT75.js";
|
|
13
|
+
import "../chunk-M55YEQ7J.js";
|
|
14
|
+
import "../chunk-DJZCOYB3.js";
|
|
15
|
+
import "../chunk-6YEWPMZJ.js";
|
|
16
|
+
import "../chunk-DXPVUDXD.js";
|
|
17
|
+
import "../chunk-E6IQL4S6.js";
|
|
18
|
+
import "../chunk-7QVYU63E.js";
|
|
19
|
+
export {
|
|
20
|
+
ReflectorService,
|
|
21
|
+
TimerService
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { interfaces } from 'inversify';
|
|
2
|
+
export { C as CustomDecorator } from '../custom-decorator.type-BHRvXIGz.js';
|
|
3
|
+
export { I as InjectionToken } from '../injection-token.type-dQTkkP6p.js';
|
|
4
|
+
export { N as Newable } from '../newable.type-BdhG3MZC.js';
|
|
5
|
+
export { N as Nullable } from '../nullable.type-C-lE7JU4.js';
|
|
6
|
+
|
|
7
|
+
type Abstract<T = unknown> = interfaces.Abstract<T>;
|
|
8
|
+
|
|
9
|
+
export type { Abstract };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare function generateRandomId(): string;
|
|
2
|
+
|
|
3
|
+
declare const isUndefined: (obj: any) => obj is undefined;
|
|
4
|
+
declare const isObject: (fn: any) => fn is object;
|
|
5
|
+
declare const isFunction: (val: any) => val is Function;
|
|
6
|
+
declare const isString: (val: any) => val is string;
|
|
7
|
+
declare const isNumber: (val: any) => val is number;
|
|
8
|
+
declare const isConstructor: (val: any) => boolean;
|
|
9
|
+
declare const isNil: (val: any) => val is null | undefined;
|
|
10
|
+
declare const isEmpty: (array: any) => boolean;
|
|
11
|
+
declare const isSymbol: (val: any) => val is symbol;
|
|
12
|
+
declare const isAsyncFunction: (val: any) => boolean;
|
|
13
|
+
declare const isBoolean: (val: any) => val is boolean;
|
|
14
|
+
declare const isPromise: <T = any>(val: any) => val is Promise<T>;
|
|
15
|
+
|
|
16
|
+
export { generateRandomId, isAsyncFunction, isBoolean, isConstructor, isEmpty, isFunction, isNil, isNumber, isObject, isPromise, isString, isSymbol, isUndefined };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
generateRandomId,
|
|
3
|
+
isAsyncFunction,
|
|
4
|
+
isBoolean,
|
|
5
|
+
isConstructor,
|
|
6
|
+
isEmpty,
|
|
7
|
+
isFunction,
|
|
8
|
+
isNil,
|
|
9
|
+
isNumber,
|
|
10
|
+
isObject,
|
|
11
|
+
isPromise,
|
|
12
|
+
isString,
|
|
13
|
+
isSymbol,
|
|
14
|
+
isUndefined
|
|
15
|
+
} from "../chunk-E6IQL4S6.js";
|
|
16
|
+
import "../chunk-7QVYU63E.js";
|
|
17
|
+
export {
|
|
18
|
+
generateRandomId,
|
|
19
|
+
isAsyncFunction,
|
|
20
|
+
isBoolean,
|
|
21
|
+
isConstructor,
|
|
22
|
+
isEmpty,
|
|
23
|
+
isFunction,
|
|
24
|
+
isNil,
|
|
25
|
+
isNumber,
|
|
26
|
+
isObject,
|
|
27
|
+
isPromise,
|
|
28
|
+
isString,
|
|
29
|
+
isSymbol,
|
|
30
|
+
isUndefined
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
|
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ragemp-mango/core",
|
|
3
|
+
"version": "2.0.6-beta.0",
|
|
4
|
+
"homepage": "https://github.com/kkwlkk/ragemp-mango",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/kkwlkk/ragemp-mango",
|
|
8
|
+
"directory": "packages/core"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"author": "5exyGuy (Aurėjus Remeika), wlk (https://github.com/kkwlkk)",
|
|
12
|
+
"description": "Core package for the RageMP Mango Framework - a decorator-driven TypeScript framework for RageMP servers.",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./app": {
|
|
20
|
+
"types": "./dist/app/index.d.ts",
|
|
21
|
+
"default": "./dist/app/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./app/constants": {
|
|
24
|
+
"types": "./dist/app/constants/index.d.ts",
|
|
25
|
+
"default": "./dist/app/constants/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./app/controller": {
|
|
28
|
+
"types": "./dist/app/controller/index.d.ts",
|
|
29
|
+
"default": "./dist/app/controller/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./app/enums": {
|
|
32
|
+
"types": "./dist/app/enums/index.d.ts",
|
|
33
|
+
"default": "./dist/app/enums/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./app/interfaces": {
|
|
36
|
+
"types": "./dist/app/interfaces/index.d.ts",
|
|
37
|
+
"default": "./dist/app/interfaces/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./app/module": {
|
|
40
|
+
"types": "./dist/app/module/index.d.ts",
|
|
41
|
+
"default": "./dist/app/module/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./app/module-tree": {
|
|
44
|
+
"types": "./dist/app/module-tree/index.d.ts",
|
|
45
|
+
"default": "./dist/app/module-tree/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./app/pipeline": {
|
|
48
|
+
"types": "./dist/app/pipeline/index.d.ts",
|
|
49
|
+
"default": "./dist/app/pipeline/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./app/services": {
|
|
52
|
+
"types": "./dist/app/services/index.d.ts",
|
|
53
|
+
"default": "./dist/app/services/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./app/utils": {
|
|
56
|
+
"types": "./dist/app/utils/index.d.ts",
|
|
57
|
+
"default": "./dist/app/utils/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./constants": {
|
|
60
|
+
"types": "./dist/constants/index.d.ts",
|
|
61
|
+
"default": "./dist/constants/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./decorators": {
|
|
64
|
+
"types": "./dist/decorators/index.d.ts",
|
|
65
|
+
"default": "./dist/decorators/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./enums": {
|
|
68
|
+
"types": "./dist/enums/index.d.ts",
|
|
69
|
+
"default": "./dist/enums/index.js"
|
|
70
|
+
},
|
|
71
|
+
"./errors": {
|
|
72
|
+
"types": "./dist/errors/index.d.ts",
|
|
73
|
+
"default": "./dist/errors/index.js"
|
|
74
|
+
},
|
|
75
|
+
"./interfaces": {
|
|
76
|
+
"types": "./dist/interfaces/index.d.ts",
|
|
77
|
+
"default": "./dist/interfaces/index.js"
|
|
78
|
+
},
|
|
79
|
+
"./pipes": {
|
|
80
|
+
"types": "./dist/pipes/index.d.ts",
|
|
81
|
+
"default": "./dist/pipes/index.js"
|
|
82
|
+
},
|
|
83
|
+
"./schemas": {
|
|
84
|
+
"types": "./dist/schemas/index.d.ts",
|
|
85
|
+
"default": "./dist/schemas/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./services": {
|
|
88
|
+
"types": "./dist/services/index.d.ts",
|
|
89
|
+
"default": "./dist/services/index.js"
|
|
90
|
+
},
|
|
91
|
+
"./types": {
|
|
92
|
+
"types": "./dist/types/index.d.ts",
|
|
93
|
+
"default": "./dist/types/index.js"
|
|
94
|
+
},
|
|
95
|
+
"./utils": {
|
|
96
|
+
"types": "./dist/utils/index.d.ts",
|
|
97
|
+
"default": "./dist/utils/index.js"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"main": "dist/index.js",
|
|
101
|
+
"types": "dist/index.d.ts",
|
|
102
|
+
"files": [
|
|
103
|
+
"dist"
|
|
104
|
+
],
|
|
105
|
+
"dependencies": {
|
|
106
|
+
"croner": "^8.0.2",
|
|
107
|
+
"inversify": "^6.0.2"
|
|
108
|
+
},
|
|
109
|
+
"peerDependencies": {
|
|
110
|
+
"@ragempcommunity/types-server": "^2.1.8",
|
|
111
|
+
"@ragempcommunity/types-client": "^2.1.8",
|
|
112
|
+
"@ragempcommunity/types-cef": "^2.1.8"
|
|
113
|
+
},
|
|
114
|
+
"devDependencies": {
|
|
115
|
+
"@abraham/reflection": "^0.12.0",
|
|
116
|
+
"@microsoft/api-extractor": "^7.43.4",
|
|
117
|
+
"@swc/cli": "^0.3.12",
|
|
118
|
+
"@swc/core": "^1.5.5",
|
|
119
|
+
"@types/node": "^20.12.11",
|
|
120
|
+
"tsup": "^8.0.2",
|
|
121
|
+
"typescript": "^5.4.5"
|
|
122
|
+
},
|
|
123
|
+
"publishConfig": {
|
|
124
|
+
"access": "public",
|
|
125
|
+
"registry": "https://registry.npmjs.org/"
|
|
126
|
+
},
|
|
127
|
+
"scripts": {
|
|
128
|
+
"build": "tsup",
|
|
129
|
+
"dev": "tsup --watch",
|
|
130
|
+
"typecheck": "tsc --noEmit",
|
|
131
|
+
"types": "tsup --dts-only"
|
|
132
|
+
}
|
|
133
|
+
}
|