sketchmark 2.1.5 → 2.1.7
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/bin/editor-ui.cjs +691 -419
- package/bin/editor-ui.d.ts +9 -6
- package/dist/src/authoring/compose.d.ts +4 -0
- package/dist/src/authoring/compose.js +49 -0
- package/dist/src/authoring/index.d.ts +7 -0
- package/dist/src/authoring/index.js +45 -0
- package/dist/src/authoring/layout.d.ts +43 -0
- package/dist/src/authoring/layout.js +89 -0
- package/dist/src/authoring/motion.d.ts +53 -0
- package/dist/src/authoring/motion.js +93 -0
- package/dist/src/authoring/pose.d.ts +20 -0
- package/dist/src/authoring/pose.js +73 -0
- package/dist/src/authoring/states.d.ts +17 -0
- package/dist/src/authoring/states.js +28 -0
- package/dist/src/authoring/types.d.ts +14 -0
- package/dist/src/authoring/types.js +2 -0
- package/dist/src/browser-editor.d.ts +15 -0
- package/dist/src/browser-editor.js +450 -0
- package/dist/src/edit.js +86 -21
- package/dist/src/keyframes.js +12 -5
- package/dist/tests/run.js +33 -0
- package/package.json +63 -59
package/package.json
CHANGED
|
@@ -1,59 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sketchmark",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": "Render kernel for Sketchmark visual documents.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "commonjs",
|
|
7
|
-
"main": "./dist/src/index.js",
|
|
8
|
-
"types": "./dist/src/index.d.ts",
|
|
9
|
-
"bin": {
|
|
10
|
-
"sketchmark": "./bin/sketchmark.cjs"
|
|
11
|
-
},
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/src/index.d.ts",
|
|
15
|
-
"require": "./dist/src/index.js",
|
|
16
|
-
"default": "./dist/src/index.js"
|
|
17
|
-
},
|
|
18
|
-
"./presets": {
|
|
19
|
-
"types": "./dist/src/presets/index.d.ts",
|
|
20
|
-
"require": "./dist/src/presets/index.js",
|
|
21
|
-
"default": "./dist/src/presets/index.js"
|
|
22
|
-
},
|
|
23
|
-
"./browser-export": {
|
|
24
|
-
"types": "./dist/src/browser-export.d.ts",
|
|
25
|
-
"require": "./dist/src/browser-export.js",
|
|
26
|
-
"default": "./dist/src/browser-export.js"
|
|
27
|
-
},
|
|
28
|
-
"./editor": {
|
|
29
|
-
"types": "./bin/editor-ui.d.ts",
|
|
30
|
-
"require": "./bin/editor-ui.cjs",
|
|
31
|
-
"default": "./bin/editor-ui.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./schema": {
|
|
34
|
-
"default": "./schema/visual.schema.json"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"build": "node scripts/build.cjs",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "sketchmark",
|
|
3
|
+
"version": "2.1.7",
|
|
4
|
+
"description": "Render kernel for Sketchmark visual documents.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"main": "./dist/src/index.js",
|
|
8
|
+
"types": "./dist/src/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"sketchmark": "./bin/sketchmark.cjs"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/src/index.d.ts",
|
|
15
|
+
"require": "./dist/src/index.js",
|
|
16
|
+
"default": "./dist/src/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./presets": {
|
|
19
|
+
"types": "./dist/src/presets/index.d.ts",
|
|
20
|
+
"require": "./dist/src/presets/index.js",
|
|
21
|
+
"default": "./dist/src/presets/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./browser-export": {
|
|
24
|
+
"types": "./dist/src/browser-export.d.ts",
|
|
25
|
+
"require": "./dist/src/browser-export.js",
|
|
26
|
+
"default": "./dist/src/browser-export.js"
|
|
27
|
+
},
|
|
28
|
+
"./editor": {
|
|
29
|
+
"types": "./bin/editor-ui.d.ts",
|
|
30
|
+
"require": "./bin/editor-ui.cjs",
|
|
31
|
+
"default": "./bin/editor-ui.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./schema": {
|
|
34
|
+
"default": "./schema/visual.schema.json"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "node scripts/build.cjs",
|
|
39
|
+
"build:exe": "node scripts/build-bun-executable.cjs",
|
|
40
|
+
"build:exe:win": "node scripts/build-bun-executable.cjs --target bun-windows-x64-baseline --outfile dist-bin/sketchmark.exe",
|
|
41
|
+
"build:exe:mac": "node scripts/build-bun-executable.cjs --target bun-darwin-arm64 --outfile dist-bin/sketchmark-macos-arm64",
|
|
42
|
+
"build:exe:linux": "node scripts/build-bun-executable.cjs --target bun-linux-x64-baseline --outfile dist-bin/sketchmark-linux-x64",
|
|
43
|
+
"render": "node bin/sketchmark.cjs render",
|
|
44
|
+
"test": "npm run build && node dist/tests/run.js",
|
|
45
|
+
"prepublishOnly": "npm test"
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"bin",
|
|
49
|
+
"dist",
|
|
50
|
+
"schema",
|
|
51
|
+
"README.md"
|
|
52
|
+
],
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"mp4-muxer": "^5.2.2"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"typescript": "^5.9.3"
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=18"
|
|
61
|
+
},
|
|
62
|
+
"sideEffects": false
|
|
63
|
+
}
|