JSPM

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

Quickly scaffold a modern Roku app, including the best practices to enhance your development experience.

Package Exports

  • create-roku-app
  • create-roku-app/dist/index.js

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 (create-roku-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

create-roku-app

Quickly scaffold a modern Roku app, including the best practices to enhance your development experience.

This project assumes that you will be using VSCode for development.

Usage

npx create-roku-app
npx create-roku-app --name "My App" --recommended

Options

  1. Select a language

    • BrighterScript (recommended): A superset of the BrightScript language that includes modern features like classes, namespaces, compiler plugins and more. Compiles to Vanilla BrightScript.

    • Vanilla BrightScript: The old reliable language provided by Roku.

  2. Linter and formatter

  3. Enable SceneGraph Inspector: A faster and more insightful SceneGraph inspector within the Visual Studio Code plugin.

    • Enable (recommended)

    • Not this time.

  4. Run git init? (y/n)

  5. Run npm install? (y/n)

CLI options

These are only available as CLI --flags and will not appear on the questions list

  • --name: Shortcut to set the name of your project.

  • --pm: Set the package manager that will be used to install dependencies, if necessary. Values: npm (default) | yarn | pnpm.

  • --recommended: Start a project with the recommended options values.

Contribute

You can see our issues list for things that need to be implemented. For any questions ping me (@arturocuya) on the Roku Developers Slack channel.