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.
- 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
Available generators:
Sets up a new Chrome App, generating all the boilerplate you need to get started.
Example:
yo chromeapp
Create manifest.json or append permission into manifest.json. You can choose permission to put into manifest.json
Example:
yo chromeapp:permmision
You can create a new Chrome App by the google-chrome-app samples on github repository.
Example:
yo chromeapp:samples
-
grunt build
- creates a production build, package production files to zip file -
grunt debug
- LiveReload/edit your Chrome App.
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished. -
--test-framework=[framework]
Defaults to
mocha
. Can be switched for another supported testing framework likejasmine
. -
--skip-pull
Skips to
pull
command ofgit
to check the google-chrome-app samples on github repository
See the contributing docs