commit | f94383c82416dc9d94447f5cd5567e16e4bc61ea | [log] [tgz] |
---|---|---|
author | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Fri Oct 02 21:42:52 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri Oct 02 21:42:52 2020 +0200 |
tree | b754a30ab848f03dca160d96b7b727d8806c579a | |
parent | 0bf04ce50c3f925c5c41c4bce7466831b7406901 [diff] |
chore: clean up package.json (#67)
This module is used for creating Cordova style projects. It also incudes support for Cordova App 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 }