Files
gltf-model-compressor/package.json
4hyhzi 18eaaff65f chore: 初始化glTF模型压缩工具包
添加了完整的项目配置、工具函数、纹理压缩与模型优化实现,以及文档说明
2026-05-18 16:51:56 +08:00

34 lines
741 B
JSON

{
"name": "@g1sir8b/gltf-model-compressor",
"version": "1.0.1",
"description": "Standalone npm package for GLTF/GLB optimization and texture compression.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"gl-matrix": "^3.4.3",
"gltf-pipeline": "^4.1.0",
"image-size": "^2.0.2",
"jimp": "^1.6.1",
"mime": "^3.0.0",
"seinjs-texture-compressor": "^1.0.3"
},
"devDependencies": {
"@types/mime": "^3.0.0",
"@types/node": "^20.0.0",
"typescript": "^5.2.2"
}
}