locusing 0.1.0 → 0.1.1
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/chunk-43J4IVK3.mjs +597 -0
- package/dist/chunk-Y4M467JV.mjs +607 -0
- package/dist/index.d.mts +4505 -54
- package/dist/index.d.ts +4505 -54
- package/dist/index.js +6972 -259
- package/dist/index.mjs +6564 -220
- package/dist/transform-7YKZIQ3I.mjs +22 -0
- package/dist/transform-KYXVRPBM.mjs +22 -0
- package/package.json +32 -9
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ClockwiseTransform,
|
|
3
|
+
CounterclockwiseTransform,
|
|
4
|
+
Morphing,
|
|
5
|
+
MoveToTarget,
|
|
6
|
+
ReplacementTransform,
|
|
7
|
+
Transform,
|
|
8
|
+
TransformFromCopy,
|
|
9
|
+
TransformMatchingShapes,
|
|
10
|
+
TransformMatchingTex
|
|
11
|
+
} from "./chunk-Y4M467JV.mjs";
|
|
12
|
+
export {
|
|
13
|
+
ClockwiseTransform,
|
|
14
|
+
CounterclockwiseTransform,
|
|
15
|
+
Morphing,
|
|
16
|
+
MoveToTarget,
|
|
17
|
+
ReplacementTransform,
|
|
18
|
+
Transform,
|
|
19
|
+
TransformFromCopy,
|
|
20
|
+
TransformMatchingShapes,
|
|
21
|
+
TransformMatchingTex
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ClockwiseTransform,
|
|
3
|
+
CounterclockwiseTransform,
|
|
4
|
+
Morphing,
|
|
5
|
+
MoveToTarget,
|
|
6
|
+
ReplacementTransform,
|
|
7
|
+
Transform,
|
|
8
|
+
TransformFromCopy,
|
|
9
|
+
TransformMatchingShapes,
|
|
10
|
+
TransformMatchingTex
|
|
11
|
+
} from "./chunk-43J4IVK3.mjs";
|
|
12
|
+
export {
|
|
13
|
+
ClockwiseTransform,
|
|
14
|
+
CounterclockwiseTransform,
|
|
15
|
+
Morphing,
|
|
16
|
+
MoveToTarget,
|
|
17
|
+
ReplacementTransform,
|
|
18
|
+
Transform,
|
|
19
|
+
TransformFromCopy,
|
|
20
|
+
TransformMatchingShapes,
|
|
21
|
+
TransformMatchingTex
|
|
22
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "locusing",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A declarative graphics and animation library for mathematical visualization",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -17,18 +17,23 @@
|
|
|
17
17
|
"README.md",
|
|
18
18
|
"LICENSE"
|
|
19
19
|
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
22
|
-
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
|
|
23
|
-
"test": "vitest",
|
|
24
|
-
"playground": "pnpm --filter @locusing/playground dev",
|
|
25
|
-
"prepublishOnly": "pnpm build"
|
|
26
|
-
},
|
|
27
20
|
"dependencies": {
|
|
21
|
+
"d3-array": "^3.2.4",
|
|
22
|
+
"d3-scale": "^4.0.2",
|
|
23
|
+
"d3-shape": "^3.2.0",
|
|
24
|
+
"dagre": "^0.8.5",
|
|
28
25
|
"gsap": "^3.12.0",
|
|
26
|
+
"katex": "^0.16.27",
|
|
27
|
+
"matter-js": "^0.20.0",
|
|
29
28
|
"roughjs": "^4.6.6"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
31
|
+
"@playwright/test": "^1.57.0",
|
|
32
|
+
"@types/d3-array": "^3.2.2",
|
|
33
|
+
"@types/d3-scale": "^4.0.9",
|
|
34
|
+
"@types/d3-shape": "^3.1.7",
|
|
35
|
+
"@types/dagre": "^0.7.53",
|
|
36
|
+
"@types/matter-js": "^0.20.2",
|
|
32
37
|
"@types/node": "^20.0.0",
|
|
33
38
|
"tsup": "^8.0.0",
|
|
34
39
|
"typescript": "^5.0.2",
|
|
@@ -60,5 +65,23 @@
|
|
|
60
65
|
"homepage": "https://github.com/yaoshenwang/locusing#readme",
|
|
61
66
|
"engines": {
|
|
62
67
|
"node": ">=18"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
71
|
+
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
|
|
72
|
+
"test": "vitest",
|
|
73
|
+
"test:e2e": "playwright test",
|
|
74
|
+
"test:e2e:ui": "playwright test --ui",
|
|
75
|
+
"test:e2e:headed": "playwright test --headed",
|
|
76
|
+
"test:e2e:report": "playwright show-report",
|
|
77
|
+
"playground": "pnpm --filter @locusing/playground dev",
|
|
78
|
+
"editor": "pnpm build && cd editor && pnpm dev",
|
|
79
|
+
"editor:build": "pnpm build && cd editor && pnpm build",
|
|
80
|
+
"docs:gen": "node scripts/generate-reference.mjs",
|
|
81
|
+
"docs:autodoc": "node scripts/autodoc-jsdoc.mjs",
|
|
82
|
+
"docs:autodoc:check": "node scripts/autodoc-jsdoc.mjs --check",
|
|
83
|
+
"docs:dev": "pnpm docs:gen --watch & cd docs && pnpm dev",
|
|
84
|
+
"docs:build": "pnpm docs:gen && cd docs && pnpm build",
|
|
85
|
+
"docs:start": "cd docs && pnpm start"
|
|
63
86
|
}
|
|
64
|
-
}
|
|
87
|
+
}
|