Boilerplate for Chrome Extension React.js project
The React Chrome Extension Boilerplate is a template for building Chrome extensions using React.js. It provides a simple and structured starting point for developers to create extensions with features such as hot reloading, ES2015+ syntax support, and E2E testing. The boilerplate includes examples of a popup, window, and inject pages, along with a Redux TodoMVC example.
To install the React Chrome Extension Boilerplate, follow these steps:
https://localhost:3000 if you’re developing the inject page. (Note: This is necessary because the inject page is injected into HTTPS pages)../dev folder.manifest.json. Options include: --app-id (your extension ID), --key (your private key path, default: ‘./key.pem’), and --codebase (your CRX file URL).test/app directory for React components and Redux actions/reducers tests, and the test/e2e directory for E2E tests with Chromedriver and Selenium WebDriver.The React Chrome Extension Boilerplate is a comprehensive starting point for building Chrome extensions using React.js. It provides several key features such as hot reloading, ES2015+ syntax support, and E2E testing. By following the installation guide, developers can quickly set up an extension with React and Redux examples for the window, popup, and inject pages. Additionally, the boilerplate offers options for building CRX files with auto-updates and includes testing frameworks for both unit tests and E2E tests.