Compassionate Pull Requests
An browser extension to analyze your Pull Requests comments before you submit them.
Installation
- Clone the repository
git clone https://github.com/olore/cpr-extension
- Run
npm install
- Run
npm run build
Load the extension in Chrome & Opera
- Open Chrome/Opera browser and navigate to chrome://extensions
- Select "Developer Mode" and then click "Load unpacked extension..."
- From the file browser, choose to
cpr-extension/build/chrome
or (cpr-extension/build/opera
)
Load the extension in Firefox
- Open Firefox browser and navigate to about:debugging
- Click "Load Temporary Add-on" and from the file browser, choose
cpr-extension/build/firefox
Developing
The following tasks can be used when you want to start developing the extension and want to enable live reload -
npm run chrome-watch
npm run opera-watch
npm run firefox-watch
Packaging
Run npm run dist
to create a zipped, production-ready extension for each browser. You can then upload that to the appstore.
Inspiration
https://github.com/olore/prs-a