commit | 4a49545f0fad26cd4a3fa84c701a29ad1b5bb553 | [log] [tgz] |
---|---|---|
author | Steve Gill <stevengill97@gmail.com> | Tue Aug 23 16:44:57 2016 -0700 |
committer | Steve Gill <stevengill97@gmail.com> | Tue Aug 23 16:52:06 2016 -0700 |
tree | 69d46d31fd6507d47be6f14dcd9f4321c9c963d7 | |
parent | af12a2535193fcda195943001824c6370d166d22 [diff] |
added .ratignore
This module is used for creating cordova style projects. It also incudes support for cordova templates. It can fetch templates from npm and git.
:
var create = require('cordova-create'); create(dir, id, name, cfg, extEvents);
dir
- directory where the project will be created. Required. id
- app id. Required (but can be “undefined”). name
- app name. Required (but can be “undefined”). cfg
- extra config to be saved in .cordova/config.json Required (but can be “{}”). extEvents
- An EventEmitter instance that will be used for logging purposes. Required (but can be “undefined”).
An example of cfg which would fetch a cordova template from npm (or git):
var cfg = { lib: { www: { template: true, url: 'cordova-app-hello-world', version: '' } } };