locusing 0.1.2

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.
@@ -0,0 +1,23 @@
1
+ import {
2
+ ClockwiseTransform,
3
+ CounterclockwiseTransform,
4
+ Morphing,
5
+ MoveToTarget,
6
+ ReplacementTransform,
7
+ Transform,
8
+ TransformFromCopy,
9
+ TransformMatchingShapes,
10
+ TransformMatchingTex
11
+ } from "./chunk-HNU2F3GX.mjs";
12
+ import "./chunk-TQQRYA5H.mjs";
13
+ export {
14
+ ClockwiseTransform,
15
+ CounterclockwiseTransform,
16
+ Morphing,
17
+ MoveToTarget,
18
+ ReplacementTransform,
19
+ Transform,
20
+ TransformFromCopy,
21
+ TransformMatchingShapes,
22
+ TransformMatchingTex
23
+ };
@@ -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
+ };
package/package.json ADDED
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "locusing",
3
+ "version": "0.1.2",
4
+ "description": "A declarative graphics and animation library for mathematical visualization",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./export": {
15
+ "types": "./dist/export.d.ts",
16
+ "import": "./dist/export.mjs",
17
+ "require": "./dist/export.js"
18
+ }
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "README.md",
23
+ "LICENSE"
24
+ ],
25
+ "scripts": {
26
+ "build": "tsup src/index.ts src/export.ts --format esm,cjs --dts && tsup --config tsup.browser.config.ts",
27
+ "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
28
+ "test": "vitest",
29
+ "test:e2e": "playwright test",
30
+ "test:e2e:ui": "playwright test --ui",
31
+ "test:e2e:headed": "playwright test --headed",
32
+ "test:e2e:report": "playwright show-report",
33
+ "playground": "pnpm --filter @locusing/playground dev",
34
+ "editor": "pnpm build && cd editor && pnpm dev",
35
+ "editor:build": "pnpm build && cd editor && pnpm build",
36
+ "docs:gen": "node scripts/generate-reference.mjs",
37
+ "docs:screenshots": "node scripts/generate-screenshots-fast.mjs",
38
+ "docs:screenshots:old": "node reference-screenshots/reference-screenshots.mjs",
39
+ "docs:autodoc": "node scripts/autodoc-jsdoc.mjs",
40
+ "docs:autodoc:check": "node scripts/autodoc-jsdoc.mjs --check",
41
+ "contrast:sync": "npx tsx contrast/scripts/sync.ts",
42
+ "contrast:discover": "npx tsx contrast/scripts/discover-api.ts",
43
+ "contrast:manim": "npx tsx contrast/scripts/generate-manim.ts",
44
+ "contrast:pages": "npx tsx contrast/scripts/generate-pages.ts",
45
+ "contrast:render:manim": "npx tsx contrast/scripts/render-manim.ts",
46
+ "contrast:render:locusing": "npx tsx contrast/scripts/render-locusing.ts",
47
+ "contrast:review": "npx tsx contrast/scripts/review.ts",
48
+ "docs:dev": "pnpm docs:gen --watch & cd docs && pnpm dev",
49
+ "docs:build": "pnpm docs:gen && cd docs && pnpm build",
50
+ "docs:start": "cd docs && pnpm start",
51
+ "prepublishOnly": "pnpm build"
52
+ },
53
+ "dependencies": {
54
+ "d3-array": "^3.2.4",
55
+ "d3-scale": "^4.0.2",
56
+ "d3-shape": "^3.2.0",
57
+ "dagre": "^0.8.5",
58
+ "gsap": "^3.12.0",
59
+ "katex": "^0.16.27",
60
+ "matter-js": "^0.20.0",
61
+ "roughjs": "^4.6.6",
62
+ "three": "^0.182.0"
63
+ },
64
+ "devDependencies": {
65
+ "@playwright/test": "^1.57.0",
66
+ "@types/d3-array": "^3.2.2",
67
+ "@types/d3-scale": "^4.0.9",
68
+ "@types/d3-shape": "^3.1.7",
69
+ "@types/dagre": "^0.7.53",
70
+ "@types/matter-js": "^0.20.2",
71
+ "@types/node": "^20.0.0",
72
+ "@types/pngjs": "^6.0.5",
73
+ "@types/three": "^0.182.0",
74
+ "pixelmatch": "^7.1.0",
75
+ "playwright": "^1.57.0",
76
+ "pngjs": "^7.0.0",
77
+ "tsup": "^8.0.0",
78
+ "typescript": "^5.0.2",
79
+ "vitest": "^1.0.0"
80
+ },
81
+ "peerDependencies": {
82
+ "playwright": ">=1.40.0"
83
+ },
84
+ "peerDependenciesMeta": {
85
+ "playwright": {
86
+ "optional": true
87
+ }
88
+ },
89
+ "publishConfig": {
90
+ "access": "public"
91
+ },
92
+ "keywords": [
93
+ "graphics",
94
+ "animation",
95
+ "svg",
96
+ "manim",
97
+ "visualization",
98
+ "mathematics",
99
+ "diagram",
100
+ "canvas",
101
+ "declarative"
102
+ ],
103
+ "author": "Yao Shen",
104
+ "license": "MIT",
105
+ "repository": {
106
+ "type": "git",
107
+ "url": "git+https://github.com/yaoshenwang/locusing.git"
108
+ },
109
+ "bugs": {
110
+ "url": "https://github.com/yaoshenwang/locusing/issues"
111
+ },
112
+ "homepage": "https://github.com/yaoshenwang/locusing#readme",
113
+ "engines": {
114
+ "node": ">=18"
115
+ },
116
+ "packageManager": "pnpm@9.15.9"
117
+ }