This document describes how to contribute to Batarang
- Clone the repository:
git clone [email protected]:angular/batarang.git
- Install the npm dependencies
npm install
- Build the inject script:
npm run build
- Navigate to
chrome://extensions
and enable Developer Mode. - Choose "Load unpacked extension"
- In the dialog, open the directory you just cloned.
- To run the tests once:
npm test
- To watch the directory, running tests whenver something is updated:
npm run test:watch
Please follow the code & commit guidelines found in Angular core's CONTRIBUTING.md.
I (@btford) will do this periodically, but I'm adding these instructions here for posterity.
- Edit the version number in
manifest.json
andpackage.json
with the new version. - Run
gulp zip
git add package.json manifest.json dist/
git commit -m "v1.2.3"
git tag v1.2.3
git push upstream master && git push upstream --tags
- Upload
batarang-v1.2.3.zip
to Web Store via the Web Store Dashboard
The panel
directory contains...
panel/components
contains self-contained directives and services.