@doki-land/live2d 0.0.9 → 0.0.11
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/README.md +3 -0
- package/dist/index.d.ts +231 -0
- package/dist/index.js +1068 -0
- package/dist/reexports/core.d.ts +3 -0
- package/dist/reexports/core.js +2 -0
- package/dist/reexports/loader.d.ts +1 -0
- package/dist/reexports/loader.js +2 -0
- package/dist/reexports/renderer.d.ts +1 -0
- package/dist/reexports/renderer.js +2 -0
- package/package.json +61 -51
- package/src/create-live2d.ts +591 -0
- package/src/focus.ts +53 -0
- package/src/index.ts +65 -197
- package/src/load-textures.ts +85 -0
- package/src/motion/evaluate-curve.ts +119 -0
- package/src/motion/index.ts +20 -0
- package/src/motion/motion-player.ts +389 -0
- package/src/motion/parse-motion3.ts +164 -0
- package/src/motion/types.ts +89 -0
- package/src/reexports/core.ts +1 -0
- package/src/reexports/loader.ts +1 -0
- package/src/reexports/renderer.ts +1 -0
- package/dist/l2d.umd.js +0 -1208
- package/dist/l2d.umd.js.map +0 -1
- package/dist/live2d.css +0 -1
- package/lib/cubism2.d.ts +0 -179
- package/lib/cubism2.min.js +0 -2
- package/lib/cubism5.d.ts +0 -367
- package/lib/cubism5.min.js +0 -10
- package/lib/index.d.ts +0 -7
- package/readme.md +0 -60
- package/src/fs/index.ts +0 -93
- package/src/helper/index.ts +0 -25
- package/src/icons/icons.ts +0 -39
- package/src/icons/style.css +0 -38
- package/src/icons/switch-character.svg +0 -1
- package/src/icons/switch-costume.svg +0 -1
- package/src/types/Live2dOptions.ts +0 -56
- package/src/types/ModelOptions.ts +0 -40
- package/src/types/Resolve.ts +0 -16
- package/src/types/index.ts +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@doki-land/live2d-loader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@doki-land/live2d-renderer';
|
package/package.json
CHANGED
|
@@ -1,55 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
2
|
+
"name": "@doki-land/live2d",
|
|
3
|
+
"version": "0.0.11",
|
|
4
|
+
"description": "Live2D TypeScript library — public facade for Doki Land",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Doki Land",
|
|
8
|
+
"homepage": "https://github.com/doki-land/live2d.ts",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/doki-land/live2d.ts.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"live2d",
|
|
15
|
+
"webgpu",
|
|
16
|
+
"webgl2",
|
|
17
|
+
"doki-land"
|
|
18
|
+
],
|
|
19
|
+
"main": "./src/index.ts",
|
|
20
|
+
"types": "./src/index.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": "./src/index.ts",
|
|
23
|
+
"./core": "./src/reexports/core.ts",
|
|
24
|
+
"./loader": "./src/reexports/loader.ts",
|
|
25
|
+
"./renderer": "./src/reexports/renderer.ts"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"src"
|
|
30
|
+
],
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"main": "./dist/index.js",
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
13
35
|
"exports": {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"files": [
|
|
33
|
-
"dist",
|
|
34
|
-
"lib",
|
|
35
|
-
"src"
|
|
36
|
-
],
|
|
37
|
-
"publishConfig": {
|
|
38
|
-
"registry": "https://registry.npmjs.org",
|
|
39
|
-
"access": "public"
|
|
40
|
-
},
|
|
41
|
-
"scripts": {
|
|
42
|
-
"dev": "vite",
|
|
43
|
-
"build": "vite build",
|
|
44
|
-
"preview": "vite preview",
|
|
45
|
-
"prepublishOnly": "pnpm build"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"@pixi/core": "^7.4.3",
|
|
49
|
-
"@pixi/display": "^7.4.3",
|
|
50
|
-
"@pixi/ticker": "^7.4.3",
|
|
51
|
-
"minimatch": "^10.0.1",
|
|
52
|
-
"pixi-live2d-display-lipsyncpatch": "0.5.0-ls-7",
|
|
53
|
-
"pixi.js": "^7.4.3"
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"import": "./dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./core": {
|
|
41
|
+
"types": "./dist/reexports/core.d.ts",
|
|
42
|
+
"import": "./dist/reexports/core.js"
|
|
43
|
+
},
|
|
44
|
+
"./loader": {
|
|
45
|
+
"types": "./dist/reexports/loader.d.ts",
|
|
46
|
+
"import": "./dist/reexports/loader.js"
|
|
47
|
+
},
|
|
48
|
+
"./renderer": {
|
|
49
|
+
"types": "./dist/reexports/renderer.d.ts",
|
|
50
|
+
"import": "./dist/reexports/renderer.js"
|
|
51
|
+
}
|
|
54
52
|
}
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "tsup src/index.ts src/reexports/core.ts src/reexports/loader.ts src/reexports/renderer.ts --format esm --dts",
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"test": "vitest run --passWithNoTests"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@doki-land/live2d-core": "0.0.11",
|
|
61
|
+
"@doki-land/live2d-loader": "0.0.11",
|
|
62
|
+
"@doki-land/live2d-renderer": "0.0.11"
|
|
63
|
+
},
|
|
64
|
+
"sideEffects": false
|
|
55
65
|
}
|