Skip to content

A simple chrome extension which augments github pull request reviews by walking the reviewing from line to line like a story.

License

Notifications You must be signed in to change notification settings

ethanbond64/describer-extension

Repository files navigation

Chrome Extension TypeScript Starter

build

Chrome Extension, TypeScript and Visual Studio Code

Prerequisites

Option

Includes the following

  • TypeScript
  • Webpack
  • React
  • Jest
  • Example Code
    • Chrome Storage
    • Options Version 2
    • content script
    • count up badge number
    • background

Project Structure

  • src/typescript: TypeScript source files
  • src/assets: static files
  • dist: Chrome Extension directory
  • dist/js: Generated JavaScript files

Setup

npm install

Import as Visual Studio Code project

...

Build

npm run build

Build in watch mode

terminal

npm run watch

Visual Studio Code

Run watch mode.

type Ctrl + Shift + B

Load extension to chrome

Load dist directory

Test

npx jest or npm run test

Samples:

// const ids = [ // "#diff-197ff6008249a9b844974e0f7df4dfba518c23a91fa56390a421e1bb958bdfd9R84", // "#diff-481ee07767a8e8d6e1faca2a9d51f591db194947b2ef53860e97c6bd97eae5a6R57", // "#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655R5" // ];

About

A simple chrome extension which augments github pull request reviews by walking the reviewing from line to line like a story.

Resources

License

Stars

Watchers

Forks

Packages

No packages published