unity-find-fault
Version:
A tool to find fault in unity project.
214 lines (213 loc) • 15.7 kB
JSON
{
"name": "unity-find-fault",
"version": "1.0.28",
"description": "A tool to find fault in unity project.",
"type": "module",
"main": "dist/index.js",
"scripts": {
"dp:all": "node dist/index.js -n dp -a all",
"dp:dedupImage": "node dist/index.js -n dp -a dedupImage -o tmp/dp.md",
"dp:dedupImage_delete": "node dist/index.js -n dp -a dedupImage --delete-instruction tmp/dp.md",
"dp:checkI18N": "node dist/index.js -a checkI18N",
"dp_cn:replaceImage": "node dist/index.js -n dp_cn -a replaceImage",
"dp_minigame:all": "node dist/index.js -n dp_minigame -a all",
"dp_minigame:sortAtlas": "node dist/index.js -n dp_minigame -a sortAtlas",
"dp_minigame:sortAtlas2": "node dist/index.js -n dp_minigame -a sortAtlas -o Assets/Editor/ImageAdmin/local",
"dp_minigame:sortTmpMat": "node dist/index.js -n dp_minigame -a sortTmpMat",
"dp_minigame:cleanAtlas": "node dist/index.js -n dp_minigame -a cleanAtlas",
"dp_minigame:findUsage": "node dist/index.js -n dp_minigame -a findUsage -i \"Assets/AssetSources/model/yuanxiaohuodong/yuanxiaohuodong.prefab\"",
"dp_minigame:replaceImage": "node dist/index.js -n dp_minigame -a replaceImage -i 2024-05-28",
"dp_minigame:delete": "node dist/index.js -n dp_minigame -a delete -i tmp/dp_minigame.stripeUI.txt",
"dp_minigame:stripeUI": "node dist/index.js -n dp_minigame -a stripeUI -o tmp/dp_minigame.stripeUI.txt",
"dp_minigame:stripeUICode": "node dist/index.js -n dp_minigame -a stripeUICode",
"dp_minigame:stripeIcon": "node dist/index.js -n dp_minigame -a stripeIcon",
"dp_minigame:stripeMat": "node dist/index.js -n dp_minigame -a stripeMat",
"dp_minigame:stripeFbx": "node dist/index.js -n dp_minigame -a stripeFbx",
"dp_minigame:stripeAsset": "node dist/index.js -n dp_minigame -a stripeAsset",
"dp_minigame:stripeImage": "node dist/index.js -n dp_minigame -a stripeImage",
"dp_minigame:stripeAnim": "node dist/index.js -n dp_minigame -a stripeAnim",
"dp_minigame:stripeFont": "node dist/index.js -n dp_minigame -a stripeFont",
"dp_minigame:stripeJson": "node dist/index.js -n dp_minigame -a stripeJson --designer-root D:/works/dp_minigame/tools",
"dp_minigame:checkJsonLiveness": "node dist/index.js -n dp_minigame -a checkJsonLiveness",
"dp_minigame:stripeCode": "node dist/index.js -n dp_minigame -a stripeCode",
"dp_minigame:patchCode": "node dist/index.js -n dp_minigame -a patchCode -o tmp/dp_minigame.patchCode.txt",
"dp_minigame:organizeImports": "node dist/index.js -n dp_minigame -a organizeImports",
"dp_minigame:codeHint": "node dist/index.js -n dp_minigame -a codeHint",
"dp_minigame:stripeProtocol": "node dist/index.js -n dp_minigame -a stripeProtocol",
"dp_minigame:dedupImage": "node dist/index.js -n dp_minigame -a dedupImage -i \"Assets/AssetSources/effectSource/Texture\" -o tmp/dp_minigame.md",
"dp_minigame:dedupImage_delete": "node dist/index.js -n dp_minigame -a dedupImage --delete-instruction tmp/dp_minigame.md",
"dp_minigame:rmtranslator": "node dist/index.js -n dp_minigame -a rmtranslator",
"dp_minigame:findDisabled": "node dist/index.js -n dp_minigame -a findDisabled -o tmp/dp_minigame_$.txt",
"dp_minigame:npot": "node dist/index.js -n dp_minigame -a npot -i \"Assets/AssetSources/ui/texture/UI_turntable_frame.png\"",
"dp_minigame:readable": "node dist/index.js -n dp_minigame -a readable",
"dp_minigame:treeShake": "node dist/index.js -n dp_minigame -a treeShake",
"dp_minigame:missing": "node dist/index.js -n dp_minigame -a missing",
"dp_minigame:cutImage": "node dist/index.js -n dp_minigame -a cutImage -i \"Assets/AssetSources/images/atlas/yiBaoTipIconBg/104.png\"",
"dp_minigame:cutImage2": "node dist/index.js -n dp_minigame -a cutImage -i \"Assets/AssetSources/ui/atlas/common_button/Btn_ty_yeqian2bg_tgkw_xlk.png,top=12,bottom=28\"",
"dp_minigame:cutImage3": "node dist/index.js -n dp_minigame -a cutImage -i \"Assets/AssetSources/ui/atlas/specialize/yiHuo/bar_hig_2.png\"",
"dp_minigame:svnmv": "node dist/index.js -n dp_minigame -a svnmv -i \"Assets/AssetSources/images/sprite/guildWantedBg\" -t \"Assets/AssetSources/images/atlas/guildWantedBg\" -o tmp/dp_minigame.svnmv.txt",
"dp_minigame:replace": "node dist/index.js -n dp_minigame -a replace -i \"Assets/AssetSources/ui/atlas/common_button/Image_ty_guanbi1.png\" -t \"Assets/AssetSources/ui/atlas/common_button/Image_ty_guanbi3.png\"",
"dp_minigame:disableMipMap": "node dist/index.js -n dp_minigame -a disableMipMap",
"dp_minigame:anyway": "node dist/index.js -n dp_minigame -a anyway",
"dpxyx:all": "node dist/index.js -n dpxyx -a all",
"dpxyx:sortAtlas": "node dist/index.js -n dpxyx -a sortAtlas",
"dpxyx:sortTmpMat": "node dist/index.js -n dpxyx -a sortTmpMat",
"dpxyx:cleanAtlas": "node dist/index.js -n dpxyx -a cleanAtlas",
"dpxyx:findUsage": "node dist/index.js -n dpxyx -a findUsage -i \"Assets/AssetSources/modelSource/createRole/Profile.asset\"",
"dpxyx:replaceImage": "node dist/index.js -n dpxyx -a replaceImage -i 2024-05-28",
"dpxyx:delete": "node dist/index.js -n dpxyx -a delete -i tmp/dpxyx.stripeUI.txt",
"dpxyx:stripeUI": "node dist/index.js -n dpxyx -a stripeUI -o tmp/dpxyx.stripeUI.txt",
"dpxyx:stripeUICode": "node dist/index.js -n dpxyx -a stripeUICode",
"dpxyx:stripeIcon": "node dist/index.js -n dpxyx -a stripeIcon",
"dpxyx:stripeMat": "node dist/index.js -n dpxyx -a stripeMat",
"dpxyx:stripeFbx": "node dist/index.js -n dpxyx -a stripeFbx",
"dpxyx:stripeAsset": "node dist/index.js -n dpxyx -a stripeAsset",
"dpxyx:stripeImage": "node dist/index.js -n dpxyx -a stripeImage",
"dpxyx:stripeAnim": "node dist/index.js -n dpxyx -a stripeAnim",
"dpxyx:stripeFont": "node dist/index.js -n dpxyx -a stripeFont",
"dpxyx:stripeJson": "node dist/index.js -n dpxyx -a stripeJson --designer-root D:/works/dpxyx/tools",
"dpxyx:checkTextFormat": "node dist/index.js -n dpxyx -a checkTextFormat -i WebGL=51",
"dpxyx:checkJsonLiveness": "node dist/index.js -n dpxyx -a checkJsonLiveness",
"dpxyx:stripeCode": "node dist/index.js -n dpxyx -a stripeCode",
"dpxyx:patchCode": "node dist/index.js -n dpxyx -a patchCode -o tmp/dpxyx.patchCode.txt",
"dpxyx:organizeImports": "node dist/index.js -n dpxyx -a organizeImports",
"dpxyx:codeHint": "node dist/index.js -n dpxyx -a codeHint",
"dpxyx:stripeProtocol": "node dist/index.js -n dpxyx -a stripeProtocol",
"dpxyx:dedupImage": "node dist/index.js -n dpxyx -a dedupImage -i \"Assets/AssetSources/ui/atlas\" -o tmp/dpxyx.md",
"dpxyx:dedupImage_delete": "node dist/index.js -n dpxyx -a dedupImage --delete-instruction tmp/dpxyx.md",
"dpxyx:rmtranslator": "node dist/index.js -n dpxyx -a rmtranslator",
"dpxyx:findDisabled": "node dist/index.js -n dpxyx -a findDisabled -o tmp/dpxyx_$.txt",
"dpxyx:npot": "node dist/index.js -n dpxyx -a npot -i \"Assets/AssetSources/ui/atlas/specialize/xianxian/bg_xx_shangzhen.png\"",
"dpxyx:readable": "node dist/index.js -n dpxyx -a readable",
"dpxyx:treeShake": "node dist/index.js -n dpxyx -a treeShake",
"dpxyx:missing": "node dist/index.js -n dpxyx -a missing",
"dpxyx:cutImage": "node dist/index.js -n dpxyx -a cutImage -i \"Assets/AssetSources/ui/atlas/specialize/mainView/chat_bg.png\"",
"dpxyx:cutImage2": "node dist/index.js -n dpxyx -a cutImage -i \"Assets/AssetSources/ui/atlas/common_button/Btn_ty_yeqian2bg_tgkw_xlk.png,top=12,bottom=28\"",
"dpxyx:cutImage3": "node dist/index.js -n dpxyx -a cutImage -i \"Assets/AssetSources/ui/atlas/specialize/yiHuo/bar_hig_2.png\"",
"dpxyx:svnmv": "node dist/index.js -n dpxyx -a svnmv -i \"Assets/TextMesh Pro/Resources/Fonts & Materials\" -t \"Assets/TextMesh Pro/Resources/Fonts/Materials\" -o tmp/dpxyx.svnmv.txt",
"dpxyx:replace": "node dist/index.js -n dp_minigame -a replace -i \"Assets/AssetSources/ui/atlas/specialize/guild/bth_bh_yellow.png\" -t \"Assets/AssetSources/ui/atlas/common_button/bth_s_yellow.png\"",
"dpxyx:disableMipMap": "node dist/index.js -n dpxyx -a disableMipMap",
"dpxyx:anyway": "node dist/index.js -n dpxyx -a anyway",
"dp_web:all": "node dist/index.js -n dp_web -a all",
"dp_web:findUsage": "node dist/index.js -n dp_web -a findUsage -i \"Assets/AssetSources/ui/atlas/CommonButton/btn_blue.png\"",
"dp_web:stripeUI": "node dist/index.js -n dp_web -a stripeUI",
"dp_web:stripeUICode": "node dist/index.js -n dp_web -a stripeUICode",
"dp_web:stripeIcon": "node dist/index.js -n dp_web -a stripeIcon",
"dp_web:stripeMat": "node dist/index.js -n dp_web -a stripeMat",
"dp_web:stripeFbx": "node dist/index.js -n dp_web -a stripeFbx",
"dp_web:stripeImage": "node dist/index.js -n dp_web -a stripeImage",
"dp_web:stripeAnim": "node dist/index.js -n dp_web -a stripeAnim",
"dp_web:stripeFont": "node dist/index.js -n dp_web -a stripeFont",
"dp_web:stripeJson": "node dist/index.js -n dp_web -a stripeJson --designer-root F:/work/dp_web/tools",
"dp_web:rmtranslator": "node dist/index.js -n dp_web -a rmtranslator",
"dp_web:dedupImage": "node dist/index.js -n dp_web -a dedupImage -o tmp/dp_web.md",
"dp_web:dedupImage_delete": "node dist/index.js -n dp_web -a dedupImage --delete-instruction tmp/dp_web.md",
"dp_web:cutImage": "node dist/index.js -n dp_web -a cutImage -i \"Assets/AssetSources/ui/atlas/specialize/qiCaiTunTian/dacheng_list_scheduleBG.png\"",
"dp_web:syncCutImage": "node dist/index.js -n dp_web -a syncCutImage -i dp_web",
"dp_web:missing": "node dist/index.js -n dp_web -a missing",
"dp_cn:findUsage": "node dist/index.js -n dp_cn -a findUsage -i \"Assets/AssetSources/postProcessProfile/scene.asset\"",
"qj_mobile:all": "node dist/index.js -n qj_mobile -a all",
"qj_mobile:stripeUI": "node dist/index.js -n qj_mobile -a stripeUI",
"qj_mobile:stripeIcon": "node dist/index.js -n qj_mobile -a stripeIcon",
"qj_mobile:stripeMat": "node dist/index.js -n qj_mobile -a stripeMat",
"qj_mobile:stripeFbx": "node dist/index.js -n qj_mobile -a stripeFbx",
"qj_mobile:stripeImage": "node dist/index.js -n qj_mobile -a stripeImage",
"qj_mobile:stripeAnim": "node dist/index.js -n qj_mobile -a stripeAnim",
"qj_mobile:stripeFont": "node dist/index.js -n qj_mobile -a stripeFont",
"qj_mobile:stripeJson": "node dist/index.js -n qj_mobile -a stripeJson",
"qj_mobile:stripeCode": "node dist/index.js -n qj_mobile -a stripeCode",
"qj_mobile:dedupImage": "node dist/index.js -n qj_mobile -a dedupImage -o tmp/qj_mobile.md",
"qj_mobile:dedupImage_delete": "node dist/index.js -n qj_mobile -a dedupImage --delete-instruction tmp/qj_mobile.md",
"qj_mobile:rmbtn": "node dist/index.js -n qj_mobile -a rmbtn",
"qj_mobile:findUsage": "node dist/index.js -n qj_mobile -a findUsage -i Assets/AssetSources/ui/atlas/specialize/chengFengPoLang/tongxinxiaomaibu -t Assets/AssetSources/ui/system/mainView.prefab",
"qj_mobile:findUsage2": "node dist/index.js -n qj_mobile -a findUsage -i Assets/AssetSources/material/UISimplified.mat",
"qj_mobile:findLegacy": "node dist/index.js -n qj_mobile -a findLegacy -o tmp/qj_mobile_$.txt -i 2023-03-01",
"qj_mobile:findAlpha": "node dist/index.js -n qj_mobile -a findAlpha -o tmp/qj_mobile_$.txt",
"qj_mobile:findDisabled": "node dist/index.js -n qj_mobile -a findDisabled -o tmp/qj_mobile_$.txt",
"qj_mobile:npot": "node dist/index.js -n qj_mobile -a npot",
"qj_mobile:treeShake": "node dist/index.js -n qj_mobile -a treeShake",
"qj_mobile:missing": "node dist/index.js -n qj_mobile -a missing",
"qj_mobile:usingLegacy": "node dist/index.js -n qj_mobile -a usingLegacy -i Assets/AssetSources/ui/atlas/specialize/eagleView -o tmp/qj_mobile.usingLegacy",
"qj_mobile:svnmv": "node dist/index.js -n qj_mobile -a svnmv -i Assets/AssetSources/ui/atlas/legacy/equipview/ronghe -t Assets/AssetSources/ui/atlas/specialize/equip",
"runner:all": "node dist/index.js -n runner -a all",
"runner:stripeUI": "node dist/index.js -n runner -a stripeUI",
"runner:stripeIcon": "node dist/index.js -n runner -a stripeIcon",
"runner:stripeMat": "node dist/index.js -n runner -a stripeMat",
"runner:stripeFbx": "node dist/index.js -n runner -a stripeFbx",
"runner:stripeImage": "node dist/index.js -n runner -a stripeImage",
"runner:stripeAnim": "node dist/index.js -n runner -a stripeAnim",
"runner:dedupImage": "node dist/index.js -n runner -a dedupImage -o tmp/runner.md",
"runner:dedupImage_delete": "node dist/index.js -n runner -a dedupImage --delete-instruction tmp/runner.md",
"runner:rmbtn": "node dist/index.js -n runner -a rmbtn",
"runner:findUsage": "node dist/index.js -n runner",
"runner:findLegacy": "node dist/index.js -n runner -a findLegacy -o tmp/runner_$.txt -i 2023-03-01",
"runner:npot": "node dist/index.js -n runner -a npot",
"runner:treeShake": "node dist/index.js -n runner -a treeShake",
"runner:missing": "node dist/index.js -n runner -a missing",
"yzzh:stripeCode": "node dist/index.js -n yzzh -a stripeCode",
"yzzh:stripeJson": "node dist/index.js -n yzzh -a stripeJson",
"yzzh:stripeProtocol": "node dist/index.js -n yzzh -a stripeProtocol",
"qj2d_kr:all": "node dist/index.js -n qj2d_kr -a all",
"qj2d_kr:findUsage": "node dist/index.js -n qj2d_kr -a findUsage -i \"Assets/Third/UI Text Effects\"",
"qj2d_kr:stripeUI": "node dist/index.js -n qj2d_kr -a stripeUI",
"qj2d_kr:stripeIcon": "node dist/index.js -n qj2d_kr -a stripeIcon",
"qj2d_kr:stripeMat": "node dist/index.js -n qj2d_kr -a stripeMat",
"qj2d_kr:stripeFbx": "node dist/index.js -n qj2d_kr -a stripeFbx",
"qj2d_kr:stripeImage": "node dist/index.js -n qj2d_kr -a stripeImage",
"qj2d_kr:stripeAnim": "node dist/index.js -n qj2d_kr -a stripeAnim",
"qj2d_kr:stripeFont": "node dist/index.js -n qj2d_kr -a stripeFont",
"qj2d_kr:stripeJson": "node dist/index.js -n qj2d_kr -a stripeJson",
"qj2d_kr:stripeCode": "node dist/index.js -n qj2d_kr -a stripeCode",
"npot_wh": "node dist/index.js -a npot --min-wh 320",
"release": "npm config set registry https://registry.npmjs.org/ && npm version patch && npm publish"
},
"repository": {
"type": "git",
"url": "https://gitee.com/Halliwood/unity-find-fault.git"
},
"keywords": [
"unity",
"fault",
"assets",
"management"
],
"author": "teppei",
"bin": "dist/unity-find-fault.mjs",
"license": "Apache-2.0",
"devDependencies": {
"@types/bytes": "^3.1.1",
"@types/fs-extra": "^11.0.1",
"@types/iconv-lite": "^0.0.1",
"@types/lodash": "^4.14.194",
"@types/node": "^20.1.5",
"@types/normalize-path": "^3.0.2",
"@types/pngjs": "^6.0.1",
"@types/xml-js": "^1.0.0",
"@types/yaml": "^1.9.7"
},
"dependencies": {
"@lunapaint/tga-codec": "^0.1.0",
"@taiyosen/easy-svn": "^1.0.26",
"@types/source-map-support": "^0.5.7",
"bytes": "^3.1.2",
"color-supreme": "^0.1.4",
"commander": "^10.0.1",
"dotenv": "^16.4.5",
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.1",
"iconv-lite": "^0.6.3",
"image-size": "^1.0.2",
"image-ssim": "^0.2.0",
"jpeg-js": "^0.4.4",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"normalize-path": "^3.0.0",
"ora": "^6.3.1",
"pngjs": "^7.0.0",
"sharp": "^0.32.1",
"source-map-support": "^0.5.21",
"ts-morph": "^18.0.0",
"xml-js": "^1.6.11",
"yaml": "^2.3.1"
}
}