Skip to content

A template to build Chrome Extension that uses npm modules.

Notifications You must be signed in to change notification settings

payamnaghdy/Chrome-Extension-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chrome-Extension-Template

A template to build Chrome Extension that uses npm modules. Scripts in Chrome-Extension must be a single file(single file for each script in manifest.json) so you can not use npm modules in your code. this template uses webpack to build single .js file in src.o directory

|##USAGE:

clone this repository by :

git clone https://github.com/payamnaghdy/Chrome-Extension-Template.git

install dev dependecies whit:

npm install

Chrome Extension sources will be in app directory write your javascript app in src then run npm run-script build to put your js components together in app/src.o/background.js and if you want webpack watching your code just use npm run-script watch

2to use npm modules: require('module-name')

About

A template to build Chrome Extension that uses npm modules.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published