commit | 93bc128d61adefb1dc66e08b46b143e1c82867dd | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Tue Nov 02 14:25:49 2021 +0900 |
committer | GitHub <noreply@github.com> | Tue Nov 02 14:25:49 2021 +0900 |
tree | abaf5332f0d55cbb3e0b4f60e8551f0646b5f1ac | |
parent | 70bc862cb1c838aa3eb64bb5ab286249421ec08b [diff] |
dep!: update all dependencies (#68) * dep!: cordova-app-hello-world@^6.0.0 * dep: cordova-common@^4.0.2 * dep: cordova-fetch@^3.0.1 * dep!: fs-extra@^10.0.0 * dep!: globby@^12.0.2 * dep: import-fresh@^3.3.0 * dep: npm-package-arg@^8.1.5 * dep!(dev): @cordova/eslint-config@^4.0.0 * dep(dev): jasmine@^3.10.0 * dep(dev): nyc@^15.1.0 * chore: rebuild package-lock v1 * chore: rebuild package-lock v2 * dep: revert/downgrade globby@^11.0.4
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 }