commit | eb2a118961d71705c0e47c81c95029070073e987 | [log] [tgz] |
---|---|---|
author | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Sun Jun 17 20:53:00 2018 +0200 |
committer | GitHub <noreply@github.com> | Sun Jun 17 20:53:00 2018 +0200 |
tree | 4194c7ecd20f36628c14e47ce5149d049e854df7 | |
parent | 71e66fe6af4035cfa5d22dcd96670151758b36b5 [diff] |
Determine code coverage during tests (#17)
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: '' } } };