增加转格式

This commit is contained in:
yinsx
2025-12-20 11:51:35 +08:00
parent 5315a97613
commit d9abc57b0b
32 changed files with 4339 additions and 229 deletions

View File

@ -1,16 +1,19 @@
{
"name": "@yinshuangxi/yinx-cli",
"version": "1.0.0",
"version": "1.0.2",
"description": "游戏资源工具箱 - KTX2纹理压缩、模型压缩等",
"main": "index.js",
"main": "dist/index.js",
"type": "module",
"scripts": {
"clean": "rimraf dist",
"build": "node scripts/build.js",
"prepublishOnly": "npm run clean && npm run build"
},
"bin": {
"yinx": "./index.js"
"yinx": "./dist/index.js"
},
"files": [
"index.js",
"lib",
"bin"
"dist"
],
"keywords": [
"ktx2",
@ -30,8 +33,17 @@
"node": ">=16"
},
"dependencies": {
"@cocos/fbx2gltf": "^1.0.8",
"@gltf-transform/core": "^3.10.1",
"@gltf-transform/extensions": "^3.10.1",
"@gltf-transform/functions": "^3.10.1",
"boxen": "^8.0.1",
"figlet": "^1.9.4",
"obj2gltf": "^3.2.0",
"picocolors": "^1.1.1"
},
"devDependencies": {
"javascript-obfuscator": "^5.1.0",
"rimraf": "^6.1.2"
}
}