spine-rigc 0.2.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/LICENSE +21 -0
- package/NOTICE.md +76 -0
- package/README.md +558 -0
- package/cli.ts +739 -0
- package/docs/AUTHORING.md +1303 -0
- package/docs/SPEC_COVERAGE.md +1109 -0
- package/package.json +65 -0
- package/src/check.ts +1714 -0
- package/src/compile.ts +1861 -0
- package/src/diff.ts +847 -0
- package/src/errors.ts +22 -0
- package/src/framing.ts +539 -0
- package/src/ladder.ts +121 -0
- package/src/mesh.ts +433 -0
- package/src/png.ts +50 -0
- package/src/render.ts +974 -0
- package/src/rig.ts +731 -0
- package/src/slots.ts +603 -0
- package/src/timelines.ts +253 -0
- package/src/transform.ts +130 -0
- package/src/types.ts +586 -0
- package/src/validate.ts +1586 -0
- package/tools/font5x7.ts +101 -0
- package/tools/plate.ts +286 -0
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "spine-rigc",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Rig compiler for Spine — declarative rig specs in, Spine 4.3 skeleton data out, verified by a spine-core round-trip. Built so AI agents can author rigs and check their own work; the output imports into the Spine editor.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"rigc": "./cli.ts"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"bun": ">=1.2.0"
|
|
11
|
+
},
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": "firejune",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/firejune/rigc.git"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/firejune/rigc#readme",
|
|
19
|
+
"bugs": "https://github.com/firejune/rigc/issues",
|
|
20
|
+
"keywords": [
|
|
21
|
+
"spine",
|
|
22
|
+
"spine2d",
|
|
23
|
+
"skeletal-animation",
|
|
24
|
+
"rig",
|
|
25
|
+
"compiler",
|
|
26
|
+
"skeleton-json",
|
|
27
|
+
"atlas",
|
|
28
|
+
"validator",
|
|
29
|
+
"codegen",
|
|
30
|
+
"ai-agents",
|
|
31
|
+
"cli"
|
|
32
|
+
],
|
|
33
|
+
"files": [
|
|
34
|
+
"cli.ts",
|
|
35
|
+
"src",
|
|
36
|
+
"tools/plate.ts",
|
|
37
|
+
"tools/font5x7.ts",
|
|
38
|
+
"docs/AUTHORING.md",
|
|
39
|
+
"docs/SPEC_COVERAGE.md",
|
|
40
|
+
"NOTICE.md"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "bun cli.ts build",
|
|
47
|
+
"validate": "bun cli.ts validate",
|
|
48
|
+
"explain": "bun cli.ts explain",
|
|
49
|
+
"selftest": "bun selftest.ts",
|
|
50
|
+
"typecheck": "bunx tsc --noEmit",
|
|
51
|
+
"lint": "bunx eslint .",
|
|
52
|
+
"fetch-examples": "bash scripts/fetch-examples.sh",
|
|
53
|
+
"bench:usage": "bun bench/count_features.ts",
|
|
54
|
+
"prepublishOnly": "bun run typecheck && bun run lint && bun run selftest"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@esotericsoftware/spine-core": "4.3.13"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@types/bun": "^1.4.0",
|
|
61
|
+
"eslint": "^10.9.0",
|
|
62
|
+
"typescript": "^5.9.3",
|
|
63
|
+
"typescript-eslint": "^8.67.0"
|
|
64
|
+
}
|
|
65
|
+
}
|