A basic template based on SASS and TypeScript to create browser extensions.
Find a file
Jonas Pfalzgraf 43b2d8c82b style update
2023-01-24 01:03:04 +01:00
.github/workflows codeQL fixes 2022-08-19 01:15:04 +02:00
public improvements 2022-08-19 01:02:43 +02:00
src style update 2023-01-24 01:03:04 +01:00
tools Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00
.editorconfig improvements 2022-08-19 01:02:43 +02:00
.gitignore Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00
app.config.json adding more detailed conversion to v2 2022-08-16 12:25:16 +02:00
LICENSE Initial commit 2022-08-15 14:38:55 +02:00
package.json style update 2023-01-24 01:03:04 +01:00
README.md cleaning 2022-08-16 13:11:27 +02:00
tooling.tsconfig.json Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00
tsconfig.json Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00
webpack.config.background.cjs Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00
webpack.config.cjs Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00
webpack.config.settings.cjs Feature/webpack integration (#9) 2023-01-23 14:44:47 +01:00

BrowserExtensionTemplate

GitHub issues GitHub forks GitHub stars GitHub license Twitter URL CodeFactor Known Vulnerabilities

Description

A basic template based on SASS and TypeScript to create browser extensions without directly relying on a larger framework.

Installation

You can download the source code from GitHub. Just copy it in your project and run npm install to install the dependencies. The basic configuration, wich will sync with npm run sync with the package.json file and the manifest.json file, is in app.config.json. Alternatively, you can fork the project and run npm install in the forked project.

Usage

Your sourcecode can be written in the src folder. The public folder contains static files like images, html and the manifest.json. With the npm run deploy-v3 command you can deploy the extension to the dist folder, ready to be published to the chrome web store. With the npm run deploy-v2 command you can deploy the extension to the dist folder, ready to be published to the firefox web store. This is necessary because the firefox web store needs the manifest.json file to be present in the version v2.

License

This project is licensed under the MIT license.

Contributing

This project is open source. Feel free to fork and contribute!

Author

Jonas Pfalzgraf