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);
destRequired. Path to the destination where the project will be created. Must be an empty dir if it exists.
optsOptional. 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 }