Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zaifsenpai/chrome-extension-template

Simple Manifest V3 Boilerplate for Google Chrome Extension development project
https://github.com/zaifsenpai/chrome-extension-template

boilerplate boilerplate-template chrome-extension icon-generator jquery manifest-v3 sample template vanilla-javascript vanilla-js

Last synced: 2 months ago
JSON representation

Simple Manifest V3 Boilerplate for Google Chrome Extension development project

Awesome Lists containing this project

README

        

## Chrome-Extension-Template
Simple Manifest V3 Boilerplate for Google Chrome Extension development project

[![wakatime](https://wakatime.com/badge/github/ZaifSenpai/Chrome-Extension-Template.svg)](https://wakatime.com/badge/github/ZaifSenpai/Chrome-Extension-Template)

- - -
#### Using batch scripts

* **You don't need to install anything; unless you want to use bat scripts**

Install waifu2x-caffe to use generate_icons.bat



  • Download from https://github.com/lltcggie/waifu2x-caffe/releases

  • Edit generate_icons.bat to set the complete path to waifu2x-caffe-cui.exe


Install perser to use build.bat



  • Download and install nodejs from https://nodejs.org/en/download/

  • Install perser using npm install terser -g


- - -
#### About `build.bat`
`build.bat` will make a _build_ directory, copy following files and folders into it and minify all javascript files inside _build\\\\js_ folder.

Following files and folders will be copied to build folder:
* manifest.json
* background.js
* html/
* css/
* js/
* res/

`build.bat` uses cmd's `tar` command to pack the extension. It will generate a simple and a minified version of extension. Minified version will have all javascript files inside of `js` folder minified by using `parser`