GithubHelp home page GithubHelp logo

samupert / chrome-extension-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 59 KB

Simple and ready to use boilerplate for building Chrome extensions using TypeScript, SCSS, and Webpack.

License: MIT License

TypeScript 5.75% HTML 12.76% SCSS 1.79% JavaScript 79.69%
chrome-extension chrome-extension-boilerplate chrome-extension-template scss typescript webpack webpack5-boilerplate

chrome-extension-boilerplate's Introduction

Chrome Extension Boilerplate with TypeScript, SCSS and Webpack

This project is a boilerplate for building Chrome extensions using TypeScript, SCSS, and Webpack. It provides a solid and simple starting point for building robust and maintainable extensions.

Features

  • TypeScript for static typing and improved code quality
  • SCSS for styling
  • Webpack for bundling and optimization

Quick Start

To get started, clone the repository and install the dependencies:

git clone https://github.com/SamuPert/chrome-extension-boilerplate.git
cd chrome-extension-boilerplate
npm install

Next, build the extension using webpack:

npm run build

Finally, load the extension into Chrome:

Open Chrome and navigate to chrome://extensions/.

  • Enable "Developer mode".
  • Click "Load unpacked".
  • Select the dist folder from the cloned repository.
  • The extension should now be loaded and running in your browser.

Development

To start a development server with hot reloading, run the following command:

npm run dev

This will automatically compile the extension whenever changes are made to the code.

Deployment

To build the extension for production, run the following command:

npm run build

The optimized and bundled extension will be placed in the dist folder, ready for deployment.

License

This project is licensed under the MIT License. See the LICENSE file for details.

chrome-extension-boilerplate's People

Contributors

samupert avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.