git clone https://github.com/Wissididom/Firebot-Raid-Chat-Alert.git
or just download the repo and cd into it.npm install
ornpm i
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
, andgetDefaultParameters
funcs) in themain.ts
file as it's important those function names don't get minimized. - Edit the
"scriptOutputName"
property inpackage.json
to change the filename of the outputted script.