commit | fdc45add31b36dc9f4548b505a9127b43b8e4906 | [log] [tgz] |
---|---|---|
author | Erisu <erisu@apache.org> | Tue Nov 30 11:48:19 2021 +0900 |
committer | Erisu <erisu@apache.org> | Tue Nov 30 11:48:19 2021 +0900 |
tree | 7387dca882c147cfc248f9c75bdadf1e7649bec5 | |
parent | 93bc128d61adefb1dc66e08b46b143e1c82867dd [diff] |
release(4.0.0): updated release notes & version (create-4.0.0)
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 }