three-low-poly 0.9.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/README.md +3 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.es.js +20 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.iife.js +2 -0
- package/dist/index.iife.js.map +1 -0
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +46 -0
package/README.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("three");class w extends e.Group{constructor(t=.5,n=.5,o=2,r=8){super();const l=new e.CylinderGeometry(t*.6,n*.6,o,r),s=new e.MeshStandardMaterial({color:16777215}),h=new e.Mesh(l,s);h.position.y=0,this.add(h);const c=new e.SphereGeometry(t,r,r),p=new e.Mesh(c,s),y=new e.Mesh(c,s),i=new e.Mesh(c,s),M=new e.Mesh(c,s);p.position.set(0,o/2+t*.6,-t*.6),y.position.set(0,o/2+t*.6,t*.6),i.position.set(0,-o/2-n*.6,-n*.6),M.position.set(0,-o/2-n*.6,n*.6),this.add(p),this.add(y),this.add(i),this.add(M)}}exports.Bone=w;
|
|
2
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../src/geometry/Bone.ts"],"sourcesContent":["import { CylinderGeometry, Group, Mesh, MeshStandardMaterial, SphereGeometry } from \"three\";\n\nexport class Bone extends Group {\n constructor(radiusTop = 0.5, radiusBottom = 0.5, height = 2, radialSegments = 8) {\n super();\n\n // Create the cylinder (shaft of the bone)\n const cylinderGeometry = new CylinderGeometry(\n radiusTop * 0.6, // slightly narrower for the shaft\n radiusBottom * 0.6,\n height,\n radialSegments,\n );\n const material = new MeshStandardMaterial({ color: 0xffffff });\n const cylinderMesh = new Mesh(cylinderGeometry, material);\n cylinderMesh.position.y = 0;\n this.add(cylinderMesh);\n\n // Create the spheres (ends of the bone)\n const sphereGeometry = new SphereGeometry(radiusTop, radialSegments, radialSegments);\n const topSphere1 = new Mesh(sphereGeometry, material);\n const topSphere2 = new Mesh(sphereGeometry, material);\n const bottomSphere1 = new Mesh(sphereGeometry, material);\n const bottomSphere2 = new Mesh(sphereGeometry, material);\n\n // Position the spheres at each end of the cylinder\n topSphere1.position.set(0, height / 2 + radiusTop * 0.6, -radiusTop * 0.6);\n topSphere2.position.set(0, height / 2 + radiusTop * 0.6, radiusTop * 0.6);\n bottomSphere1.position.set(0, -height / 2 - radiusBottom * 0.6, -radiusBottom * 0.6);\n bottomSphere2.position.set(0, -height / 2 - radiusBottom * 0.6, radiusBottom * 0.6);\n\n // Add the spheres to the bone\n this.add(topSphere1);\n this.add(topSphere2);\n this.add(bottomSphere1);\n this.add(bottomSphere2);\n }\n}\n"],"names":["Bone","Group","radiusTop","radiusBottom","height","radialSegments","cylinderGeometry","CylinderGeometry","material","MeshStandardMaterial","cylinderMesh","Mesh","sphereGeometry","SphereGeometry","topSphere1","topSphere2","bottomSphere1","bottomSphere2"],"mappings":"yGAEO,MAAMA,UAAaC,EAAAA,KAAM,CAC9B,YAAYC,EAAY,GAAKC,EAAe,GAAKC,EAAS,EAAGC,EAAiB,EAAG,CACzE,QAGN,MAAMC,EAAmB,IAAIC,EAAA,iBAC3BL,EAAY,GACZC,EAAe,GACfC,EACAC,CAAA,EAEIG,EAAW,IAAIC,EAAA,qBAAqB,CAAE,MAAO,QAAU,CAAA,EACvDC,EAAe,IAAIC,EAAAA,KAAKL,EAAkBE,CAAQ,EACxDE,EAAa,SAAS,EAAI,EAC1B,KAAK,IAAIA,CAAY,EAGrB,MAAME,EAAiB,IAAIC,EAAe,eAAAX,EAAWG,EAAgBA,CAAc,EAC7ES,EAAa,IAAIH,EAAAA,KAAKC,EAAgBJ,CAAQ,EAC9CO,EAAa,IAAIJ,EAAAA,KAAKC,EAAgBJ,CAAQ,EAC9CQ,EAAgB,IAAIL,EAAAA,KAAKC,EAAgBJ,CAAQ,EACjDS,EAAgB,IAAIN,EAAAA,KAAKC,EAAgBJ,CAAQ,EAG5CM,EAAA,SAAS,IAAI,EAAGV,EAAS,EAAIF,EAAY,GAAK,CAACA,EAAY,EAAG,EAC9Da,EAAA,SAAS,IAAI,EAAGX,EAAS,EAAIF,EAAY,GAAKA,EAAY,EAAG,EAC1Dc,EAAA,SAAS,IAAI,EAAG,CAACZ,EAAS,EAAID,EAAe,GAAK,CAACA,EAAe,EAAG,EACrEc,EAAA,SAAS,IAAI,EAAG,CAACb,EAAS,EAAID,EAAe,GAAKA,EAAe,EAAG,EAGlF,KAAK,IAAIW,CAAU,EACnB,KAAK,IAAIC,CAAU,EACnB,KAAK,IAAIC,CAAa,EACtB,KAAK,IAAIC,CAAa,CACxB,CACF"}
|
package/dist/index.d.ts
ADDED
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Group as l, CylinderGeometry as G, MeshStandardMaterial as M, Mesh as s, SphereGeometry as S } from "three";
|
|
2
|
+
class x extends l {
|
|
3
|
+
constructor(e = 0.5, n = 0.5, t = 2, r = 8) {
|
|
4
|
+
super();
|
|
5
|
+
const d = new G(
|
|
6
|
+
e * 0.6,
|
|
7
|
+
// slightly narrower for the shaft
|
|
8
|
+
n * 0.6,
|
|
9
|
+
t,
|
|
10
|
+
r
|
|
11
|
+
), o = new M({ color: 16777215 }), p = new s(d, o);
|
|
12
|
+
p.position.y = 0, this.add(p);
|
|
13
|
+
const c = new S(e, r, r), w = new s(c, o), y = new s(c, o), h = new s(c, o), i = new s(c, o);
|
|
14
|
+
w.position.set(0, t / 2 + e * 0.6, -e * 0.6), y.position.set(0, t / 2 + e * 0.6, e * 0.6), h.position.set(0, -t / 2 - n * 0.6, -n * 0.6), i.position.set(0, -t / 2 - n * 0.6, n * 0.6), this.add(w), this.add(y), this.add(h), this.add(i);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
x as Bone
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../src/geometry/Bone.ts"],"sourcesContent":["import { CylinderGeometry, Group, Mesh, MeshStandardMaterial, SphereGeometry } from \"three\";\n\nexport class Bone extends Group {\n constructor(radiusTop = 0.5, radiusBottom = 0.5, height = 2, radialSegments = 8) {\n super();\n\n // Create the cylinder (shaft of the bone)\n const cylinderGeometry = new CylinderGeometry(\n radiusTop * 0.6, // slightly narrower for the shaft\n radiusBottom * 0.6,\n height,\n radialSegments,\n );\n const material = new MeshStandardMaterial({ color: 0xffffff });\n const cylinderMesh = new Mesh(cylinderGeometry, material);\n cylinderMesh.position.y = 0;\n this.add(cylinderMesh);\n\n // Create the spheres (ends of the bone)\n const sphereGeometry = new SphereGeometry(radiusTop, radialSegments, radialSegments);\n const topSphere1 = new Mesh(sphereGeometry, material);\n const topSphere2 = new Mesh(sphereGeometry, material);\n const bottomSphere1 = new Mesh(sphereGeometry, material);\n const bottomSphere2 = new Mesh(sphereGeometry, material);\n\n // Position the spheres at each end of the cylinder\n topSphere1.position.set(0, height / 2 + radiusTop * 0.6, -radiusTop * 0.6);\n topSphere2.position.set(0, height / 2 + radiusTop * 0.6, radiusTop * 0.6);\n bottomSphere1.position.set(0, -height / 2 - radiusBottom * 0.6, -radiusBottom * 0.6);\n bottomSphere2.position.set(0, -height / 2 - radiusBottom * 0.6, radiusBottom * 0.6);\n\n // Add the spheres to the bone\n this.add(topSphere1);\n this.add(topSphere2);\n this.add(bottomSphere1);\n this.add(bottomSphere2);\n }\n}\n"],"names":["Bone","Group","radiusTop","radiusBottom","height","radialSegments","cylinderGeometry","CylinderGeometry","material","MeshStandardMaterial","cylinderMesh","Mesh","sphereGeometry","SphereGeometry","topSphere1","topSphere2","bottomSphere1","bottomSphere2"],"mappings":";AAEO,MAAMA,UAAaC,EAAM;AAAA,EAC9B,YAAYC,IAAY,KAAKC,IAAe,KAAKC,IAAS,GAAGC,IAAiB,GAAG;AACzE;AAGN,UAAMC,IAAmB,IAAIC;AAAA,MAC3BL,IAAY;AAAA;AAAA,MACZC,IAAe;AAAA,MACfC;AAAA,MACAC;AAAA,IAAA,GAEIG,IAAW,IAAIC,EAAqB,EAAE,OAAO,SAAU,CAAA,GACvDC,IAAe,IAAIC,EAAKL,GAAkBE,CAAQ;AACxD,IAAAE,EAAa,SAAS,IAAI,GAC1B,KAAK,IAAIA,CAAY;AAGrB,UAAME,IAAiB,IAAIC,EAAeX,GAAWG,GAAgBA,CAAc,GAC7ES,IAAa,IAAIH,EAAKC,GAAgBJ,CAAQ,GAC9CO,IAAa,IAAIJ,EAAKC,GAAgBJ,CAAQ,GAC9CQ,IAAgB,IAAIL,EAAKC,GAAgBJ,CAAQ,GACjDS,IAAgB,IAAIN,EAAKC,GAAgBJ,CAAQ;AAG5C,IAAAM,EAAA,SAAS,IAAI,GAAGV,IAAS,IAAIF,IAAY,KAAK,CAACA,IAAY,GAAG,GAC9Da,EAAA,SAAS,IAAI,GAAGX,IAAS,IAAIF,IAAY,KAAKA,IAAY,GAAG,GAC1Dc,EAAA,SAAS,IAAI,GAAG,CAACZ,IAAS,IAAID,IAAe,KAAK,CAACA,IAAe,GAAG,GACrEc,EAAA,SAAS,IAAI,GAAG,CAACb,IAAS,IAAID,IAAe,KAAKA,IAAe,GAAG,GAGlF,KAAK,IAAIW,CAAU,GACnB,KAAK,IAAIC,CAAU,GACnB,KAAK,IAAIC,CAAa,GACtB,KAAK,IAAIC,CAAa;AAAA,EACxB;AACF;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var ThreeLowPoly=function(y,e){"use strict";class d extends e.Group{constructor(n=.5,o=.5,s=2,i=8){super();const S=new e.CylinderGeometry(n*.6,o*.6,s,i),t=new e.MeshStandardMaterial({color:16777215}),l=new e.Mesh(S,t);l.position.y=0,this.add(l);const c=new e.SphereGeometry(n,i,i),p=new e.Mesh(c,t),w=new e.Mesh(c,t),M=new e.Mesh(c,t),r=new e.Mesh(c,t);p.position.set(0,s/2+n*.6,-n*.6),w.position.set(0,s/2+n*.6,n*.6),M.position.set(0,-s/2-o*.6,-o*.6),r.position.set(0,-s/2-o*.6,o*.6),this.add(p),this.add(w),this.add(M),this.add(r)}}return y.Bone=d,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),y}({},THREE);
|
|
2
|
+
//# sourceMappingURL=index.iife.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.iife.js","sources":["../src/geometry/Bone.ts"],"sourcesContent":["import { CylinderGeometry, Group, Mesh, MeshStandardMaterial, SphereGeometry } from \"three\";\n\nexport class Bone extends Group {\n constructor(radiusTop = 0.5, radiusBottom = 0.5, height = 2, radialSegments = 8) {\n super();\n\n // Create the cylinder (shaft of the bone)\n const cylinderGeometry = new CylinderGeometry(\n radiusTop * 0.6, // slightly narrower for the shaft\n radiusBottom * 0.6,\n height,\n radialSegments,\n );\n const material = new MeshStandardMaterial({ color: 0xffffff });\n const cylinderMesh = new Mesh(cylinderGeometry, material);\n cylinderMesh.position.y = 0;\n this.add(cylinderMesh);\n\n // Create the spheres (ends of the bone)\n const sphereGeometry = new SphereGeometry(radiusTop, radialSegments, radialSegments);\n const topSphere1 = new Mesh(sphereGeometry, material);\n const topSphere2 = new Mesh(sphereGeometry, material);\n const bottomSphere1 = new Mesh(sphereGeometry, material);\n const bottomSphere2 = new Mesh(sphereGeometry, material);\n\n // Position the spheres at each end of the cylinder\n topSphere1.position.set(0, height / 2 + radiusTop * 0.6, -radiusTop * 0.6);\n topSphere2.position.set(0, height / 2 + radiusTop * 0.6, radiusTop * 0.6);\n bottomSphere1.position.set(0, -height / 2 - radiusBottom * 0.6, -radiusBottom * 0.6);\n bottomSphere2.position.set(0, -height / 2 - radiusBottom * 0.6, radiusBottom * 0.6);\n\n // Add the spheres to the bone\n this.add(topSphere1);\n this.add(topSphere2);\n this.add(bottomSphere1);\n this.add(bottomSphere2);\n }\n}\n"],"names":["Bone","Group","radiusTop","radiusBottom","height","radialSegments","cylinderGeometry","CylinderGeometry","material","MeshStandardMaterial","cylinderMesh","Mesh","sphereGeometry","SphereGeometry","topSphere1","topSphere2","bottomSphere1","bottomSphere2"],"mappings":"4CAEO,MAAMA,UAAaC,EAAAA,KAAM,CAC9B,YAAYC,EAAY,GAAKC,EAAe,GAAKC,EAAS,EAAGC,EAAiB,EAAG,CACzE,QAGN,MAAMC,EAAmB,IAAIC,EAAA,iBAC3BL,EAAY,GACZC,EAAe,GACfC,EACAC,CAAA,EAEIG,EAAW,IAAIC,EAAA,qBAAqB,CAAE,MAAO,QAAU,CAAA,EACvDC,EAAe,IAAIC,EAAAA,KAAKL,EAAkBE,CAAQ,EACxDE,EAAa,SAAS,EAAI,EAC1B,KAAK,IAAIA,CAAY,EAGrB,MAAME,EAAiB,IAAIC,EAAe,eAAAX,EAAWG,EAAgBA,CAAc,EAC7ES,EAAa,IAAIH,EAAAA,KAAKC,EAAgBJ,CAAQ,EAC9CO,EAAa,IAAIJ,EAAAA,KAAKC,EAAgBJ,CAAQ,EAC9CQ,EAAgB,IAAIL,EAAAA,KAAKC,EAAgBJ,CAAQ,EACjDS,EAAgB,IAAIN,EAAAA,KAAKC,EAAgBJ,CAAQ,EAG5CM,EAAA,SAAS,IAAI,EAAGV,EAAS,EAAIF,EAAY,GAAK,CAACA,EAAY,EAAG,EAC9Da,EAAA,SAAS,IAAI,EAAGX,EAAS,EAAIF,EAAY,GAAKA,EAAY,EAAG,EAC1Dc,EAAA,SAAS,IAAI,EAAG,CAACZ,EAAS,EAAID,EAAe,GAAK,CAACA,EAAe,EAAG,EACrEc,EAAA,SAAS,IAAI,EAAG,CAACb,EAAS,EAAID,EAAe,GAAKA,EAAe,EAAG,EAGlF,KAAK,IAAIW,CAAU,EACnB,KAAK,IAAIC,CAAU,EACnB,KAAK,IAAIC,CAAa,EACtB,KAAK,IAAIC,CAAa,CACxB,CACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("three")):typeof define=="function"&&define.amd?define(["exports","three"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.ThreeLowPoly={},n.THREE))})(this,function(n,e){"use strict";class w extends e.Group{constructor(o=.5,t=.5,s=2,p=8){super();const M=new e.CylinderGeometry(o*.6,t*.6,s,p),i=new e.MeshStandardMaterial({color:16777215}),d=new e.Mesh(M,i);d.position.y=0,this.add(d);const c=new e.SphereGeometry(o,p,p),y=new e.Mesh(c,i),f=new e.Mesh(c,i),r=new e.Mesh(c,i),l=new e.Mesh(c,i);y.position.set(0,s/2+o*.6,-o*.6),f.position.set(0,s/2+o*.6,o*.6),r.position.set(0,-s/2-t*.6,-t*.6),l.position.set(0,-s/2-t*.6,t*.6),this.add(y),this.add(f),this.add(r),this.add(l)}}n.Bone=w,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
2
|
+
//# sourceMappingURL=index.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/geometry/Bone.ts"],"sourcesContent":["import { CylinderGeometry, Group, Mesh, MeshStandardMaterial, SphereGeometry } from \"three\";\n\nexport class Bone extends Group {\n constructor(radiusTop = 0.5, radiusBottom = 0.5, height = 2, radialSegments = 8) {\n super();\n\n // Create the cylinder (shaft of the bone)\n const cylinderGeometry = new CylinderGeometry(\n radiusTop * 0.6, // slightly narrower for the shaft\n radiusBottom * 0.6,\n height,\n radialSegments,\n );\n const material = new MeshStandardMaterial({ color: 0xffffff });\n const cylinderMesh = new Mesh(cylinderGeometry, material);\n cylinderMesh.position.y = 0;\n this.add(cylinderMesh);\n\n // Create the spheres (ends of the bone)\n const sphereGeometry = new SphereGeometry(radiusTop, radialSegments, radialSegments);\n const topSphere1 = new Mesh(sphereGeometry, material);\n const topSphere2 = new Mesh(sphereGeometry, material);\n const bottomSphere1 = new Mesh(sphereGeometry, material);\n const bottomSphere2 = new Mesh(sphereGeometry, material);\n\n // Position the spheres at each end of the cylinder\n topSphere1.position.set(0, height / 2 + radiusTop * 0.6, -radiusTop * 0.6);\n topSphere2.position.set(0, height / 2 + radiusTop * 0.6, radiusTop * 0.6);\n bottomSphere1.position.set(0, -height / 2 - radiusBottom * 0.6, -radiusBottom * 0.6);\n bottomSphere2.position.set(0, -height / 2 - radiusBottom * 0.6, radiusBottom * 0.6);\n\n // Add the spheres to the bone\n this.add(topSphere1);\n this.add(topSphere2);\n this.add(bottomSphere1);\n this.add(bottomSphere2);\n }\n}\n"],"names":["Bone","Group","radiusTop","radiusBottom","height","radialSegments","cylinderGeometry","CylinderGeometry","material","MeshStandardMaterial","cylinderMesh","Mesh","sphereGeometry","SphereGeometry","topSphere1","topSphere2","bottomSphere1","bottomSphere2"],"mappings":"uQAEO,MAAMA,UAAaC,EAAAA,KAAM,CAC9B,YAAYC,EAAY,GAAKC,EAAe,GAAKC,EAAS,EAAGC,EAAiB,EAAG,CACzE,QAGN,MAAMC,EAAmB,IAAIC,EAAA,iBAC3BL,EAAY,GACZC,EAAe,GACfC,EACAC,CAAA,EAEIG,EAAW,IAAIC,EAAA,qBAAqB,CAAE,MAAO,QAAU,CAAA,EACvDC,EAAe,IAAIC,EAAAA,KAAKL,EAAkBE,CAAQ,EACxDE,EAAa,SAAS,EAAI,EAC1B,KAAK,IAAIA,CAAY,EAGrB,MAAME,EAAiB,IAAIC,EAAe,eAAAX,EAAWG,EAAgBA,CAAc,EAC7ES,EAAa,IAAIH,EAAAA,KAAKC,EAAgBJ,CAAQ,EAC9CO,EAAa,IAAIJ,EAAAA,KAAKC,EAAgBJ,CAAQ,EAC9CQ,EAAgB,IAAIL,EAAAA,KAAKC,EAAgBJ,CAAQ,EACjDS,EAAgB,IAAIN,EAAAA,KAAKC,EAAgBJ,CAAQ,EAG5CM,EAAA,SAAS,IAAI,EAAGV,EAAS,EAAIF,EAAY,GAAK,CAACA,EAAY,EAAG,EAC9Da,EAAA,SAAS,IAAI,EAAGX,EAAS,EAAIF,EAAY,GAAKA,EAAY,EAAG,EAC1Dc,EAAA,SAAS,IAAI,EAAG,CAACZ,EAAS,EAAID,EAAe,GAAK,CAACA,EAAe,EAAG,EACrEc,EAAA,SAAS,IAAI,EAAG,CAACb,EAAS,EAAID,EAAe,GAAKA,EAAe,EAAG,EAGlF,KAAK,IAAIW,CAAU,EACnB,KAAK,IAAIC,CAAU,EACnB,KAAK,IAAIC,CAAa,EACtB,KAAK,IAAIC,CAAa,CACxB,CACF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "three-low-poly",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"description": "Low poly assets for Three.js",
|
|
5
|
+
"author": "Jason Sturges <jason@jsonsturges.com> (https://jasonsturges.com)",
|
|
6
|
+
"homepage": "https://github.com/jasonsturges/three-low-poly",
|
|
7
|
+
"repository": "github:jasonsturges/three-low-poly",
|
|
8
|
+
"license": "ISC",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/",
|
|
12
|
+
"scope": "jasonsturges"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"three",
|
|
16
|
+
"low-poly",
|
|
17
|
+
"assets",
|
|
18
|
+
"3d"
|
|
19
|
+
],
|
|
20
|
+
"main": "dist/index.cjs.js",
|
|
21
|
+
"module": "dist/index.es.js",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"dev": "tsc && vite build --watch",
|
|
29
|
+
"start": "vite --host --open",
|
|
30
|
+
"build": "tsc && vite build",
|
|
31
|
+
"build:types": "dts-bundle-generator --config ./dts-bundle-generator.config.ts"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^22.8.1",
|
|
35
|
+
"@types/three": "^0.169.0",
|
|
36
|
+
"dts-bundle-generator": "^9.5.1",
|
|
37
|
+
"prettier": "^3.3.3",
|
|
38
|
+
"tslib": "^2.8.0",
|
|
39
|
+
"typescript": "^5.6.3",
|
|
40
|
+
"vite": "^5.4.10",
|
|
41
|
+
"vite-plugin-dts": "^4.3.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"three": "^0.169.0"
|
|
45
|
+
}
|
|
46
|
+
}
|