commit | 96cb2ad18723471315844c55a285c8185f14fec2 | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Thu Apr 16 15:20:29 2020 +0900 |
committer | GitHub <noreply@github.com> | Thu Apr 16 15:20:29 2020 +0900 |
tree | f5641947e6e58dd0ebb582309debe5fd7ea311c9 | |
parent | 97866fc731dcc15927e71a3f28ffd21a42aa2fbb [diff] |
chore(npm): use short notation in package.json (#58)
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 }