ci: use GitHub Actions (#62)

* ci(github-actions): add workflow
* ci(travis): remove
* ci(appveyor): remove
* ci(doc): add actions & codecov badge to README.md
6 files changed
tree: f0a3b35910e71460d6df27d19836acb4c325082b
  1. .github/
  2. spec/
  3. .eslintignore
  4. .eslintrc.yml
  5. .gitignore
  6. .npmignore
  7. .ratignore
  8. CONTRIBUTING.md
  9. index.js
  10. LICENSE
  11. package-lock.json
  12. package.json
  13. README.md
  14. RELEASENOTES.md
README.md

cordova-create

Node CI codecov.io

This module is used for creating cordova style projects. It also incudes support for cordova templates. It can fetch templates from npm and git.

Usage:

const create = require('cordova-create');
await create(dest, opts);

Parameters

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
}