commit | 56cdf84244c7f6244f494d0408e48bfd0a13b045 | [log] [tgz] |
---|---|---|
author | Raphael von der Grün <raphinesse@gmail.com> | Sat May 12 12:57:19 2018 +0200 |
committer | Raphael von der Grün <raphinesse@gmail.com> | Sun May 13 00:29:03 2018 +0200 |
tree | bb168cdc443ad969d03cf22f30392b9d17d8aee6 | |
parent | 6b06381545ea2a94661b7baa89dc1f9b9c7617f5 [diff] |
Remove tautology in condition
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: '' } } };