Skip to content

Skeleton for the Chrome Extension written in Typescript which uses modules

Notifications You must be signed in to change notification settings

hoefling/chrome-extension-typescript

 
 

Repository files navigation

This fork uses webpack for bundling the extension.

Usage

Development

$ git clone https://github.com/hoefling/chrome-extension-typescript.git
$ cd chrome-extension-typescript
$ yarn install
$ yarn run watch

Now load the dist/ directory in Chrome:

  • open chrome://extensions/
  • select Developer mode checkbox
  • click on Load unpacked extension
  • navigate to dist/ dir

webpack will watch for file changes and update the dist files automatically.

Tests

Tests are run with Karma + Mocha + Chai. Coverage + JUnit reporters will store reports in the reports/ dir.

$ yarn run test

Distribution

yarn bun build

Stats

Build Status Coverage Status

About

Skeleton for the Chrome Extension written in Typescript which uses modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 65.2%
  • JavaScript 18.0%
  • CSS 10.3%
  • HTML 6.5%