{ "$schema": "./@types/schema/package/index.json", "package_version": 2, "name": "excel-to-json-ts", "version": "1.0.0", "author": "流云", "editor": ">=3.8.6", "scripts": { "preinstall": "node ./scripts/preinstall.js", "build": "tsc", "watch": "tsc -w" }, "description": "i18n:excel-to-json-ts.description", "main": "./dist/main.js", "devDependencies": { "@cocos/creator-types": "^3.8.6", "@types/chokidar": "^2.1.7", "@types/node": "^18.19.122", "@types/xlsx": "^0.0.36", "typescript": "^5.8.2" }, "contributions": { "menu": [ { "path": "tools", "label": "Excel导出json和TS", "message": "export" } ], "messages": { "export": { "methods": [ "export" ] } }, "shortcuts": [ { "message": "export", "win": "ctrl+e", "mac": "cmd+e" } ], "profile": { "project": { "autoExport": { "default": true }, "excelPath": { "default": "" }, "jsonExportPath": { "default": "" }, "tsExportPath": { "default": "" } } }, "project": { "tab1": { "label": "导表配置", "content": { "autoExport": { "ui": "ui-checkbox", "description": "是否自动导出(excel表格变化时自动导出json和ts文件)" }, "excelPath": { "ui": "ui-file", "attributes": { "type": "directory" }, "description": "excel文件路径" }, "jsonExportPath": { "ui": "ui-file", "attributes": { "type": "directory" }, "description": "json导出路径" }, "tsExportPath": { "ui": "ui-file", "attributes": { "type": "directory" }, "description": "ts导出路径" } } } } }, "dependencies": { "chokidar": "^4.0.3" } }