@ma3-pro-plugins/ma3-ts-plugin-builder
Version:
grandMA3 Typescript plugin build script
33 lines (22 loc) • 1.29 kB
Markdown
# grandMA3 TypeScript Plugin Build Script
This is a cli build script for building grandMA3 plugins that are written in TypeScript.
> See [ma3-ts-plugin-template](https://github.com/ma3-pro-plugins/ma3-ts-plugin-template) for an example of a plugin that uses this build script.
>
> The script uses:
- Node.js 16+
- TSTL [TypeScriptToLua](https://typescripttolua.github.io)
## Install
> `npm install -D @ma3-pro-plugins/ma3-ts-plugin-builder`
## Features
- Prod & Dev builds
- Generate plugin XML file
- Supports multiple lua plugin components.
- Supports mutltiple MA target versions (e.g. MA version 1.6 uses different plugin XML file tags than 1.8)
- Dev build runs in watch mode (build the lua bundle everytime a typescript file changes)
- Auto-Install: both Dev and Pro builds automatically install the plugin in your plugins library.
- Built-In Images: If you wish to embed small images in the code itself, then it converts images to base 64.
- Generate plugin README.pdf from a template
- Creates an installation ZIP file, with the README and the MA USB folder structure.
## 💫 License
- Code and Contributions have **MIT License**
###### Copyleft (c) 2022 [Erez Makavy] ([@hepiyellow] <[hepi@ma3-pro-plugins.com](mailto:hepi@ma3-pro-plugins.com)>