commit | e64a96f4710c4941b5f6607e61fa71d205d88a21 | [log] [tgz] |
---|---|---|
author | Raphael von der Grün <raphinesse@gmail.com> | Sun May 13 21:17:28 2018 +0200 |
committer | Raphael von der Grün <raphinesse@gmail.com> | Sun May 13 21:18:00 2018 +0200 |
tree | 8223395fd62af86b35123a3decaa6af64c7d195f | |
parent | 2d134f1e797d9a097b8f90827f9d9eec318acf81 [diff] |
Remove unnecessary assignment
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: '' } } };