最新
This commit is contained in:
32
package.json
32
package.json
@ -1,17 +1,37 @@
|
|||||||
{
|
{
|
||||||
"name": "demo",
|
"name": "@yinshuangxi/yinx-cli",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "游戏资源工具箱 - KTX2纹理压缩、模型压缩等",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"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": {
|
"dependencies": {
|
||||||
"@clack/prompts": "^0.11.0",
|
|
||||||
"boxen": "^8.0.1",
|
"boxen": "^8.0.1",
|
||||||
"figlet": "^1.9.4",
|
"figlet": "^1.9.4",
|
||||||
"picocolors": "^1.1.1",
|
"picocolors": "^1.1.1"
|
||||||
"prompts": "^2.4.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
import { showPoem, defaultPoem } from "./lib/poem.js";
|
|
||||||
|
|
||||||
// 使用默认古诗
|
|
||||||
showPoem(defaultPoem);
|
|
||||||
|
|
||||||
// 自定义古诗
|
|
||||||
// showPoem(["床前明月光", "疑是地上霜", "举头望明月", "低头思故乡"]);
|
|
||||||
Reference in New Issue
Block a user