commit | 97866fc731dcc15927e71a3f28ffd21a42aa2fbb | [log] [tgz] |
---|---|---|
author | Niklas Merz <niklasmerz@apache.org> | Mon Apr 13 14:40:27 2020 +0200 |
committer | Niklas Merz <niklasmerz@apache.org> | Mon Apr 13 14:40:27 2020 +0200 |
tree | 462a8f552d6bdf603de96f9d403e7a1b26131703 | |
parent | 70169cf54213dadc489a60d162b1aadd2e463627 [diff] |
Update CONTRIBUTING.md
This module is used for creating cordova style projects. It also incudes support for cordova templates. It can fetch templates from npm and git.
const create = require('cordova-create'); await create(dest, opts);
dest
Required. Path to the destination where the project will be created. Must be an empty dir if it exists.
opts
Optional. Supports following properties.
{ // Attributes to be set in package.json & config.xml id: String, name: String, version: String, // The path/url/package-name to the template that should be used template: String, // An EventEmitter instance that will be used for logging purposes // (actually it only needs to implement a compatible `emit` method) events: EventEmitter }