@melonjs/spine-plugin 1.4.0 → 2.0.0
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/CHANGELOG.md +59 -1
- package/LICENSE +1 -1
- package/README.md +94 -25
- package/build/AssetManager.d.ts +74 -0
- package/build/AssetManager.d.ts.map +1 -0
- package/build/SkeletonRenderer.d.ts +75 -0
- package/build/SkeletonRenderer.d.ts.map +1 -0
- package/build/Spine.d.ts +320 -0
- package/build/Spine.d.ts.map +1 -0
- package/build/SpineBatcher.d.ts +35 -0
- package/build/SpineBatcher.d.ts.map +1 -0
- package/build/SpinePlugin.d.ts +12 -0
- package/build/SpinePlugin.d.ts.map +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +16174 -0
- package/build/index.js.map +7 -0
- package/package.json +72 -77
- package/dist/@melonjs/spine-plugin.d.ts +0 -4305
- package/dist/@melonjs/spine-plugin.js +0 -15701
- package/src/AssetManager.js +0 -68
- package/src/SkeletonRenderer.js +0 -220
- package/src/index.js +0 -411
package/package.json
CHANGED
|
@@ -1,79 +1,74 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"test": "npm run serve",
|
|
75
|
-
"prepublishOnly": "npm run build",
|
|
76
|
-
"clean": "del-cli --force dist/*",
|
|
77
|
-
"types": "tsc"
|
|
78
|
-
}
|
|
2
|
+
"name": "@melonjs/spine-plugin",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "melonJS Spine plugin",
|
|
5
|
+
"homepage": "https://www.npmjs.com/package/@melonjs/spine-plugin",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"2D",
|
|
9
|
+
"HTML5",
|
|
10
|
+
"javascript",
|
|
11
|
+
"TypeScript",
|
|
12
|
+
"ES6",
|
|
13
|
+
"Canvas",
|
|
14
|
+
"WebGL",
|
|
15
|
+
"WebGL2",
|
|
16
|
+
"melonjs",
|
|
17
|
+
"plugin",
|
|
18
|
+
"spine",
|
|
19
|
+
"spine-runtimes",
|
|
20
|
+
"spine-animation",
|
|
21
|
+
"esotericsoftware"
|
|
22
|
+
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/melonjs/melonJS.git",
|
|
26
|
+
"directory": "packages/spine-plugin"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/melonjs/melonJS/issues"
|
|
30
|
+
},
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"author": "AltByte Pte Ltd",
|
|
33
|
+
"funding": "https://github.com/sponsors/melonjs",
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
36
|
+
},
|
|
37
|
+
"exports": {
|
|
38
|
+
".": "./build/index.js"
|
|
39
|
+
},
|
|
40
|
+
"types": "./build/index.d.ts",
|
|
41
|
+
"sideEffects": false,
|
|
42
|
+
"files": [
|
|
43
|
+
"build/",
|
|
44
|
+
"package.json",
|
|
45
|
+
"README.md",
|
|
46
|
+
"LICENSE",
|
|
47
|
+
"CHANGELOG.md"
|
|
48
|
+
],
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"melonjs": ">=18.2.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@esotericsoftware/spine-canvas": "^4.2.108",
|
|
54
|
+
"@esotericsoftware/spine-core": "^4.2.108",
|
|
55
|
+
"@esotericsoftware/spine-webgl": "^4.2.108"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"concurrently": "^9.2.1",
|
|
59
|
+
"esbuild": "^0.27.3",
|
|
60
|
+
"melonjs": "workspace:*",
|
|
61
|
+
"tsconfig": "workspace:*",
|
|
62
|
+
"tsx": "^4.21.0",
|
|
63
|
+
"typescript": "^5.9.3"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"dev": "concurrently --raw \"pnpm build:watch\" \"pnpm tsc:watch\"",
|
|
67
|
+
"build": "tsx scripts/build.ts && pnpm types",
|
|
68
|
+
"build:watch": "tsx scripts/build.ts watch",
|
|
69
|
+
"prepublishOnly": "pnpm clean && pnpm build",
|
|
70
|
+
"clean": "tsx scripts/clean.ts",
|
|
71
|
+
"types": "tsc --project tsconfig.build.json",
|
|
72
|
+
"tsc:watch": "tsc --project tsconfig.build.json --watch --noUnusedParameters false --noUnusedLocals false --preserveWatchOutput"
|
|
73
|
+
}
|
|
79
74
|
}
|