Need help with chrome-extension-typescript-starter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

chibat
568 Stars 144 Forks MIT License 91 Commits 6 Opened issues

Description

Chrome Extension TypeScript Starter

Services available

!
?

Need anything else?

Contributors list

# 46,348
TypeScr...
Chrome ...
Rust
Deno
61 commits
# 23,441
cpp17
cpp11
Bootstr...
codecov
4 commits
# 136,280
Elixir
HTML
webpage
readabi...
3 commits
# 327,956
TypeScr...
HTML
time-tr...
Shell
1 commit
# 340,559
TypeScr...
HTML
Chrome ...
product...
1 commit
# 456,932
TypeScr...
HTML
Chrome ...
1 commit

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.