Skip to content

itamarro/generator-chromeapp

 
 

Repository files navigation

Chrome App generator Build Status

Maintainer: Jimmy Moon

A Chrome Apps boilerplate generator that creates everything you need to get started with development. To test, go to: chrome://extensions, enable Developer mode and load app as an unpacked extension.

Getting Started

  • First make a new directory, and cd into it: mkdir my-new-chromeapp && cd $_
  • Install the generator: npm install -g generator-chromeapp
  • Run: yo chromeapp

Generators

Available generators:

App

Sets up a new Chrome App, generating all the boilerplate you need to get started.

Example:

yo chromeapp

Permission

Create manifest.json or append permission into manifest.json. You can choose permission to put into manifest.json

Example:

yo chromeapp:permmision

Samples

You can create a new Chrome App by the google-chrome-app samples on github repository.

Example:

yo chromeapp:samples

Supported commands

  • grunt build - creates a production build, package production files to zip file

  • grunt debug - LiveReload/edit your Chrome App.

Options

  • --skip-install

    Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework=[framework]

    Defaults to mocha. Can be switched for another supported testing framework like jasmine.

  • --skip-pull

    Skips to pull command of git to check the google-chrome-app samples on github repository

Contribute

See the contributing docs

License

BSD license

About

Yeoman generator for Chrome App

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • CSS 0.1%