Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

@gwigz/slua-create

Scaffold new TSTL-powered SLua projects.

create

Usage

npx @gwigz/slua-create
# or
pnpm dlx @gwigz/slua-create
# or
bunx @gwigz/slua-create

You can also pass a directory as the first argument:

npx @gwigz/slua-create my-project
# or
pnpm dlx @gwigz/slua-create my-project
# or
bunx @gwigz/slua-create my-project

Templates

  • Single script provides one main.ts, that outputs a single script
  • Multi-script provides a custom build.ts that can build mutiple scripts

Extras

Extra Description
JSX templates @gwigz/jsx-inline
Config module @gwigz/slua-modules/config
Yield module @gwigz/slua-modules/yield
StyLua formatting Lua output formatting via StyLua
Linting TypeScript linting via oxlint with @gwigz/slua-oxlint-config
Formatting TypeScript formatting via oxfmt

Documentation

Full API reference and usage examples are available at slua.gwigz.link/docs/create.