Updated Package Dev Dependencies

- eslint@^5.11.0
- eslint-config-semistandard@^13.0.0
- eslint-config-standard@^12.0.0
- eslint-plugin-import@^2.14.0
- eslint-plugin-node@^8.0.0
- eslint-plugin-promise@^4.0.1
- eslint-plugin-standard@^4.0.0
- jasmine@^3.3.1
- nyc@^13.1.0

* Fixed ESLint complaints
* Rebuilt package-lock.json
3 files changed
tree: 306c7fac1593b0ac4bf334eeb803c567dcd4a0c9
  1. .github/
  2. spec/
  3. .eslintrc.yml
  4. .gitignore
  5. .npmignore
  6. .ratignore
  7. .travis.yml
  8. appveyor.yml
  9. index.js
  10. LICENSE
  11. package-lock.json
  12. package.json
  13. README.md
  14. RELEASENOTES.md
README.md

Build status Build Status

cordova-create

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:

var create = require('cordova-create');

create(dir, id, name, cfg, extEvents);
  • dir - directory where the project will be created. Required.
  • id - app id. Required (but can be “undefined”).
  • name - app name. Required (but can be “undefined”).
  • cfg - extra config to be saved in .cordova/config.json Required (but can be “{}”).
  • extEvents - An EventEmitter instance that will be used for logging purposes. Required (but can be “undefined”).

An example of cfg which would fetch a cordova template from npm (or git):

var cfg = {
    lib: {
        www: {
            template: true,
            url: 'cordova-app-hello-world',
            version: ''
        }
    }
};