https://github.com/zaaack/chrome-alarm
https://github.com/zaaack/chrome-alarm
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zaaack/chrome-alarm
- Owner: zaaack
- License: mit
- Created: 2020-02-26T08:00:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T06:56:57.000Z (about 5 years ago)
- Last Synced: 2025-03-11T07:52:48.335Z (over 1 year ago)
- Language: TypeScript
- Size: 3.12 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chrome Extension TypeScript Starter
[](https://travis-ci.org/chibat/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
* Moment.js
* jQuery
* 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`