commit | 64d6fcaa3b6bd0e941b12cdd2cd6665bd005690b | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Thu Apr 16 15:30:43 2020 +0900 |
committer | GitHub <noreply@github.com> | Thu Apr 16 15:30:43 2020 +0900 |
tree | 54ae56829d61a69afeca96b11b3975c1d13363b5 | |
parent | 2b866fa355a8a6de62b4aaa28723e100a191ef7d [diff] |
breaking(npm): bump dependencies (#59) * breaking(npm): bump dev dependencies * nyc@^15.0.1 * rewire@^5.0.0 * breaking(npm): bump dependencies * cordova-app-hello-world@^5.0.0 * cordova-common@^4.0.0 * cordova-fetch@^3.0.0 * fs-extra@^9.0.0 * globby@^11.0.0 * import-fresh@^3.2.1 * npm-package-arg@^8.0.1
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 }