gnomeria / chrome-extension-ts-starter

Chrome Extension starter built with TypeScript

Home Page:https://www.youtube.com/watch?v=01vp9cYbQus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chrome-extension-ts-starter

It is a boilerplate for a Chrome Extension built with TypeScript and Parcel.

This starter consists of the following parts

  • Background script (vanilla TS)
  • Content script (vanilla TS)
  • Options page (Vue.js, Sass)
  • Popup page (Vue.js, Sass)
  • DevTools panel page (React.js, Styled Components)

And, of course, the ./manifest.json file describing its configuration.

Environment

  • Node.js >=12.0.0
  • NPM >= 6.0.0

Most probably it will work with earlier versions too but I didn't test it.

Testing

Jest is included and ready for the vanilla TS parts. Testing for React/Vue is not included in order to keep the Jest config clean.

Scripts

  • npm run dist - build the extension into ./dist folder
  • npm run lint - ESLint for .ts and .tsx files
  • npm run test - Jest unit tests

About

Chrome Extension starter built with TypeScript

https://www.youtube.com/watch?v=01vp9cYbQus

License:MIT License


Languages

Language:TypeScript 34.6%Language:HTML 27.5%Language:Vue 20.0%Language:JavaScript 17.9%