create-react-crx

Setup a modern Chrome extension with one command.

Usage no npm install needed!

<script type="module">
  import createReactCrx from 'https://cdn.skypack.dev/create-react-crx';
</script>

README

create-react-crx

Setup a modern Chrome extension with one command.

This CLI will clone a boilerplate for a Chrome extension that uses Rollup and rollup-plugin-chrome-extension for a modern development experience.

Features include React/JSX, ES modules, and automatic reloading out of the box. You can choose either JavaScript or TypeScript.

Instructions

npx create-react-crx

Just follow the prompts and it will set the name in your project package.json and your Chrome extension manifest.

Development

Check out the individual boilerplate instructions for more details.

JavaScript Boilerplate

@extend-chrome/js-react-boilerplate

TypeScript Boilerplate

@extend-chrome/ts-react-boilerplate