commit | f1ba78412438a2d509d7d1dccd15aaa9ba6d26e0 | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Wed Dec 26 21:18:52 2018 +0900 |
committer | GitHub <noreply@github.com> | Wed Dec 26 21:18:52 2018 +0900 |
tree | c57bdca2516da38122d50ab5c8763d355e070bf8 | |
parent | 0d46b0259914fc82c38180e44f562e76d69b1d5c [diff] | |
parent | 33611940b859f68eb3d03adbdb310b7121ea0737 [diff] |
Merge pull request #35 from erisu/dependency-bump Updated External Package Dependencies
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: '' } } };