Simpler version of Ittai only for BD.
Release to the official NPM registry is pending. In the meanwhile install from the GH NPM registry:
echo '@betterdiscordbuilder:registry=https://npm.pkg.github.com' >> .npmrc
Create an access token for your GH account with the following permissions:
repo
read:packages
Run the following command:
npm login --scope=@betterdiscordbuilder --registry=https://npm.pkg.github.com
When prompted provide your GH username (in lowercase) and use the generated token as the password.
npm i -D @betterdiscordbuilder/bdbuilder@latest
git clone https://github.com/BetterDiscordBuilder/bdbuilder.git
cd bdbuilder
npm i
npm link
cd ./plugins/TestPlugin
npm i
cd ../..
bdbuilder --plugin="./plugins/TestPlugin" --copy="C:/Users/Username/AppData/Roaming/BetterDiscord/plugins" --watch --production