This repo contains the source code for Whistle HQ's chrome extension frontend. Webpack is set up to hot reload for quality of life improvement. It does not contain the compiled extension, but you can build it yourself using the production instructions below
- Node
- npm or yarn
- Chrome with dev mode enabled
- Run
npm install
from the command line to install dependencies - Run
npm run start
from the command line. This will create adist
directory containing an unoptimized build of the extension. - Navigate to
chrome://extensions
and clickLoad unpacked extensions
. Link thedist
folder. (Make sure Developer mode to checked).
- First run
npm run build
. This will create an optimized build for deploying. - Zip the resulting dist directory created. From the unix command line, you can run this oneliner
cd dist; zip -r ../whistlehq.zip *; cd ..
in the project root. Othewise, you can use your favorite zip utility.