-
Notifications
You must be signed in to change notification settings - Fork 10
Development
idk edited this page Jan 14, 2020
·
4 revisions
So far, this extension requires no browserify, webpack, or any other Javascript compiler or bundler. If that ever changes, we'll document it here.
We use eslint to lint the Javascript, tidy to format the html, and cleancss to format the the CSS. You will also need npm in order to install prettier which we use to automatically enforce formatting rules on the Javascript, and most importantly web-ext, which is used for reliably testing the webextension and interacting with Mozilla's addon servers.
Soon it will be switching from eslint to closure-linter.
sudo apt install tidy cleancss npm
sudo npm install -g web-ext
sudo npm install -g prettier
sudo npm install -g eslint
web-ext run --url about:debugging
- Open your browser and enter about:debugging into the URL bar.
- Click "Load Temporary Addon."
- Navigate to the directory containing the extension's manifest.json file and click "Open".