This boilerplate allow you to easily create twitch extensions by handling both backend and frontend and building the files you need for deployment.
You will need:
cd certs
./generate_local_ssl.sh
# Requires a sudo password so that the cert can be installed on the root keychain
# If this install fails, see the README in ./certs for manual override.
npm run generator
docker-compose up --build
By default the target is production.
npm run build
npm run build production
[env] is the targeted environment
npm run build [env]
You can find generated files on the dist/ folder.
You can send these files to your own server. If you are using AWS lambda option, just zip it and upload it to your AWS function.
Compress these files as a .zip file and upload it to your Twitch extension.
Based on Twitch Extension Boilerplate
Please consult the Twitch Extensions documentation on the Twitch developer site