commit | 024e0375daee4a4c05b58b99087c571459c7250e | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Tue Nov 05 17:24:42 2019 +0900 |
committer | GitHub <noreply@github.com> | Tue Nov 05 17:24:42 2019 +0900 |
tree | 06439961a4406f9cfde4e82a84ff0b74ba964eae | |
parent | bd49218d4372d58a1d42e93280995ebb749b5451 [diff] |
chore: bump version to 3.0.0-dev (#46)
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: '' } } };