For Google Authenticator and Battle.net Authenticator.
Compile for chrome:
npm install
npm run chrome
Compile for firefox:
npm install
npm run firefox
Compile for development:
# install typescript
npm install -g typescript
# install dependencies
npm install
# check typescript style
gts check
# try to auto fix style issue
gts fix
# compile
npm run compile
gts (Google TypeScript style) is installed locally by default, see https://stackoverflow.com/questions/9679932/how-to-use-package-installed-locally-in-node-modules to add local node modules into path, or run npm install -g gts
to install gts global.