commit | a399529d4b2dc1cbf88f949f5fdc0d3f9101b0b2 | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Thu Apr 16 20:07:34 2020 +0900 |
committer | GitHub <noreply@github.com> | Thu Apr 16 20:07:34 2020 +0900 |
tree | 9d0f30e340b4a82f0dbd7615046cb5f10fd4561a | |
parent | 975538a1b26db445a30f5c9aa02f66689af9dba9 [diff] |
chore: various cleanup changes (#63) * doc(README.md): update format & added npm install badge * doc(LICENSE): added missing copyright year * doc(NOTICE): added missing file * test(license): added missing licenses and remove ratignore * test(eslint): add missing newline
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 }