bigbluebutton-html-plugin-sdk 0.0.2 → 0.0.3
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/cjs/core/getPluginApi.d.ts +3 -2
- package/dist/cjs/core/getPluginApi.js +7 -10
- package/dist/cjs/core/getPluginApi.js.map +1 -1
- package/dist/cjs/core/index.d.ts +1 -1
- package/dist/cjs/core/index.js +11 -2
- package/dist/cjs/core/index.js.map +1 -1
- package/dist/cjs/data-consumption/hooks/index.d.ts +1 -1
- package/dist/cjs/data-consumption/hooks/index.js +1 -1
- package/dist/cjs/data-consumption/hooks/index.js.map +1 -1
- package/dist/cjs/data-consumption/hooks/presentation.d.ts +2 -2
- package/dist/cjs/data-consumption/hooks/presentation.js +1 -2
- package/dist/cjs/data-consumption/hooks/presentation.js.map +1 -1
- package/dist/cjs/data-consumption/types/presentation.d.ts +8 -8
- package/dist/cjs/enums.js +1 -1
- package/dist/cjs/enums.js.map +1 -1
- package/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.js +14 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/common.js +6 -6
- package/dist/cjs/types/common.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -2
- package/dist/cjs/types/index.js +12 -4
- package/dist/cjs/types/index.js.map +1 -1
- package/package.json +17 -20
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { PluginApi } from '../types';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare type GetPluginApi = (uuid: string) => PluginApi;
|
|
3
|
+
declare const getPluginApi: GetPluginApi;
|
|
4
|
+
export { getPluginApi, GetPluginApi, };
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getPluginApi = void 0;
|
|
4
|
-
|
|
4
|
+
var getPluginApi = function (uuid) {
|
|
5
5
|
if (window.bbb_plugins) {
|
|
6
6
|
if (Object.keys(window.bbb_plugins).indexOf(uuid) !== -1) {
|
|
7
7
|
return window.bbb_plugins[uuid];
|
|
8
8
|
}
|
|
9
|
-
else {
|
|
10
|
-
window.bbb_plugins[uuid] = {
|
|
11
|
-
setWhiteboardToolbarItems: function () { },
|
|
12
|
-
};
|
|
13
|
-
return window.bbb_plugins[uuid];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
window.bbb_plugins = {};
|
|
18
9
|
window.bbb_plugins[uuid] = {
|
|
19
10
|
setWhiteboardToolbarItems: function () { },
|
|
20
11
|
};
|
|
21
12
|
return window.bbb_plugins[uuid];
|
|
22
13
|
}
|
|
14
|
+
window.bbb_plugins = {};
|
|
15
|
+
window.bbb_plugins[uuid] = {
|
|
16
|
+
setWhiteboardToolbarItems: function () { },
|
|
17
|
+
};
|
|
18
|
+
return window.bbb_plugins[uuid];
|
|
23
19
|
};
|
|
20
|
+
exports.getPluginApi = getPluginApi;
|
|
24
21
|
//# sourceMappingURL=getPluginApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPluginApi.js","sourceRoot":"","sources":["../../../src/core/getPluginApi.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getPluginApi.js","sourceRoot":"","sources":["../../../src/core/getPluginApi.ts"],"names":[],"mappings":";;;AAQA,IAAM,YAAY,GAAiB,UAAC,IAAY;IAC9C,IAAI,MAAM,CAAC,WAAW,EAAE;QACtB,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YACxD,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;SACjC;QACD,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG;YACzB,yBAAyB,EAAE,cAAO,CAAC;SACpC,CAAC;QACF,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;KACjC;IACD,MAAM,CAAC,WAAW,GAAG,EAAE,CAAC;IACxB,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG;QACzB,yBAAyB,EAAE,cAAO,CAAC;KACpC,CAAC;IACF,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC,CAAC;AAGA,oCAAY"}
|
package/dist/cjs/core/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './getPluginApi';
|
package/dist/cjs/core/index.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "getPluginApi", { enumerable: true, get: function () { return getPluginApi_1.getPluginApi; } });
|
|
13
|
+
__exportStar(require("./getPluginApi"), exports);
|
|
5
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useCurrentPresentation
|
|
1
|
+
export { default as useCurrentPresentation } from './presentation';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var presentation_1 = require("./presentation");
|
|
4
|
-
Object.defineProperty(exports, "useCurrentPresentation", { enumerable: true, get: function () { return presentation_1.
|
|
4
|
+
Object.defineProperty(exports, "useCurrentPresentation", { enumerable: true, get: function () { return presentation_1.default; } });
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data-consumption/hooks/index.ts"],"names":[],"mappings":";;AAAA,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data-consumption/hooks/index.ts"],"names":[],"mappings":";;AAAA,+CAAmE;AAA1D,sHAAA,OAAO,OAA0B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Presentation } from '../../types
|
|
1
|
+
import { Presentation } from '../../types';
|
|
2
2
|
declare const useCurrentPresentation: () => Presentation | undefined;
|
|
3
|
-
export
|
|
3
|
+
export default useCurrentPresentation;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useCurrentPresentation = void 0;
|
|
4
3
|
var react_1 = require("react");
|
|
5
4
|
var index_1 = require("../../index");
|
|
6
5
|
var useCurrentPresentation = function () {
|
|
@@ -19,5 +18,5 @@ var useCurrentPresentation = function () {
|
|
|
19
18
|
}, []);
|
|
20
19
|
return presentationInfo;
|
|
21
20
|
};
|
|
22
|
-
exports.
|
|
21
|
+
exports.default = useCurrentPresentation;
|
|
23
22
|
//# sourceMappingURL=presentation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation.js","sourceRoot":"","sources":["../../../../src/data-consumption/hooks/presentation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"presentation.js","sourceRoot":"","sources":["../../../../src/data-consumption/hooks/presentation.ts"],"names":[],"mappings":";;AAAA,+BAA4C;AAC5C,qCAAuC;AAIvC,IAAM,sBAAsB,GAAmC;IACvD,IAAA,KAA0C,gBAAQ,EAA4B,EAA7E,gBAAgB,QAAA,EAAE,mBAAmB,QAAwC,CAAC;IACrF,IAAM,oCAAoC,GAAkB,CAC1D,UAAC,KAA2C;QAC1C,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,gBAAQ,CAAC,QAAQ,CAAC,sBAAsB,EAAE;YAClE,mBAAmB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;SACxC;IACH,CAAC,CAAkB,CAAC;IAEtB,iBAAS,CAAC;QACR,MAAM,CAAC,gBAAgB,CAAC,gBAAQ,CAAC,aAAa,CAAC,MAAM,EAAE,oCAAoC,CAAC,CAAC;QAC7F,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,gBAAQ,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;QACtE,OAAO;YACL,MAAM,CAAC,mBAAmB,CACxB,gBAAQ,CAAC,aAAa,CAAC,MAAM,EAC7B,oCAAoC,CACrC,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,gBAAgB,CAAC;AAC1B,CAAC,CAAC;AAEF,kBAAe,sBAAsB,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export interface PresentationPageUrls {
|
|
2
|
+
thumbnail: string;
|
|
3
|
+
png: string;
|
|
4
|
+
svg: string;
|
|
5
|
+
text: string;
|
|
4
6
|
}
|
|
5
7
|
export interface PresentationPage {
|
|
6
8
|
id: string;
|
|
7
9
|
num: number;
|
|
8
10
|
urls: PresentationPageUrls;
|
|
9
11
|
}
|
|
10
|
-
export interface
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
svg: string;
|
|
14
|
-
text: string;
|
|
12
|
+
export interface Presentation {
|
|
13
|
+
presentationId: string;
|
|
14
|
+
currentPage: PresentationPage;
|
|
15
15
|
}
|
package/dist/cjs/enums.js
CHANGED
package/dist/cjs/enums.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../src/enums.ts"],"names":[],"mappings":";;;AAAA,IAAK,aAGJ;AAHD,WAAK,aAAa;
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../src/enums.ts"],"names":[],"mappings":";;;AAAA,IAAK,aAGJ;AAHD,WAAK,aAAa;IAChB,uCAAsB,CAAA;IACtB,iDAAgC,CAAA;AAClC,CAAC,EAHI,aAAa,KAAb,aAAa,QAGjB;AAED,IAAK,QAEJ;AAFD,WAAK,QAAQ;IACX,uEAA2D,CAAA;AAC7D,CAAC,EAFI,QAAQ,KAAR,QAAQ,QAEZ;AAEY,QAAA,QAAQ,GAAG;IACtB,aAAa,eAAA;IACb,QAAQ,UAAA;CACT,CAAC;AAEF,oCAAoC;AACpC,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,mEAAsC,CAAA;IACtC,qEAAwC,CAAA;IACxC,yEAA4C,CAAA;AAC9C,CAAC,EAJW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAIpC"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './data-consumption/hooks';
|
|
3
|
+
export * from './core';
|
|
4
|
+
export * from './enums';
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var hooks_1 = require("./data-consumption/hooks");
|
|
8
|
-
Object.defineProperty(exports, "useCurrentPresentation", { enumerable: true, get: function () { return hooks_1.useCurrentPresentation; } });
|
|
9
|
-
var core_1 = require("./core");
|
|
10
|
-
Object.defineProperty(exports, "getPluginApi", { enumerable: true, get: function () { return core_1.getPluginApi; } });
|
|
11
|
-
var enums_1 = require("./enums");
|
|
12
|
-
Object.defineProperty(exports, "Internal", { enumerable: true, get: function () { return enums_1.Internal; } });
|
|
13
|
-
Object.defineProperty(exports, "WhiteboardToolbarItemType", { enumerable: true, get: function () { return enums_1.WhiteboardToolbarItemType; } });
|
|
13
|
+
__exportStar(require("./types"), exports);
|
|
14
|
+
__exportStar(require("./data-consumption/hooks"), exports);
|
|
15
|
+
__exportStar(require("./core"), exports);
|
|
16
|
+
__exportStar(require("./enums"), exports);
|
|
14
17
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAwB;AAExB,2DAAyC;AAEzC,yCAAuB;AAEvB,0CAAwB"}
|
package/dist/cjs/types/common.js
CHANGED
|
@@ -5,8 +5,8 @@ var index_1 = require("../index");
|
|
|
5
5
|
var WhiteboardToolbarButton = /** @class */ (function () {
|
|
6
6
|
function WhiteboardToolbarButton(_a) {
|
|
7
7
|
var _this = this;
|
|
8
|
-
var _b = _a.label, label = _b === void 0 ?
|
|
9
|
-
this.id =
|
|
8
|
+
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.tooltip, tooltip = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
9
|
+
this.id = '';
|
|
10
10
|
this.setItemId = function (id) {
|
|
11
11
|
_this.id = "WhiteboardToolbarButton_" + id;
|
|
12
12
|
};
|
|
@@ -21,9 +21,9 @@ exports.WhiteboardToolbarButton = WhiteboardToolbarButton;
|
|
|
21
21
|
var WhiteboardToolbarSpinner = /** @class */ (function () {
|
|
22
22
|
function WhiteboardToolbarSpinner() {
|
|
23
23
|
var _this = this;
|
|
24
|
-
this.id =
|
|
24
|
+
this.id = '';
|
|
25
25
|
this.setItemId = function (id) {
|
|
26
|
-
_this.id = "
|
|
26
|
+
_this.id = "WhiteboardToolbarButton_" + id;
|
|
27
27
|
};
|
|
28
28
|
this.type = index_1.WhiteboardToolbarItemType.SPINNER;
|
|
29
29
|
}
|
|
@@ -34,9 +34,9 @@ var WhiteboardToolbarSeparator = /** @class */ (function () {
|
|
|
34
34
|
function WhiteboardToolbarSeparator(_a) {
|
|
35
35
|
var _this = this;
|
|
36
36
|
var width = _a.width;
|
|
37
|
-
this.id =
|
|
37
|
+
this.id = '';
|
|
38
38
|
this.setItemId = function (id) {
|
|
39
|
-
_this.id = "
|
|
39
|
+
_this.id = "WhiteboardToolbarButton_" + id;
|
|
40
40
|
};
|
|
41
41
|
this.width = width;
|
|
42
42
|
this.type = index_1.WhiteboardToolbarItemType.SEPARATOR;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":";;;AAAA,kCAAqD;AAgBrD;
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":";;;AAAA,kCAAqD;AAgBrD;IAWE,iCAAY,EAA8E;QAA1F,iBAKC;YALa,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAV1D,OAAE,GAAW,EAAE,CAAC;QAiBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,6BAA2B,EAAI,CAAC;QAC5C,CAAC,CAAC;QARA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,iCAAyB,CAAC,MAAM,CAAC;IAC/C,CAAC;IAKH,8BAAC;AAAD,CAAC,AArBD,IAqBC;AArBY,0DAAuB;AAuBpC;IAKE;QAAA,iBAEC;QAND,OAAE,GAAW,EAAE,CAAC;QAQhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,6BAA2B,EAAI,CAAC;QAC5C,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,iCAAyB,CAAC,OAAO,CAAC;IAChD,CAAC;IAKH,+BAAC;AAAD,CAAC,AAZD,IAYC;AAZY,4DAAwB;AAiBrC;IAOE,oCAAY,EAA2C;QAAvD,iBAGC;YAHa,KAAK,WAAA;QANnB,OAAE,GAAW,EAAE,CAAC;QAWhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,6BAA2B,EAAI,CAAC;QAC5C,CAAC,CAAC;QANA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,iCAAyB,CAAC,SAAS,CAAC;IAClD,CAAC;IAKH,iCAAC;AAAD,CAAC,AAfD,IAeC;AAfY,gEAA0B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from '../data-consumption/types/presentation';
|
package/dist/cjs/types/index.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "WhiteboardToolbarSeparator", { enumerable: true, get: function () { return common_1.WhiteboardToolbarSeparator; } });
|
|
6
|
-
Object.defineProperty(exports, "WhiteboardToolbarButton", { enumerable: true, get: function () { return common_1.WhiteboardToolbarButton; } });
|
|
13
|
+
__exportStar(require("./common"), exports);
|
|
14
|
+
__exportStar(require("../data-consumption/types/presentation"), exports);
|
|
7
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB;AACzB,yEAAuD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigbluebutton-html-plugin-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"homepage": "https://github.com/bigbluebutton/bigbluebutton-html-plugin-sdk",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -14,33 +14,30 @@
|
|
|
14
14
|
"react-dom": "^18.2.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@types/node": "^
|
|
18
|
-
"@types/react": "^
|
|
19
|
-
"@types/react-dom": "^
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^2.
|
|
21
|
-
"@typescript-eslint/parser": "^2.
|
|
22
|
-
"eslint": "^
|
|
23
|
-
"eslint-config-
|
|
24
|
-
"eslint-
|
|
25
|
-
"eslint-plugin-
|
|
26
|
-
"eslint-plugin-
|
|
27
|
-
"eslint-plugin-
|
|
28
|
-
"eslint-plugin-react": "^
|
|
29
|
-
"eslint-
|
|
30
|
-
"eslint-plugin-standard": "^4.0.1",
|
|
31
|
-
"eslint-watch": "^6.0.1",
|
|
17
|
+
"@types/node": "^20.4.4",
|
|
18
|
+
"@types/react": "^18.2.15",
|
|
19
|
+
"@types/react-dom": "^18.2.7",
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
21
|
+
"@typescript-eslint/parser": "^6.2.0",
|
|
22
|
+
"eslint": "^8.45.0",
|
|
23
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
24
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
25
|
+
"eslint-plugin-import": "^2.27.5",
|
|
26
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
27
|
+
"eslint-plugin-react": "^7.33.0",
|
|
28
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
29
|
+
"eslint-watch": "^8.0.0",
|
|
32
30
|
"react": "^18.2.0",
|
|
33
31
|
"react-dom": "^18.2.0",
|
|
34
|
-
"typescript": "^
|
|
32
|
+
"typescript": "^5.1.6",
|
|
33
|
+
"lint-staged": "11.2.0",
|
|
35
34
|
"watch": "^1.0.2"
|
|
36
35
|
},
|
|
37
36
|
"scripts": {
|
|
38
37
|
"prepublishOnly": "npm run build # runs before publish",
|
|
39
|
-
"prepublishOnly-p": "npm run build-p && npm run build:esm-p # runs before publish",
|
|
40
38
|
"build": "rm -rf dist/cjs && tsc --module CommonJS --outDir dist/cjs",
|
|
41
|
-
"build-p": "rm -rf dist/cjs && tsc --module CommonJS --outDir dist/cjs -p tsconfig.production.json",
|
|
42
39
|
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
|
|
43
|
-
"lint": "eslint ./src
|
|
40
|
+
"lint": "eslint ./src/*.{ts,tsx}",
|
|
44
41
|
"lint:fix": "npm run lint -- --fix",
|
|
45
42
|
"lint:watch": "watch 'yarn lint'"
|
|
46
43
|
},
|