Contributing to Chrome Extension CLI
September 15, 2019 ยท View on GitHub
Loving Chrome Extension CLI and want to get involved? Thanks.
We're actively looking for folks interested in helping out. Suggestions and pull requests are highly encouraged!
Workflow
- Clone the project:
git clone https://github.com/dutiyesh/chrome-extension-cli.git
cd chrome-extension-cli
npm install
- When working on the CLI, create a symlink in the global folder by executing this command:
npm link chrome-extension-cli
- Now you can execute the CLI with command:
chrome-extension-cli my-extension
Loading an extension into the browser
Once an extension is built with npm run build command, load it in the browser with below instructions:
- Open chrome://extensions
- Check the Developer mode checkbox
- Click on the Load unpacked extension button
- Select the folder my-extension/build
Many thanks to h5bp and sindresorhus for the inspiration with this contributing guide