项目作者: Vurv78

项目描述 :
Template garrysmod addon using https://typescripttolua.github.io and https://github.com/lolleko/gmod-typescript
高级语言: TypeScript
项目地址: git://github.com/Vurv78/TSAddon.git
创建时间: 2021-07-15T03:37:53Z
项目社区:https://github.com/Vurv78/TSAddon

开源协议:

下载


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.