This commit is contained in:
yinsx
2025-12-16 16:58:14 +08:00
parent 8ba7e635f5
commit 5315a97613
3 changed files with 26 additions and 13 deletions

View File

View File

@ -1,17 +1,37 @@
{
"name": "demo",
"name": "@yinshuangxi/yinx-cli",
"version": "1.0.0",
"description": "",
"description": "游戏资源工具箱 - KTX2纹理压缩、模型压缩等",
"main": "index.js",
"type": "module",
"bin": {
"yinx": "./cli.js"
"yinx": "./index.js"
},
"files": [
"index.js",
"lib",
"bin"
],
"keywords": [
"ktx2",
"texture",
"compression",
"game",
"tools",
"cli"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": ""
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@clack/prompts": "^0.11.0",
"boxen": "^8.0.1",
"figlet": "^1.9.4",
"picocolors": "^1.1.1",
"prompts": "^2.4.2"
"picocolors": "^1.1.1"
}
}

View File

@ -1,7 +0,0 @@
import { showPoem, defaultPoem } from "./lib/poem.js";
// 使用默认古诗
showPoem(defaultPoem);
// 自定义古诗
// showPoem(["床前明月光", "疑是地上霜", "举头望明月", "低头思故乡"]);