commit | 035a27e300c0cb055a64c1e15011c009e2bba62e | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Tue Dec 13 16:10:22 2022 +0900 |
committer | GitHub <noreply@github.com> | Tue Dec 13 16:10:22 2022 +0900 |
tree | 50810a90c00f21af24d62a6198cf8afd1d675b42 | |
parent | 7dbe062f15a4e1ee80bce1ea2b796a00c20f42c7 [diff] |
feat: bump 4.1.0-dev (#72)
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 }