Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ashish-chopra/chrome-extension-seed

A starter project to setup Google Chrome Extension development environment using Gulp and Livereload
https://github.com/ashish-chopra/chrome-extension-seed

browser browser-extension chrome chrome-extension-seed chrome-extension-starter extension google-chrome-extension gulp

Last synced: 4 months ago
JSON representation

A starter project to setup Google Chrome Extension development environment using Gulp and Livereload

Awesome Lists containing this project

README

        

# chrome-extension-seed
This is a starter project scaffolded for setting up Google Chrome extension development enviromment built with Gulp.

# How to use?

Run the following commands:

1. Clone the repo:

git clone https://github.com/ashish-chopra/chrome-extension-seed.git

2. Move inside root folder `chrome-extension-seed` and run:

npm install

3. Use following commands to run development lifecyle events:

npm run clean // to clean the ouput directory
npm run build:dev // build the source code inside 'dist' directory.
npm run serve // host the 'dist' on a web server at port 3000 (default)
npm start // start the development cycle (build t he code, serve it and watch for changes)

NOTE: In order to live reload the extension in chrome, the project used `chromereload.js` script which makes a
websocket connection with livereload server running and watch for 'reload' command. Make sure to remove this file
from `manifest.json` before releasing a production builds.

# License

MIT