commit | cea4c81b223fb67f5efaa5ec60cc06a8e13a6f44 | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Fri Sep 14 17:15:19 2018 +0900 |
committer | Raphael von der Grün <raphinesse@gmail.com> | Fri Sep 14 10:15:19 2018 +0200 |
tree | 8e73d05d3c842b6ce8ebd46c3255dddcf13538eb | |
parent | 987b3dab394f7b45d2cbc81c62f27929e9f96817 [diff] |
Update Apache License version in test fixture (#32)
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: '' } } };