UNPKG

typescript-to-lua

Version:

A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!

76 lines (75 loc) 2.52 kB
{ "name": "typescript-to-lua", "version": "1.32.0", "description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!", "repository": "https://github.com/TypeScriptToLua/TypeScriptToLua", "homepage": "https://typescripttolua.github.io/", "bugs": { "url": "https://github.com/TypeScriptToLua/TypeScriptToLua/issues" }, "license": "MIT", "keywords": [ "typescript", "lua", "tstl", "transpiler" ], "files": [ "dist/**/*.js", "dist/**/*.lua", "dist/**/*.ts", "dist/lualib/**/*.json" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc && npm run build-lualib", "build-lualib": "node dist/tstl.js -p src/lualib/tsconfig.json && node dist/tstl.js -p src/lualib/tsconfig.lua50.json", "pretest": "npm run lint && npm run check:language-extensions && npm run build-lualib", "test": "jest", "lint": "npm run lint:eslint && npm run lint:prettier", "lint:prettier": "prettier --check . || (echo 'Run `npm run fix:prettier` to fix it.' && exit 1)", "lint:eslint": "eslint .", "fix:prettier": "prettier --write .", "check:language-extensions": "tsc --strict language-extensions/index.d.ts", "preversion": "npm run build && npm test", "postversion": "git push && git push --tags" }, "bin": { "tstl": "dist/tstl.js" }, "engines": { "node": ">=16.10.0" }, "peerDependencies": { "typescript": "5.8.2" }, "dependencies": { "@typescript-to-lua/language-extensions": "1.19.0", "enhanced-resolve": "5.8.2", "picomatch": "^2.3.1", "resolve": "^1.15.1", "source-map": "^0.7.3" }, "devDependencies": { "@types/fs-extra": "^8.1.0", "@types/glob": "^7.2.0", "@types/jest": "^27.5.2", "@types/node": "^22.10.0", "@types/picomatch": "^2.3.0", "@types/resolve": "1.14.0", "eslint": "^9.22.0", "eslint-plugin-jest": "^28.8.3", "fs-extra": "^8.1.0", "javascript-stringify": "^2.0.1", "jest": "^29.5.0", "jest-circus": "^29.7.0", "lua-types": "^2.13.0", "lua-wasm-bindings": "^0.3.1", "prettier": "^2.8.8", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "5.8.2", "typescript-eslint": "^8.26.0" } }