@builder6/services 0.11.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/README.md +21 -0
- package/dist/moleculer-api/index.d.ts +3 -0
- package/dist/moleculer-api/index.js +20 -0
- package/dist/moleculer-api/index.js.map +1 -0
- package/dist/moleculer-api/moleculer-api.controller.d.ts +6 -0
- package/dist/moleculer-api/moleculer-api.controller.js +52 -0
- package/dist/moleculer-api/moleculer-api.controller.js.map +1 -0
- package/dist/moleculer-api/moleculer-api.controller.spec.d.ts +1 -0
- package/dist/moleculer-api/moleculer-api.controller.spec.js +17 -0
- package/dist/moleculer-api/moleculer-api.controller.spec.js.map +1 -0
- package/dist/moleculer-api/moleculer-api.module.d.ts +2 -0
- package/dist/moleculer-api/moleculer-api.module.js +24 -0
- package/dist/moleculer-api/moleculer-api.module.js.map +1 -0
- package/dist/moleculer-api/moleculer-api.service.d.ts +5 -0
- package/dist/moleculer-api/moleculer-api.service.js +33 -0
- package/dist/moleculer-api/moleculer-api.service.js.map +1 -0
- package/dist/moleculer-api/moleculer-api.service.spec.d.ts +1 -0
- package/dist/moleculer-api/moleculer-api.service.spec.js +17 -0
- package/dist/moleculer-api/moleculer-api.service.spec.js.map +1 -0
- package/dist/plugin.module.d.ts +3 -0
- package/dist/plugin.module.js +20 -0
- package/dist/plugin.module.js.map +1 -0
- package/package.json +21 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Builder6 Email Module
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Environment Variables
|
|
5
|
+
|
|
6
|
+
```shell
|
|
7
|
+
B6_EMAIL_FROM=Steedos <noreply@steedos.com>
|
|
8
|
+
B6_EMAIL_HOST=email.xxxx.amazonaws.com
|
|
9
|
+
B6_EMAIL_PORT=465
|
|
10
|
+
B6_EMAIL_USERNAME=xxxxx
|
|
11
|
+
B6_EMAIL_PASSWORD=xxxxx
|
|
12
|
+
B6_EMAIL_SECURE=false
|
|
13
|
+
B6_EMAIL_DEBUG=true
|
|
14
|
+
B6_EMAIL_LOGGER=true
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## 配置定时发送
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
STEEDOS_CRON_MAILQUEUE_INTERVAL=3000 # 邮件定时器,单位:毫秒
|
|
21
|
+
```
|
|
@@ -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("./moleculer-api.controller"), exports);
|
|
18
|
+
__exportStar(require("./moleculer-api.service"), exports);
|
|
19
|
+
__exportStar(require("./moleculer-api.module"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/moleculer-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,0DAAwC;AACxC,yDAAuC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MoleculerApiService } from './moleculer-api.service';
|
|
2
|
+
export declare class MoleculerApiController {
|
|
3
|
+
private moleculerApiService;
|
|
4
|
+
constructor(moleculerApiService: MoleculerApiService);
|
|
5
|
+
callService(serviceName: string, actionName: string, query: any, body: any): Promise<unknown>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MoleculerApiController = void 0;
|
|
16
|
+
const core_1 = require("@builder6/core");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const moleculer_api_service_1 = require("./moleculer-api.service");
|
|
19
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
20
|
+
let MoleculerApiController = class MoleculerApiController {
|
|
21
|
+
constructor(moleculerApiService) {
|
|
22
|
+
this.moleculerApiService = moleculerApiService;
|
|
23
|
+
}
|
|
24
|
+
async callService(serviceName, actionName, query, body) {
|
|
25
|
+
return await this.moleculerApiService.call(serviceName, actionName, {
|
|
26
|
+
...query,
|
|
27
|
+
...body,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, common_1.Post)(':serviceName/:actionName'),
|
|
33
|
+
(0, swagger_1.ApiBody)({
|
|
34
|
+
schema: {
|
|
35
|
+
type: 'object',
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
__param(0, (0, common_1.Param)('serviceName')),
|
|
39
|
+
__param(1, (0, common_1.Param)('actionName')),
|
|
40
|
+
__param(2, (0, common_1.Query)()),
|
|
41
|
+
__param(3, (0, common_1.Body)()),
|
|
42
|
+
__metadata("design:type", Function),
|
|
43
|
+
__metadata("design:paramtypes", [String, String, Object, Object]),
|
|
44
|
+
__metadata("design:returntype", Promise)
|
|
45
|
+
], MoleculerApiController.prototype, "callService", null);
|
|
46
|
+
MoleculerApiController = __decorate([
|
|
47
|
+
(0, common_1.UseGuards)(core_1.AdminGuard),
|
|
48
|
+
(0, common_1.Controller)('api/v6/services'),
|
|
49
|
+
__metadata("design:paramtypes", [moleculer_api_service_1.MoleculerApiService])
|
|
50
|
+
], MoleculerApiController);
|
|
51
|
+
exports.MoleculerApiController = MoleculerApiController;
|
|
52
|
+
//# sourceMappingURL=moleculer-api.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moleculer-api.controller.js","sourceRoot":"","sources":["../../src/moleculer-api/moleculer-api.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yCAA4C;AAC5C,2CAOwB;AACxB,mEAA8D;AAC9D,6CAA0C;AAInC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YAAoB,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAQ1D,AAAN,KAAK,CAAC,WAAW,CACO,WAAmB,EACpB,UAAkB,EAC9B,KAAU,EACX,IAAS;QAEjB,OAAO,MAAM,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE;YAClE,GAAG,KAAK;YACR,GAAG,IAAI;SACR,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAXO;IANL,IAAA,aAAI,EAAC,0BAA0B,CAAC;IAChC,IAAA,iBAAO,EAAC;QACP,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;SACf;KACF,CAAC;IAEC,WAAA,IAAA,cAAK,EAAC,aAAa,CAAC,CAAA;IACpB,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,cAAK,GAAE,CAAA;IACP,WAAA,IAAA,aAAI,GAAE,CAAA;;;;yDAMR;AAnBU,sBAAsB;IAFlC,IAAA,kBAAS,EAAC,iBAAU,CAAC;IACrB,IAAA,mBAAU,EAAC,iBAAiB,CAAC;qCAEa,2CAAmB;GADjD,sBAAsB,CAoBlC;AApBY,wDAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const testing_1 = require("@nestjs/testing");
|
|
4
|
+
const moleculer_api_controller_1 = require("./moleculer-api.controller");
|
|
5
|
+
describe('MoleculerApiController', () => {
|
|
6
|
+
let controller;
|
|
7
|
+
beforeEach(async () => {
|
|
8
|
+
const module = await testing_1.Test.createTestingModule({
|
|
9
|
+
controllers: [moleculer_api_controller_1.MoleculerApiController],
|
|
10
|
+
}).compile();
|
|
11
|
+
controller = module.get(moleculer_api_controller_1.MoleculerApiController);
|
|
12
|
+
});
|
|
13
|
+
it('should be defined', () => {
|
|
14
|
+
expect(controller).toBeDefined();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=moleculer-api.controller.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moleculer-api.controller.spec.js","sourceRoot":"","sources":["../../src/moleculer-api/moleculer-api.controller.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,yEAAoE;AAEpE,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,IAAI,UAAkC,CAAC;IAEvC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,WAAW,EAAE,CAAC,iDAAsB,CAAC;SACtC,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,UAAU,GAAG,MAAM,CAAC,GAAG,CAAyB,iDAAsB,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ServicesModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const moleculer_api_service_1 = require("./moleculer-api.service");
|
|
12
|
+
const moleculer_api_controller_1 = require("./moleculer-api.controller");
|
|
13
|
+
const core_1 = require("@builder6/core");
|
|
14
|
+
let ServicesModule = class ServicesModule {
|
|
15
|
+
};
|
|
16
|
+
ServicesModule = __decorate([
|
|
17
|
+
(0, common_1.Module)({
|
|
18
|
+
imports: [core_1.AuthModule, core_1.MongodbModule],
|
|
19
|
+
providers: [moleculer_api_service_1.MoleculerApiService],
|
|
20
|
+
controllers: [moleculer_api_controller_1.MoleculerApiController],
|
|
21
|
+
})
|
|
22
|
+
], ServicesModule);
|
|
23
|
+
exports.ServicesModule = ServicesModule;
|
|
24
|
+
//# sourceMappingURL=moleculer-api.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moleculer-api.module.js","sourceRoot":"","sources":["../../src/moleculer-api/moleculer-api.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mEAA8D;AAC9D,yEAAoE;AACpE,yCAA2D;AAOpD,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,cAAc;IAL1B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,iBAAU,EAAE,oBAAa,CAAC;QACpC,SAAS,EAAE,CAAC,2CAAmB,CAAC;QAChC,WAAW,EAAE,CAAC,iDAAsB,CAAC;KACtC,CAAC;GACW,cAAc,CAAG;AAAjB,wCAAc"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MoleculerApiService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const moleculer_1 = require("@builder6/moleculer");
|
|
18
|
+
const moleculer_2 = require("moleculer");
|
|
19
|
+
let MoleculerApiService = class MoleculerApiService extends moleculer_2.Service {
|
|
20
|
+
constructor(broker) {
|
|
21
|
+
super(broker);
|
|
22
|
+
}
|
|
23
|
+
async call(serviceName, actionName, params, opts) {
|
|
24
|
+
return await this.broker.call(serviceName + '.' + actionName, params, opts);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
MoleculerApiService = __decorate([
|
|
28
|
+
(0, common_1.Injectable)(),
|
|
29
|
+
__param(0, (0, moleculer_1.InjectBroker)()),
|
|
30
|
+
__metadata("design:paramtypes", [moleculer_2.ServiceBroker])
|
|
31
|
+
], MoleculerApiService);
|
|
32
|
+
exports.MoleculerApiService = MoleculerApiService;
|
|
33
|
+
//# sourceMappingURL=moleculer-api.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moleculer-api.service.js","sourceRoot":"","sources":["../../src/moleculer-api/moleculer-api.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAAmD;AACnD,yCAAmD;AAG5C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mBAAO;IAC9C,YAA4B,MAAqB;QAC/C,KAAK,CAAC,MAAM,CAAC,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,IAAI,CACR,WAAmB,EACnB,UAAkB,EAClB,MAAc,EACd,IAAa;QAEb,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,GAAG,GAAG,GAAG,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;CACF,CAAA;AAbY,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;IAEE,WAAA,IAAA,wBAAY,GAAE,CAAA;qCAAS,yBAAa;GADtC,mBAAmB,CAa/B;AAbY,kDAAmB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const testing_1 = require("@nestjs/testing");
|
|
4
|
+
const moleculer_api_service_1 = require("./moleculer-api.service");
|
|
5
|
+
describe('MoleculerApiService', () => {
|
|
6
|
+
let service;
|
|
7
|
+
beforeEach(async () => {
|
|
8
|
+
const module = await testing_1.Test.createTestingModule({
|
|
9
|
+
providers: [moleculer_api_service_1.MoleculerApiService],
|
|
10
|
+
}).compile();
|
|
11
|
+
service = module.get(moleculer_api_service_1.MoleculerApiService);
|
|
12
|
+
});
|
|
13
|
+
it('should be defined', () => {
|
|
14
|
+
expect(service).toBeDefined();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=moleculer-api.service.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moleculer-api.service.spec.js","sourceRoot":"","sources":["../../src/moleculer-api/moleculer-api.service.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,mEAA8D;AAE9D,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,IAAI,OAA4B,CAAC;IAEjC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,SAAS,EAAE,CAAC,2CAAmB,CAAC;SACjC,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,OAAO,GAAG,MAAM,CAAC,GAAG,CAAsB,2CAAmB,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -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
|
+
const moleculer_api_module_1 = require("./moleculer-api/moleculer-api.module");
|
|
18
|
+
__exportStar(require("./moleculer-api"), exports);
|
|
19
|
+
exports.default = moleculer_api_module_1.ServicesModule;
|
|
20
|
+
//# sourceMappingURL=plugin.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.module.js","sourceRoot":"","sources":["../src/plugin.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+EAAsE;AAEtE,kDAAgC;AAEhC,kBAAe,qCAAc,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@builder6/services",
|
|
3
|
+
"version": "0.11.0",
|
|
4
|
+
"main": "dist/plugin.module.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
11
|
+
"build": "rimraf dist && tsc",
|
|
12
|
+
"build:watch": "rimraf dist && tsc --watch"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@builder6/core": "^0.11.0"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"gitHead": "326edca00fb364840c163d523ca7a700e48500d2"
|
|
21
|
+
}
|