Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@neuledge/states-cli

neuledge18Apache-2.00.1.4TypeScript support: included

Neuledge Engine states CLI for parsing and converting *.states files

neuledge, engine, states, cli, typescript, javascript, parser

readme

Neuledge States CLI

A CLI tool for Neuledge Engine that can be used to generate TypeScript code from state files.

📦 Installation

npm install @neuledge/states-cli --save-dev

🚀 Getting started

Add the following script to your package.json:

{
  "scripts": {
    "generate:states": "states --output \"src/states.codegen.ts\" \"states/*.states\""
  }
}

Then, run the following command:

npm run generate:states

For more information, please refer to the main repository.

📄 License

Neuledge is Apache 2.0 licensed.