diff --git a/cli.js b/index.js similarity index 100% rename from cli.js rename to index.js diff --git a/package.json b/package.json index 83c3931..d56357c 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/test-poem.js b/test-poem.js deleted file mode 100644 index 585638d..0000000 --- a/test-poem.js +++ /dev/null @@ -1,7 +0,0 @@ -import { showPoem, defaultPoem } from "./lib/poem.js"; - -// 使用默认古诗 -showPoem(defaultPoem); - -// 自定义古诗 -// showPoem(["床前明月光", "疑是地上霜", "举头望明月", "低头思故乡"]);