commit | b64df2e9b8e61d2c80903b5fbd059bd8dc868398 | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Fri Nov 15 11:09:40 2019 +0900 |
committer | GitHub <noreply@github.com> | Fri Nov 15 11:09:40 2019 +0900 |
tree | 07f64de17184fd04fd919b72c5669d05fb6140fa | |
parent | d89424341df936462977c3ced24bc05e63155510 [diff] |
refactor: eslint setup (#54) * replace dependencies with @cordova/eslint-config * update eslint config * eslint corrections
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 }