@zync/zync-screnplay-player 0.1.245 → 0.1.247
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/bundle.js +1 -1
- package/dist/screenplay/RemotionRenderer/components/LottieAnimationGlobal.js +21 -21
- package/dist/screenplay/RemotionRenderer/components/layouts/BrollGreenScreen.js +46 -44
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabColdOpenVisual.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabConversationSpine.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabDocumentaryInset.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabRackFocus.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabSplit.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabStudioSet.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/DynamicTriangle.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/HookVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/IntroVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/KeyPointOverlayDepth.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/Keyword.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/KeywordStudioBackdrop.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/MotionStill.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/TextWithVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/utils/FaceCenteredVideo.js +66 -57
- package/dist/screenplay/RemotionRenderer/components/utils/PausableImg.js +4 -4
- package/dist/screenplay/RemotionRenderer/components/utils/README.md +80 -80
- package/dist/screenplay/RemotionRenderer/components/utils/StretchTextDemo.js +3 -3
- package/dist/screenplay/RemotionRenderer/development.js +1627 -924
- package/dist/screenplay/RemotionRenderer/fontRegistry.js +422 -0
- package/dist/screenplay/RemotionRenderer/helpers/convertToSeconds.js +8 -8
- package/dist/screenplay/RemotionRenderer/helpers/faceBasedVideoStyles.js +4 -4
- package/dist/screenplay/RemotionRenderer/helpers/faceCenteredVideoTransforms.js +46 -46
- package/dist/screenplay/RemotionRenderer/main/screenplaySchema.js +51 -51
- package/dist/screenplay/RemotionRenderer/registeredComponents.js +2 -2
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldNameTag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/boxwipe/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/centerline/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColor.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColorInverse.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColorShadow.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionElegant.js +3 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionEmphasis.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionPunctuated.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordBoom.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordBubble.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordPopup.js +3 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/DefaultCaption.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/HandoffNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Sentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/fullcover/TextFullCover.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Sentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/rightslide/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/SportsCaption.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/SportsSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/SportsBounceSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/stackfill/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/tracks/DynamicVideoComposition.js +2 -0
- package/dist/screenplay/RemotionRenderer/tracks/LayoutVideoTrack.js +20 -20
- package/package.json +49 -49
|
@@ -5,7 +5,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React from "react";
|
|
8
|
-
import {
|
|
8
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
9
9
|
import { AbsoluteFill, useVideoConfig } from "remotion";
|
|
10
10
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
11
11
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
@@ -13,8 +13,7 @@ import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.
|
|
|
13
13
|
import { hexToRgbHtml } from "../../../helpers/hexToRgb.js";
|
|
14
14
|
import { HangFromTop, PushUpAndSlide, RotateGrow, SlideAndPushByGrow } from "./designs/title";
|
|
15
15
|
import { CameraMotionBlur } from "@remotion/motion-blur";
|
|
16
|
-
var
|
|
17
|
-
fontFamily = _loadFont.fontFamily;
|
|
16
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
18
17
|
var effects = [PushUpAndSlide, SlideAndPushByGrow, RotateGrow, HangFromTop, PushUpAndSlide, SlideAndPushByGrow, RotateGrow, HangFromTop, PushUpAndSlide, SlideAndPushByGrow, RotateGrow, HangFromTop];
|
|
19
18
|
var effectsTimings = [[0, 0.25, 0.75, 0.9], [0.7, 0.9, 1.25, 1.5], [1.25, 1.5], [2, 4.5], [2.5, 2.75, 3.25, 3.4], [3.2, 3.4, 3.75, 4.0], [3.75, 4.0], [4.0, 7.0], [5, 5.25, 5.75, 5.9], [5.7, 5.9, 6.35, 6.6], [6.25, 6.5], [6.0, 8.5]];
|
|
20
19
|
export var PushPullTitleEffect = function PushPullTitleEffect(_ref) {
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
7
|
-
var
|
|
8
|
-
subsets: ["latin"],
|
|
9
|
-
weights: ["400", "500", "600"]
|
|
10
|
-
}),
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
8
|
var clamp = function clamp(value, min, max) {
|
|
13
9
|
return Math.max(min, Math.min(max, value));
|
|
14
10
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Easing } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import { LottieAnimation } from "../../../components/effects/LottieAnimation";
|
|
7
7
|
import { convertToSeconds } from "../../../helpers/convertToSeconds.js";
|
|
8
8
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
9
9
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
10
|
-
var
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
10
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
11
|
export var SportsNametag = function SportsNametag(_ref) {
|
|
13
12
|
var name = _ref.name,
|
|
14
13
|
title = _ref.title,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
6
|
-
var
|
|
7
|
-
fontFamily = _loadFont.fontFamily;
|
|
6
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
8
7
|
var FlyInOutText = function FlyInOutText(_ref) {
|
|
9
8
|
var transcript = _ref.transcript,
|
|
10
9
|
width = _ref.width,
|
|
@@ -4,9 +4,8 @@ import { CHROME_PADDING } from "../../../config.js";
|
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { AnimatedLine } from "./shared";
|
|
6
6
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
7
|
-
import {
|
|
8
|
-
var
|
|
9
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
8
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
10
9
|
export var SportsSentence = function SportsSentence(_ref) {
|
|
11
10
|
var sentence = _ref.sentence;
|
|
12
11
|
var maxWidth = 800;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { DEFAULT_TIME_INTERPOLATE_OPTIONS, useTimeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import { convertToSeconds } from "../../../helpers/convertToSeconds.js";
|
|
7
7
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
8
8
|
import { AnimatedLine } from "./shared";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
11
10
|
export var SportsTitle = function SportsTitle(_ref) {
|
|
12
11
|
var text = _ref.text;
|
|
13
12
|
var _useOrientationBased = useOrientationBased({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
7
|
-
var
|
|
8
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
9
8
|
var IndividualLine = function IndividualLine(_ref) {
|
|
10
9
|
var text = _ref.text,
|
|
11
10
|
translateY = _ref.translateY,
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
5
5
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
6
6
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
7
7
|
import { timeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
8
8
|
|
|
9
9
|
// Load custom font
|
|
10
|
-
var
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
10
|
+
var fontFamily = FONT_FAMILIES.MONTSERRAT;
|
|
12
11
|
var IndividualLine = function IndividualLine(_ref) {
|
|
13
12
|
var text = _ref.text,
|
|
14
13
|
translateY = _ref.translateY,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Easing, spring, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
3
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
5
5
|
import { timeInterpolate } from "../../../hooks/useTimeInterpolate.js";
|
|
6
6
|
import { CameraMotionBlur } from "@remotion/motion-blur";
|
|
7
7
|
import { distributeTextToFit } from "../default/Sentence/SentenceSimple.helpers.js";
|
|
8
8
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
9
|
-
var
|
|
10
|
-
fontFamily = _loadFont.fontFamily;
|
|
9
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
11
10
|
var NoBlurSportsBounceTitle = function NoBlurSportsBounceTitle(_ref) {
|
|
12
11
|
var text = _ref.text;
|
|
13
12
|
var _useOrientationBased = useOrientationBased({
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
3
|
-
import {
|
|
3
|
+
import { FONT_FAMILIES } from "../../../fontRegistry.js";
|
|
4
4
|
import { useOrientationBased } from "../../../hooks/useOrientationBased.js";
|
|
5
5
|
import { useTheme } from "../../hooks/useTheme.js";
|
|
6
6
|
import { getContrastColor } from "../../../helpers/getContrastColor";
|
|
7
|
-
var
|
|
8
|
-
subsets: ["latin"],
|
|
9
|
-
weights: ["400", "500", "600"]
|
|
10
|
-
}),
|
|
11
|
-
fontFamily = _loadFont.fontFamily;
|
|
7
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
12
8
|
var clamp = function clamp(value, min, max) {
|
|
13
9
|
return Math.max(min, Math.min(max, value));
|
|
14
10
|
};
|
|
@@ -8,6 +8,7 @@ import { EffectsVideoTrack } from "./EffectsVideoTrack";
|
|
|
8
8
|
import { CaptionsVideoTrack } from "./CaptionsVideoTrack";
|
|
9
9
|
import { AudioTrack } from "./AudioTrack";
|
|
10
10
|
import { SafeZones } from "../components/utils/SafeZones";
|
|
11
|
+
import { loadFontsForTimeline } from "../fontRegistry.js";
|
|
11
12
|
var isSafeZoneDisplayed = false;
|
|
12
13
|
var DISABLED_BUFFER_MANAGER = {
|
|
13
14
|
addBlock: function addBlock() {
|
|
@@ -74,6 +75,7 @@ var DynamicVideoCompositionComponent = function DynamicVideoCompositionComponent
|
|
|
74
75
|
};
|
|
75
76
|
export var DynamicVideoComposition = function DynamicVideoComposition(props) {
|
|
76
77
|
if (props) {
|
|
78
|
+
loadFontsForTimeline(props);
|
|
77
79
|
window.screenplayProps = props;
|
|
78
80
|
}
|
|
79
81
|
return /*#__PURE__*/React.createElement(DynamicVideoCompositionComponent, props);
|
|
@@ -62,26 +62,26 @@ var transitionThemes = {
|
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
/*
|
|
66
|
-
const UseMotionBlur = ({ children, componentName }) => {
|
|
67
|
-
const {
|
|
68
|
-
props: {
|
|
69
|
-
output: { theme = "default" } = {
|
|
70
|
-
theme: window.screenplayProps.output.theme,
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
} = useVideoConfig();
|
|
74
|
-
|
|
75
|
-
if (motionBlurComponents[componentName] && motionBlurThemes[theme]) {
|
|
76
|
-
return (
|
|
77
|
-
<CameraMotionBlur shutterAngle={180} samples={5}>
|
|
78
|
-
{children}
|
|
79
|
-
</CameraMotionBlur>
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return children;
|
|
84
|
-
};
|
|
65
|
+
/*
|
|
66
|
+
const UseMotionBlur = ({ children, componentName }) => {
|
|
67
|
+
const {
|
|
68
|
+
props: {
|
|
69
|
+
output: { theme = "default" } = {
|
|
70
|
+
theme: window.screenplayProps.output.theme,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
} = useVideoConfig();
|
|
74
|
+
|
|
75
|
+
if (motionBlurComponents[componentName] && motionBlurThemes[theme]) {
|
|
76
|
+
return (
|
|
77
|
+
<CameraMotionBlur shutterAngle={180} samples={5}>
|
|
78
|
+
{children}
|
|
79
|
+
</CameraMotionBlur>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return children;
|
|
84
|
+
};
|
|
85
85
|
*/
|
|
86
86
|
|
|
87
87
|
var isTruthy = function isTruthy(value) {
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zync/zync-screnplay-player",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"files": [
|
|
5
|
-
"dist"
|
|
6
|
-
],
|
|
7
|
-
"main": "dist/bundle.js",
|
|
8
|
-
"module": "dist/index.js",
|
|
9
|
-
"exports": {
|
|
10
|
-
"import": "./dist/index.js",
|
|
11
|
-
"require": "./dist/bundle.js"
|
|
12
|
-
},
|
|
13
|
-
"scripts": {
|
|
14
|
-
"clean": "rimraf dist",
|
|
15
|
-
"build": "npm run clean && babel src --out-dir dist --extensions \".ts,.tsx,.js,.jsx\" --copy-files && webpack",
|
|
16
|
-
"publish-lib": "npm run build && npm publish --access public"
|
|
17
|
-
},
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"@remotion/google-fonts": "4.0.441",
|
|
20
|
-
"@remotion/lottie": "4.0.441",
|
|
21
|
-
"@remotion/motion-blur": "4.0.441",
|
|
22
|
-
"@remotion/player": "4.0.441",
|
|
23
|
-
"@remotion/transitions": "4.0.441",
|
|
24
|
-
"remotion": "4.0.441"
|
|
25
|
-
},
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"react": ">=16.14.0 <20.0.0",
|
|
28
|
-
"react-dom": ">=16.14.0 <20.0.0"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@babel/cli": "7.21.5",
|
|
32
|
-
"@babel/core": "7.21.5",
|
|
33
|
-
"@babel/preset-env": "7.21.5",
|
|
34
|
-
"@babel/preset-react": "7.18.6",
|
|
35
|
-
"@babel/preset-typescript": "^7.26.0",
|
|
36
|
-
"babel-loader": "^9.2.1",
|
|
37
|
-
"react": "18.3.1",
|
|
38
|
-
"react-dom": "18.3.1",
|
|
39
|
-
"rimraf": "^5.0.7",
|
|
40
|
-
"terser-webpack-plugin": "^5.3.11",
|
|
41
|
-
"ts-loader": "^9.5.2",
|
|
42
|
-
"typescript": "^5.7.3",
|
|
43
|
-
"webpack": "^5.97.1",
|
|
44
|
-
"webpack-cli": "^6.0.1"
|
|
45
|
-
},
|
|
46
|
-
"browser": {
|
|
47
|
-
"fs": false
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zync/zync-screnplay-player",
|
|
3
|
+
"version": "0.1.247",
|
|
4
|
+
"files": [
|
|
5
|
+
"dist"
|
|
6
|
+
],
|
|
7
|
+
"main": "dist/bundle.js",
|
|
8
|
+
"module": "dist/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/bundle.js"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"clean": "rimraf dist",
|
|
15
|
+
"build": "npm run clean && babel src --out-dir dist --extensions \".ts,.tsx,.js,.jsx\" --copy-files && webpack",
|
|
16
|
+
"publish-lib": "npm run build && npm publish --access public"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@remotion/google-fonts": "4.0.441",
|
|
20
|
+
"@remotion/lottie": "4.0.441",
|
|
21
|
+
"@remotion/motion-blur": "4.0.441",
|
|
22
|
+
"@remotion/player": "4.0.441",
|
|
23
|
+
"@remotion/transitions": "4.0.441",
|
|
24
|
+
"remotion": "4.0.441"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"react": ">=16.14.0 <20.0.0",
|
|
28
|
+
"react-dom": ">=16.14.0 <20.0.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@babel/cli": "7.21.5",
|
|
32
|
+
"@babel/core": "7.21.5",
|
|
33
|
+
"@babel/preset-env": "7.21.5",
|
|
34
|
+
"@babel/preset-react": "7.18.6",
|
|
35
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
36
|
+
"babel-loader": "^9.2.1",
|
|
37
|
+
"react": "18.3.1",
|
|
38
|
+
"react-dom": "18.3.1",
|
|
39
|
+
"rimraf": "^5.0.7",
|
|
40
|
+
"terser-webpack-plugin": "^5.3.11",
|
|
41
|
+
"ts-loader": "^9.5.2",
|
|
42
|
+
"typescript": "^5.7.3",
|
|
43
|
+
"webpack": "^5.97.1",
|
|
44
|
+
"webpack-cli": "^6.0.1"
|
|
45
|
+
},
|
|
46
|
+
"browser": {
|
|
47
|
+
"fs": false
|
|
48
|
+
}
|
|
49
|
+
}
|