commit | d2cf1045c497f2e0954f5ee7d813ec1bcc5607d8 | [log] [tgz] |
---|---|---|
author | Jan Piotrowski <piotrowski+git@gmail.com> | Wed Mar 27 15:16:05 2019 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 27 15:16:05 2019 +0100 |
tree | ee68777c2ff6031c1888d76936b2c3716e7a3f1b | |
parent | 49e6abc7adce124481be658f4ddbba1cfa3cc080 [diff] |
Remove deprecated engineStrict from package.json part of https://github.com/apache/cordova/issues/86
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: '' } } };