create-roblox-ts-script

0.2.4 • Public • Published

Create Roblox-TS Script

Builds & bundles TypeScript source files into a Lua script, which you can use on Roblox.

Prerequisites

Make sure the following are installed:

The following are automatically installed; if it fails, install manually:

It's recommended you also install the following VSCode extensions:

Instructions

If you installed pnpm, use that instead of npm for the following steps.

  1. Create Project

    Run the following in a terminal, and follow the instructions:

    (p)npm create roblox-ts-script
    
  2. Develop

    Once the script has created your project, open it in an IDE, preferably VSCode.

    In the VSCode Terminal, you can execute npm run dev / pnpm dev. Now you can edit files in src, and it will compile to out when you save.

  3. Build

    If you'd like to manually start the build process, instead of running the dev script, run npm run build / pnpm build which will build once.

Credits

Package Sidebar

Install

npm i create-roblox-ts-script

Weekly Downloads

938

Version

0.2.4

License

none

Unpacked Size

82.6 kB

Total Files

35

Last publish

Collaborators

  • snipcola