commit | b990ac824fe6ed2d81043d3a2432ec43a1602a10 | [log] [tgz] |
---|---|---|
author | Raphael von der Grün <raphinesse@gmail.com> | Sun Jun 17 22:29:33 2018 +0200 |
committer | Raphael von der Grün <raphinesse@gmail.com> | Sun Jun 17 22:31:27 2018 +0200 |
tree | 7d9eb0bb27bc5783ea7fb72e2146a6c8ae7706e0 | |
parent | eb2a118961d71705c0e47c81c95029070073e987 [diff] |
Update nyc and ignore HTML coverage reports
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: '' } } };