chrome-extension-starter

0.2.0 • Public • Published

Chrome Extension Starter

This is meant to be a very basic Chrome extension starter. Here is a high level of what is included:

  • Background, contentscript, options and popup page stubs are included
  • Context script examples are included in background.js
  • React for UI needs.
  • Webpack transpiles, bundles and optimizes the JavaScript files.
  • You can install packages with yarn/npm and import them in any of the js files.
  • Livereload is setup with webpack so you don't have to reload the extension on every change

Development

  1. Clone repo

  2. yarn

  3. yarn run watch

  4. Load distribution folder as an unpacked extension in Chrome. This may require developer mode.

Build for release

Run yarn build and upload the distribution folder to the chrome store.

Missing / incomplete

  • An automatic way to upload to chrome store.
  • Remove livereload for production build

Acknowledgements

Thanks to the following open source projects for their work:

Readme

Keywords

none

Package Sidebar

Install

npm i chrome-extension-starter

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

17.9 kB

Total Files

22

Last publish

Collaborators

  • rileytomasek