Chromestrap – Chrome App Bootstrap
A quick start template for Chrome App development.
|Dependency||OS X Installation|
git clone https://github.com/myurasov/chromestrap.git cd chromestrap npm install bower install
Launching as Chrome App
- dev-app – app is executed as a Chrome App, Chrome APIs are available.
- dev-browser – app is executed as a web app, Chrome APIs are mocked/not available.
Using Google Login
In order to allow users to authenticate with their Google Account app should be published to Chrome Web Store and registered with the API console. The app/manifest.json file should be populated with the appropriate key and oauth2.client_id values.
See https://developer.chrome.com/apps/app_identity for more info.
Available Gulp Tasks
||Remove build files|
||Launch as a Chrome App|
||Launch as a web page with live reload|
||Build for the dev-app environment|
||Build for the dev-browser environment|
||Set environment to dev-app|
||Set environment to dev-browser|
||Update build number *|
||List available commands|
* Build number is stored in /build and copied to relevant files to be accessible in stylesheets, js, etc.
Mikhail Yurasov <firstname.lastname@example.org>.
Web & Mobile Solutions Architect, Technical Lead, Hacker.