commit | e65698fd73c8438168eded9ad681d0b866724e09 | [log] [tgz] |
---|---|---|
author | Shazron Abdullah <shazron@apache.org> | Tue Oct 04 22:03:17 2016 -0700 |
committer | Shazron Abdullah <shazron@apache.org> | Tue Oct 04 22:03:17 2016 -0700 |
tree | 8870a2cb177a61f1188255871f07639fb1aa3182 | |
parent | dbd11c40565aa7dce0e51a73b494a9ed265725e3 [diff] |
Add github pull request template
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: '' } } };