Chrome extension generator. Comes with feature and permission picker, gulp, browserify, babelify, React scaffolding (ES6 or ES5) via bare-react, livereload, packaging via nom, imagemin, l18n, zipping, parcelify for styles and lastly pre-build configuration with config-prompt.
mkdir my-extension
cd my-extension
yo chrome-ninja
gulp develop
Then go to chrome://extensions
, enable developer mode and load ./dist
as an unpacked extension.
--help -h # Print the generator's options and usage
--skip-cache # Do not remember prompt answers
--skip-install # Do not automatically install dependencies
Install Yeoman and generator-chrome-ninja globally with npm:
npm i yo generator-chrome-ninja -g
MIT © ironSource. Templates and questions adapted from generator-chrome-extension under BSD license © Yeoman. Yeoman icons are CC BY 4.0 © Yeoman.