This document describes how to contribute to Batarang
- Clone the repository:
git clone git@github.com:angular/batarang.git - Install the npm dependencies
yarn install - Build the inject script:
yarn build - Navigate to
chrome://extensionsand enable Developer Mode. - Choose "Load unpacked extension"
- In the dialog, open the directory you just cloned.
- To run the tests once:
yarn test - To watch the directory, running tests whenver something is updated:
yarn 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.jsonandpackage.jsonwith the new version. - Run
gulp zip git add package.json manifest.json dist/git commit -m "v1.2.3"git tag v1.2.3git push upstream master && git push upstream --tags- Upload
batarang-v1.2.3.zipto Web Store via the Web Store Dashboard
The panel directory contains...
panel/components contains self-contained directives and services.