https://github.com/guykh/smartcopyts
https://github.com/guykh/smartcopyts
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/guykh/smartcopyts
- Owner: GuyKh
- License: mit
- Created: 2021-03-31T10:35:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T11:08:52.000Z (over 4 years ago)
- Last Synced: 2024-12-31T09:19:36.107Z (6 months ago)
- Language: TypeScript
- Size: 524 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chrome Extension TypeScript Starter

Chrome Extension, TypeScript and Visual Studio Code
## Prerequisites
* [node + npm](https://nodejs.org/) (Current Version)
## Option
* [Visual Studio Code](https://code.visualstudio.com/)
## 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`