JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q39173F
  • License MIT

A Yeoman generator for Luau projects

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-luau) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    checks version GitHub top language license npm

    generator-luau

    A Yeoman generator for Luau projects.

    This generator will setup a Luau project in no time. It will add all the necessary files to:

    • publish the project on npm
    • format your code with stylua
    • run code analysis with Selene and luau-lsp
    • create Github actions:
      • to run tests
      • publish the package(s)
      • to create a new release and attach artifacts
    • Run unit tests using Jest
    • Bundle your project into a single Lua file using darklua
    • Build your project into a Roblox model file using rojo (and darklua to convert the requires!)
    • add a license file (MIT, Apache, MPL and more)
    • add other tools like lune, mantle or tarmac to the foreman.toml configuration file

    Installation

    First, install Yeoman and generator-luau using npm (we assume you have pre-installed node.js).

    npm install -g yo
    npm install -g generator-luau

    Then generate your new project:

    yo luau package-name

    License

    This project is available under the MIT license. See LICENSE.txt for details.