bolohori / browser-extension-boilerplate

Boilerplate for browser extension development with awesome features out of the box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Awesome Extension

Install

  1. Download the latest version of the extension https://github.com/Daywalkerchen/awesome-extension/releases -> Assets -> build.zip
  2. Unzip build.zip
  3. Open chrome://extensions in Chrome (or similar)
  4. Check Developer mode
  5. Click on Load unpacked extension
  6. Select the build/ folder.

Getting Started

  1. Check if your Node.js version is >= 14.
  2. Clone this repository.
  3. Run npm install to install the dependencies.
  4. Run npm run start to build and run the dev server
  5. Load your extension on Chrome:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the build folder.
  6. Open http://localhost:3000/test-page.html to watch the extension in action.
  7. Run npm run prepare to install the prettier precommit hook.
  8. Happy hacking.

Commands

Run the dev server. Hot module replacement is active. Test page is accessible:

npm run start

Build the extension (for production). Hot module replacement is inactive. Test page is not accessible:

npm run build

Reformat code:

npm run prettier

Resources

All emotes have been downloaded from https://cdn.betterttv.net

License

The code is available under the MIT license.

About

Boilerplate for browser extension development with awesome features out of the box

License:MIT License


Languages

Language:JavaScript 82.5%Language:SCSS 11.7%Language:HTML 5.0%Language:TypeScript 0.4%Language:CSS 0.2%Language:Shell 0.1%