Advanced WebExtension generator that creates everything you need to get started with extension development.
This generator uses:
Features
- Preact
- TypeScript
- ES2015
- Modules (ES2015, CommonJS, AMD)
- Multi browser support (chrome, firefox, opera, edge)
- Vendor prefixed manifest keys
- Sourcemaps
- Linting
- CSS, Sass, Less
- Environment variables
- Image optimization
- Livereload
- Packaging
- Version management
Install
$ npm install -g yo generator-chrome-extension-kickstart-typescript-preact
Getting Started
- First make a new directory, and
cd
into it:mkdir my-new-chrome-extension && cd $_
- Run:
yo chrome-extension-kickstart-typescript-preact
.
Options
-
--skip-install
Skips the automatic execution of
npm
after scaffolding has finished.
Recommended for those who use yarn.
Documentation
Check out the documentation
Contribute
See the contributing docs
License
This repository is forked from mazamachi/generator-chrome-extension-kickstart-typescript