- Create a new repo based off this template (Click "Use this Template" above) or simply fork it
npm install
Dev:
npm run build:dev
- Automatically copies the compiled .js to Firebot's scripts folder.
Release:
npm run build
- Copy .js from
/dist
- Keep the script definition object (that contains the
run,getScriptManifest, andgetDefaultParametersfuncs) in theindex.tsfile as it's important those function names don't get minimized. - Edit the
"scriptOutputName"property inpackage.jsonto change the filename of the outputted script.