Skip to content

jcimoch/angular-chrome-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Chrome Extension Scaffold Project (Angular 7)

This project is an Angular scaffold project (template) for google chrome extensions, see Github.

How to use/develop

  • clone this repository
  • run npm install
  • run npm run watch
  • goto: chrome://extensions in the browser and enable 'developer mode'
  • press Load unpacked and target the folder angular/dist

The project is automatically being watched, any changes to the files will recompile the project.

NOTE: changes to the contentPage/backgroundPage requires you to reload the extension in chrome://extensions

Build/package for production

  • run npm run build:production
  • upload extension-build.zip to the chrome webstore.
  • (optional) you can also manually zip your extension, the production build will output to folder angular/dist

This will run a production build and will automatically zip it as a extension package in the root folder ./ named: extension-build.zip

NOTE: Do not forget to update the version number inside manifest.json

Angular folder

This folder contains the angular source code.

Chrome folder

This folder contains the contentPage/backgroundPage script for the google chrome extension

About

Angular Chrome Extension Scaffold Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.9%
  • JavaScript 15.7%
  • HTML 12.5%
  • CSS 0.9%