For Google Authenticator and Battle.net Authenticator.
Compile for chrome:
npm install
npm run chromeCompile for firefox:
npm install
npm run firefoxCompile 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 compilegts (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.