Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 602 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 602 Bytes

Typescript Addon

This is your addon in typescript.
It uses typescripttolua and gmod-typescript in order to work.

Building

First run npm i to install typescript and other dependencies to your workspace.

Then run npm run build inside of the workspace.
Lua files will be output exactly as placed in the /src/ folder, but in the /lua/ folder. That's it! Your addon is ready.

You can automate this with npm run dev, which will auto build your project if you change any typescript source code.