pds-dev-kit-web-test 0.2.22 → 0.2.23

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.
Files changed (15) hide show
  1. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -1
  2. package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.d.ts +3 -1
  3. package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.js +35 -24
  4. package/dist/src/sub/DynamicLayout/mock_customSection.js +4 -1
  5. package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +36 -1134
  6. package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +53 -2907
  7. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +3 -2
  8. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +25 -12
  9. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +3 -2
  10. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -1
  11. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +1 -1
  12. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.d.ts +1 -0
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +14 -4
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +1 -0
  15. package/package.json +1 -1
@@ -28,11 +28,12 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
28
28
  var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
29
29
  function Button(props) {
30
30
  var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
31
- var CB_STYLE_PROP_BTNCOLOR = props.CB_STYLE_PROP_BTNCOLOR, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW;
31
+ var CB_STYLE_PROP_BTNCOLOR = props.CB_STYLE_PROP_BTNCOLOR, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW;
32
32
  var _c = (0, useCLINK_1.default)({
33
33
  src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
34
34
  type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
35
- openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB
35
+ openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
36
+ internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
36
37
  }), onClickCLINK = _c.onClickCLINK, CLINKCursor = _c.CLINKCursor;
37
38
  var _d = getBTNStyles(props.CB_STYLE_PROP_BTNTEXT, device), btnTextStyle = _d.style, btnTextHoverStyle = _d.hoverStyle;
38
39
  var _e = getBTNColorStyles(CB_STYLE_PROP_BTNCOLOR, device), btnColorStyle = _e.style, btnColorHoverStyle = _e.hoverStyle;
@@ -48,11 +48,12 @@ var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
48
48
  var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
49
49
  function Image(props) {
50
50
  var device = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext).device;
51
- var CB_CONTENT_PROP_IMAGE = props.CB_CONTENT_PROP_IMAGE, _a = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _a.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _a.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _a.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
51
+ var CB_CONTENT_PROP_IMAGE = props.CB_CONTENT_PROP_IMAGE, _a = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _a.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _a.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _a.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _a.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
52
52
  var _b = (0, useCLINK_1.default)({
53
53
  src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
54
54
  type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
55
- openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB
55
+ openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
56
+ internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
56
57
  }), onClickCLINK = _b.onClickCLINK, CLINKCursor = _b.CLINKCursor;
57
58
  var _c = (0, util_1.parseProperties)(props, device), style = _c.style, hoverStyle = _c.hoverStyle, layout = _c.layout, effect = _c.effect;
58
59
  var cbRef = (0, react_1.useRef)(null);
@@ -62,23 +63,35 @@ function Image(props) {
62
63
  var hasEffect = CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE !== 'NONE' &&
63
64
  CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] !== 'NONE';
64
65
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
65
- return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), effectCssProperties), style), { cursor: CLINKCursor }), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image, __assign({ src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, normalStyle: style, hoverStyle: hoverStyle }, { children: (0, jsx_runtime_1.jsx)("img", { src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, style: { visibility: 'hidden', width: '100%', height: '100%' } }, void 0) }), void 0) }), void 0) }), void 0));
66
+ return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), effectCssProperties), style), { cursor: CLINKCursor }), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, ref: cbRef, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image, __assign({ src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, normalStyle: {
67
+ borderBottomRightRadius: style.borderBottomRightRadius,
68
+ borderBottomLeftRadius: style.borderBottomRightRadius,
69
+ borderColor: style.borderColor,
70
+ borderStyle: style.borderStyle,
71
+ borderTopLeftRadius: style.borderTopLeftRadius,
72
+ borderTopRightRadius: style.borderTopRightRadius,
73
+ backgroundPosition: style.backgroundPosition,
74
+ backgroundSize: style.backgroundSize
75
+ }, hoverStyle: {
76
+ borderBottomRightRadius: hoverStyle.borderBottomRightRadius,
77
+ borderBottomLeftRadius: hoverStyle.borderBottomLeftRadius,
78
+ borderColor: hoverStyle.borderColor,
79
+ borderStyle: hoverStyle.borderStyle,
80
+ borderTopLeftRadius: hoverStyle.borderTopLeftRadius,
81
+ borderTopRightRadius: hoverStyle.borderTopRightRadius,
82
+ backgroundPosition: hoverStyle.backgroundPosition,
83
+ backgroundSize: hoverStyle.backgroundSize
84
+ } }, { children: (0, jsx_runtime_1.jsx)("img", { src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, style: { visibility: 'hidden', width: '100%', height: '100%' } }, void 0) }), void 0) }), void 0) }), void 0));
66
85
  }
67
86
  var S_Image = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-image: ", ";\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n\n & img {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"], ["\n background-image: ", ";\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n\n & img {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"])), function (_a) {
68
87
  var src = _a.src;
69
88
  return "url(" + src + ")";
70
89
  }, function (_a) {
71
90
  var normalStyle = _a.normalStyle;
72
- var isContain = normalStyle.backgroundSize === 'contain';
73
- return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign(__assign({}, normalStyle), { backgroundPosition: isContain ? 'center' : normalStyle.backgroundPosition }));
91
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign(__assign({}, normalStyle), { backgroundPosition: normalStyle.backgroundPosition }));
74
92
  }, function (_a) {
75
- var hoverStyle = _a.hoverStyle, normalStyle = _a.normalStyle;
76
- var isContain = hoverStyle.backgroundSize
77
- ? hoverStyle.backgroundSize === 'contain'
78
- : normalStyle.backgroundSize === 'contain';
79
- return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign(__assign({}, hoverStyle), { backgroundPosition: isContain
80
- ? 'center'
81
- : hoverStyle.backgroundPosition || normalStyle.backgroundPosition }));
93
+ var hoverStyle = _a.hoverStyle;
94
+ return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign(__assign({}, hoverStyle), { backgroundPosition: hoverStyle.backgroundPosition }));
82
95
  }, function (_a) {
83
96
  var normalStyle = _a.normalStyle;
84
97
  var isContain = normalStyle.backgroundSize === 'contain';
@@ -27,11 +27,12 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
27
27
  var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
28
28
  function Text(props) {
29
29
  var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
30
- var _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB;
30
+ var _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC;
31
31
  var _c = (0, useCLINK_1.default)({
32
32
  src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
33
33
  type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
34
- openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB
34
+ openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
35
+ internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
35
36
  }), CLINKCursor = _c.CLINKCursor, onClickCLINK = _c.onClickCLINK;
36
37
  var _d = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _d.style, textHoverStyle = _d.hoverStyle;
37
38
  var _e = (0, util_1.parseProperties)(props, device), propsStyle = _e.style, propsHoverStyle = _e.hoverStyle, layoutStyle = _e.layout, effect = _e.effect;
@@ -41,9 +41,10 @@ function Twitter(props) {
41
41
  var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
42
42
  var effectCssProperties = isVisible ? effect : {};
43
43
  var editModeStyle = mode === 'EDIT' ? { pointerEvents: 'none' } : {};
44
+ var twitterTimelineKey = userId + "-" + theme;
44
45
  var hasEffect = CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE !== 'NONE' &&
45
46
  CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] !== 'NONE';
46
47
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
47
- return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), { overflowY: 'auto' }), editModeStyle), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: (0, jsx_runtime_1.jsx)(ComponentBlocks_1.TwitterTimeline, { userId: userId, theme: theme }, void 0) }), void 0) }), void 0));
48
+ return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), { overflowY: 'auto' }), editModeStyle), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: (0, jsx_runtime_1.jsx)(ComponentBlocks_1.TwitterTimeline, { userId: userId, theme: theme }, twitterTimelineKey) }), void 0) }), void 0));
48
49
  }
49
50
  exports.default = Twitter;
@@ -62,7 +62,7 @@ function getBGColorStyles(props, device) {
62
62
  ];
63
63
  return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
64
64
  }
65
- var S_ThumbnailBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n position: relative;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n position: relative;\n width: 100%;\n"])));
65
+ var S_ThumbnailBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 100%;\n"])));
66
66
  var S_Thumbnail = styled_components_1.default.img(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 100%;\n object-fit: cover;\n width: 100%;\n"], ["\n height: 100%;\n object-fit: cover;\n width: 100%;\n"])));
67
67
  var S_Iframe = styled_components_1.default.iframe(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border: none;\n height: 100%;\n width: 100%;\n"], ["\n border: none;\n height: 100%;\n width: 100%;\n"])));
68
68
  var S_YoutubeButton = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 48px;\n margin: auto;\n position: absolute;\n width: 68px;\n"], ["\n height: 48px;\n margin: auto;\n position: absolute;\n width: 68px;\n"])));
@@ -3,6 +3,7 @@ declare type Props = {
3
3
  src: string;
4
4
  openNewTab: boolean;
5
5
  type: CB_CONTENT_PROP_CLINK['CB_CONTENT_PROP_CLINK_SPEC_TYPE'];
6
+ internalSrc: string;
6
7
  };
7
8
  export default function useCLINK(props: Props): {
8
9
  CLINKCursor: string;
@@ -4,17 +4,27 @@ var react_1 = require("react");
4
4
  var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
5
5
  // NOTE: link기능은 탄력적일 필요가 없음.
6
6
  function useCLINK(props) {
7
- var src = props.src, openNewTab = props.openNewTab, type = props.type;
7
+ var src = props.src, openNewTab = props.openNewTab, type = props.type, internalSrc = props.internalSrc;
8
8
  var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), navigationHandler = _a.navigationHandler, mode = _a.mode;
9
9
  var navType = type === 'INTERNAL' ? 'INTERNAL_LINK' : 'WEB_LINK';
10
10
  var CLINKCursor = mode === 'EDIT' || type === 'DISABLED' ? 'auto' : 'pointer';
11
11
  function onClickCLINK() {
12
- if (!src || type === 'DISABLED' || mode === 'EDIT') {
12
+ if (type === 'DISABLED' || mode === 'EDIT') {
13
13
  return;
14
14
  }
15
15
  if (typeof navigationHandler === 'function') {
16
- navigationHandler(navType, src, { openNewTab: openNewTab });
17
- return;
16
+ switch (type) {
17
+ case 'INTERNAL':
18
+ if (internalSrc) {
19
+ navigationHandler(navType, internalSrc, { openNewTab: openNewTab });
20
+ }
21
+ return;
22
+ case 'EXTERNAL':
23
+ if (src) {
24
+ navigationHandler(navType, src, { openNewTab: openNewTab });
25
+ }
26
+ return;
27
+ }
18
28
  }
19
29
  }
20
30
  return {
@@ -10,6 +10,7 @@ export declare type CB_CONTENT_PROP_TEXT = {
10
10
  export declare type CB_CONTENT_PROP_CLINK = {
11
11
  CB_CONTENT_PROP_CLINK_SPEC_TYPE: 'INTERNAL' | 'EXTERNAL' | 'DISABLED';
12
12
  CB_CONTENT_PROP_CLINK_SPEC_SRC: STRING_PLAIN;
13
+ CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: STRING_PLAIN;
13
14
  CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
14
15
  };
15
16
  export declare type CB_CONTENT_PROP_IMAGE = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",