commit | c43b9a7e4d127adf41a09f1d693ea7715686e227 | [log] [tgz] |
---|---|---|
author | エリス <ellis.bryan@gmail.com> | Mon Jan 07 12:23:18 2019 +0900 |
committer | エリス <ellis.bryan@gmail.com> | Mon Jan 07 12:23:18 2019 +0900 |
tree | bcdb4d14117c067429bfbb94ded92626f5138944 | |
parent | 4c273098ad68c158ac568014a6fbf93b0539ecc7 [diff] |
Bump cordova-common@3.1.0 & valid-identifier@0.0.2
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: '' } } };