mintly-lib 1.0.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 +33 -0
- package/build/aurora/core/array.d.ts +18 -0
- package/build/aurora/core/array.d.ts.map +1 -0
- package/build/aurora/core/array.js +63 -0
- package/build/aurora/core/array.js.map +1 -0
- package/build/aurora/core/boolean.d.ts +14 -0
- package/build/aurora/core/boolean.d.ts.map +1 -0
- package/build/aurora/core/boolean.js +36 -0
- package/build/aurora/core/boolean.js.map +1 -0
- package/build/aurora/core/date.d.ts +14 -0
- package/build/aurora/core/date.d.ts.map +1 -0
- package/build/aurora/core/date.js +43 -0
- package/build/aurora/core/date.js.map +1 -0
- package/build/aurora/core/index.d.ts +9 -0
- package/build/aurora/core/index.d.ts.map +1 -0
- package/build/aurora/core/index.js +20 -0
- package/build/aurora/core/index.js.map +1 -0
- package/build/aurora/core/number.d.ts +15 -0
- package/build/aurora/core/number.d.ts.map +1 -0
- package/build/aurora/core/number.js +37 -0
- package/build/aurora/core/number.js.map +1 -0
- package/build/aurora/core/object.d.ts +17 -0
- package/build/aurora/core/object.d.ts.map +1 -0
- package/build/aurora/core/object.js +53 -0
- package/build/aurora/core/object.js.map +1 -0
- package/build/aurora/core/string.d.ts +16 -0
- package/build/aurora/core/string.d.ts.map +1 -0
- package/build/aurora/core/string.js +52 -0
- package/build/aurora/core/string.js.map +1 -0
- package/build/aurora/core/type.d.ts +11 -0
- package/build/aurora/core/type.d.ts.map +1 -0
- package/build/aurora/core/type.js +21 -0
- package/build/aurora/core/type.js.map +1 -0
- package/build/aurora/core/union.d.ts +16 -0
- package/build/aurora/core/union.d.ts.map +1 -0
- package/build/aurora/core/union.js +38 -0
- package/build/aurora/core/union.js.map +1 -0
- package/build/aurora/index.d.ts +6 -0
- package/build/aurora/index.d.ts.map +1 -0
- package/build/aurora/index.js +25 -0
- package/build/aurora/index.js.map +1 -0
- package/build/aurora/interfaces/field.d.ts +9 -0
- package/build/aurora/interfaces/field.d.ts.map +1 -0
- package/build/aurora/interfaces/field.js +3 -0
- package/build/aurora/interfaces/field.js.map +1 -0
- package/build/aurora/lib/aurora.d.ts +22 -0
- package/build/aurora/lib/aurora.d.ts.map +1 -0
- package/build/aurora/lib/aurora.js +155 -0
- package/build/aurora/lib/aurora.js.map +1 -0
- package/build/aurora/lib/validation-error.d.ts +5 -0
- package/build/aurora/lib/validation-error.d.ts.map +1 -0
- package/build/aurora/lib/validation-error.js +12 -0
- package/build/aurora/lib/validation-error.js.map +1 -0
- package/build/aurora/types/index.d.ts +3 -0
- package/build/aurora/types/index.d.ts.map +1 -0
- package/build/aurora/types/index.js +6 -0
- package/build/aurora/types/index.js.map +1 -0
- package/build/aurora/types/infer-type.d.ts +13 -0
- package/build/aurora/types/infer-type.d.ts.map +1 -0
- package/build/aurora/types/infer-type.js +3 -0
- package/build/aurora/types/infer-type.js.map +1 -0
- package/build/aurora/types/orm.d.ts +4 -0
- package/build/aurora/types/orm.d.ts.map +1 -0
- package/build/aurora/types/orm.js +8 -0
- package/build/aurora/types/orm.js.map +1 -0
- package/build/clients/index.d.ts +2 -0
- package/build/clients/index.d.ts.map +1 -0
- package/build/clients/index.js +6 -0
- package/build/clients/index.js.map +1 -0
- package/build/clients/person-client.d.ts +9 -0
- package/build/clients/person-client.d.ts.map +1 -0
- package/build/clients/person-client.js +11 -0
- package/build/clients/person-client.js.map +1 -0
- package/build/core/client/base-client.d.ts +11 -0
- package/build/core/client/base-client.d.ts.map +1 -0
- package/build/core/client/base-client.js +3 -0
- package/build/core/client/base-client.js.map +1 -0
- package/build/core/client/http-base-client.d.ts +16 -0
- package/build/core/client/http-base-client.d.ts.map +1 -0
- package/build/core/client/http-base-client.js +43 -0
- package/build/core/client/http-base-client.js.map +1 -0
- package/build/core/client/master-client.d.ts +6 -0
- package/build/core/client/master-client.d.ts.map +1 -0
- package/build/core/client/master-client.js +12 -0
- package/build/core/client/master-client.js.map +1 -0
- package/build/core/data/api/entity.d.ts +5 -0
- package/build/core/data/api/entity.d.ts.map +1 -0
- package/build/core/data/api/entity.js +3 -0
- package/build/core/data/api/entity.js.map +1 -0
- package/build/core/data/api/index.d.ts +2 -0
- package/build/core/data/api/index.d.ts.map +1 -0
- package/build/core/data/api/index.js +3 -0
- package/build/core/data/api/index.js.map +1 -0
- package/build/core/data/index.d.ts +4 -0
- package/build/core/data/index.d.ts.map +1 -0
- package/build/core/data/index.js +20 -0
- package/build/core/data/index.js.map +1 -0
- package/build/core/data/person/index.d.ts +3 -0
- package/build/core/data/person/index.d.ts.map +1 -0
- package/build/core/data/person/index.js +6 -0
- package/build/core/data/person/index.js.map +1 -0
- package/build/core/data/person/person-entity.d.ts +4 -0
- package/build/core/data/person/person-entity.d.ts.map +1 -0
- package/build/core/data/person/person-entity.js +3 -0
- package/build/core/data/person/person-entity.js.map +1 -0
- package/build/core/data/person/person-orm.d.ts +5 -0
- package/build/core/data/person/person-orm.d.ts.map +1 -0
- package/build/core/data/person/person-orm.js +10 -0
- package/build/core/data/person/person-orm.js.map +1 -0
- package/build/core/data/request/headers.d.ts +5 -0
- package/build/core/data/request/headers.d.ts.map +1 -0
- package/build/core/data/request/headers.js +3 -0
- package/build/core/data/request/headers.js.map +1 -0
- package/build/core/data/request/index.d.ts +4 -0
- package/build/core/data/request/index.d.ts.map +1 -0
- package/build/core/data/request/index.js +20 -0
- package/build/core/data/request/index.js.map +1 -0
- package/build/core/data/request/pagination.d.ts +18 -0
- package/build/core/data/request/pagination.d.ts.map +1 -0
- package/build/core/data/request/pagination.js +3 -0
- package/build/core/data/request/pagination.js.map +1 -0
- package/build/core/data/request/response.d.ts +6 -0
- package/build/core/data/request/response.d.ts.map +1 -0
- package/build/core/data/request/response.js +3 -0
- package/build/core/data/request/response.js.map +1 -0
- package/build/core/index.d.ts +3 -0
- package/build/core/index.d.ts.map +1 -0
- package/build/core/index.js +21 -0
- package/build/core/index.js.map +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +19 -0
- package/build/index.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/data/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
18
|
+
__exportStar(require("./person"), exports);
|
|
19
|
+
__exportStar(require("./request"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,2CAAwB;AACxB,4CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/data/person/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.personOrm = void 0;
|
|
4
|
+
var person_orm_1 = require("./person-orm");
|
|
5
|
+
Object.defineProperty(exports, "personOrm", { enumerable: true, get: function () { return person_orm_1.personOrm; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/data/person/index.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AAA/B,uGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-entity.d.ts","sourceRoot":"","sources":["../../../../src/core/data/person/person-entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,OAAO,CAAC,GAAG,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-entity.js","sourceRoot":"","sources":["../../../../src/core/data/person/person-entity.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-orm.d.ts","sourceRoot":"","sources":["../../../../src/core/data/person/person-orm.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;SAGpB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.personOrm = void 0;
|
|
4
|
+
const aurora_1 = require("../../../aurora");
|
|
5
|
+
const aurora = new aurora_1.Aurora(aurora_1.ORM.MONGO);
|
|
6
|
+
exports.personOrm = aurora.object({
|
|
7
|
+
name: aurora.string(),
|
|
8
|
+
age: aurora.number(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=person-orm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-orm.js","sourceRoot":"","sources":["../../../../src/core/data/person/person-orm.ts"],"names":[],"mappings":";;;AAAA,4CAA6C;AAE7C,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,YAAG,CAAC,KAAK,CAAC,CAAA;AAEvB,QAAA,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IACrB,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE;CACrB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../src/core/data/request/headers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headers.js","sourceRoot":"","sources":["../../../../src/core/data/request/headers.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/data/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./headers"), exports);
|
|
18
|
+
__exportStar(require("./pagination"), exports);
|
|
19
|
+
__exportStar(require("./response"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/data/request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,6CAA0B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type PaginationDto = {
|
|
2
|
+
page: number;
|
|
3
|
+
size: number;
|
|
4
|
+
orderBy?: string;
|
|
5
|
+
orderDirection?: 'asc' | 'desc';
|
|
6
|
+
createdAtDirection?: 'asc' | 'desc';
|
|
7
|
+
};
|
|
8
|
+
export type PaginationResponseDto = {
|
|
9
|
+
page: number;
|
|
10
|
+
size: number;
|
|
11
|
+
totalItems: number;
|
|
12
|
+
totalPages: number;
|
|
13
|
+
orderBy?: string;
|
|
14
|
+
orderDirection?: 'asc' | 'desc';
|
|
15
|
+
createdAtDirection?: 'asc' | 'desc';
|
|
16
|
+
};
|
|
17
|
+
export type FindAllRequestDto<T> = Partial<T> & PaginationDto;
|
|
18
|
+
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/core/data/request/pagination.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IAC/B,kBAAkB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IAC/B,kBAAkB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../../../src/core/data/request/pagination.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/core/data/request/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,OAAO,CAAC,EAAE,CAAC,CAAA;IACX,UAAU,CAAC,EAAE,qBAAqB,CAAA;CACnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../src/core/data/request/response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.MasterClient = void 0;
|
|
18
|
+
__exportStar(require("./data"), exports);
|
|
19
|
+
var master_client_1 = require("./client/master-client");
|
|
20
|
+
Object.defineProperty(exports, "MasterClient", { enumerable: true, get: function () { return master_client_1.MasterClient; } });
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,wDAAqD;AAA5C,6GAAA,YAAY,OAAA"}
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
package/build/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./aurora"), exports);
|
|
18
|
+
__exportStar(require("./core"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,yCAAsB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mintly-lib",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Mintly Library",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"types": "build/index.d.ts",
|
|
7
|
+
"packageManager": "npm@11.11.0",
|
|
8
|
+
"files": [
|
|
9
|
+
"build"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./build/index.d.ts",
|
|
14
|
+
"require": "./build/index.js",
|
|
15
|
+
"import": "./build/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./package.json": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"clean": "rimraf build",
|
|
21
|
+
"prebuild": "npm run clean",
|
|
22
|
+
"build": "tsc",
|
|
23
|
+
"build:ci": "npm run build",
|
|
24
|
+
"lint": "eslint . --ext .ts",
|
|
25
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"pack:check": "npm pack --dry-run",
|
|
28
|
+
"prepublishOnly": "npm run build"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"typescript",
|
|
35
|
+
"library",
|
|
36
|
+
"axios",
|
|
37
|
+
"http-client",
|
|
38
|
+
"aurora"
|
|
39
|
+
],
|
|
40
|
+
"author": "",
|
|
41
|
+
"license": "ISC",
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"axios": "^1.13.5",
|
|
44
|
+
"http-status-codes": "^2.3.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/http-status-codes": "^1.2.0",
|
|
48
|
+
"@types/node": "^20.11.5",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "6.4.0",
|
|
50
|
+
"dotenv": "^16.4.5",
|
|
51
|
+
"eslint": "8.0.1",
|
|
52
|
+
"eslint-config-standard-with-typescript": "43.0.1",
|
|
53
|
+
"eslint-plugin-import": "2.25.2",
|
|
54
|
+
"eslint-plugin-jest": "27.9.0",
|
|
55
|
+
"eslint-plugin-n": "15.0.0 || 16.0.0 ",
|
|
56
|
+
"eslint-plugin-prettier": "5.1.3",
|
|
57
|
+
"eslint-plugin-promise": "6.0.0",
|
|
58
|
+
"rimraf": "^5.0.5",
|
|
59
|
+
"ts-node": "10.9.2",
|
|
60
|
+
"tsup": "^6.5.0",
|
|
61
|
+
"tsx": "^4.16.2",
|
|
62
|
+
"typescript": "^5.3.3"
|
|
63
|
+
}
|
|
64
|
+
}
|