psd2prefab
Version:
A tool to convert psd to a unity prefab.
55 lines (54 loc) • 1.61 kB
JSON
{
"name": "psd2prefab",
"version": "1.0.7",
"description": "A tool to convert psd to a unity prefab.",
"type": "module",
"main": "dist/index.js",
"bin": "dist/psd2prefab.mjs",
"scripts": {
"test": "node dist/index.js -p D:/works/dp_minigame/trunk -i D:/works/dp_minigame/psd/D-抖音好礼/抖音好礼.psd -n douyin -d",
"test2": "node dist/index.js -p F:/psd2prefabtest -i G:/psdtest/军团成员.psd -n juntuan -d",
"release": "npm config set registry https://registry.npmjs.org/ && npm version patch && npm publish"
},
"repository": {
"type": "git",
"url": "https://gitee.com/Halliwood/psd2prefab.git"
},
"keywords": [
"psd",
"unity",
"prefab",
"ui",
"photoshop",
"cs",
"games",
"assets"
],
"author": "Halliwood",
"license": "Apache-2.0",
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.7.15",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/randomstring": "^1.1.8",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"eslint": "^8.23.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-promise": "^6.0.1",
"typescript": "^4.8.2"
},
"dependencies": {
"ag-psd": "^14.5.3",
"canvas": "^3.1.0",
"commander": "^9.4.0",
"dotenv": "^16.0.2",
"fs-extra": "^10.1.0",
"pixelmatch": "^5.3.0",
"pngjs": "^6.0.0",
"randomstring": "^1.2.2"
}
}