2026-11-28 22:26:22 +08:00
|
|
|
{
|
|
|
|
|
"name": "ts2lua-unreal",
|
2026-11-30 03:42:13 +08:00
|
|
|
"version": "0.3.1",
|
2026-11-28 22:26:22 +08:00
|
|
|
"description": "TypeScript to Lua toolchain and compiler plugin tailored for Unreal Engine + UnLua",
|
|
|
|
|
"main": "dist/plugin/index.js",
|
|
|
|
|
"types": "dist/plugin/index.d.ts",
|
2026-11-29 00:31:10 +08:00
|
|
|
"bin": {
|
|
|
|
|
"ts2lua-unreal": "./bin/ts2lua-unreal.js"
|
|
|
|
|
},
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/plugin/index.d.ts",
|
|
|
|
|
"default": "./dist/plugin/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./tsconfig.base.json": "./tsconfig.base.json",
|
|
|
|
|
"./types/unlua.d.ts": "./types/unlua.d.ts",
|
2026-11-30 02:42:22 +08:00
|
|
|
"./types/module.d.ts": "./types/module.d.ts",
|
2026-11-30 03:42:13 +08:00
|
|
|
"./runtime/lib/module.lua": "./runtime/lib/module.lua",
|
|
|
|
|
"./runtime/lib/class.lua": "./runtime/lib/class.lua",
|
2026-11-29 00:31:10 +08:00
|
|
|
"./docs/ts-unlua-spec.md": "./docs/ts-unlua-spec.md",
|
|
|
|
|
"./docs/integration-guide.md": "./docs/integration-guide.md",
|
|
|
|
|
"./docs/ai-rules-template.md": "./docs/ai-rules-template.md",
|
|
|
|
|
"./CHANGELOG.md": "./CHANGELOG.md",
|
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"bin/",
|
|
|
|
|
"dist/",
|
2026-11-30 02:42:22 +08:00
|
|
|
"runtime/",
|
2026-11-29 00:31:10 +08:00
|
|
|
"types/",
|
|
|
|
|
"docs/",
|
|
|
|
|
"tsconfig.base.json",
|
|
|
|
|
"CHANGELOG.md",
|
|
|
|
|
"README.md"
|
|
|
|
|
],
|
2026-11-28 22:26:22 +08:00
|
|
|
"scripts": {
|
2026-11-29 00:31:10 +08:00
|
|
|
"prepare": "npm run build:plugin",
|
2026-11-28 22:26:22 +08:00
|
|
|
"build:plugin": "tsc -p tsconfig.plugin.json",
|
|
|
|
|
"test": "npm run build:plugin && node --test test/*.test.mjs"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"lua-types": "^2.14.1",
|
|
|
|
|
"typescript": "6.0.2",
|
|
|
|
|
"typescript-to-lua": "^1.37.3"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/node": "^22.0.0"
|
|
|
|
|
}
|
|
|
|
|
}
|