cordova-version
Sets config.xml version and build number from package.json
Last updated 5 years ago by disusered .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cordova-version 
SYNC missed versions from official npm registry.

NPM version Dependency Status Build Status Code Climate

Sets config.xml version and build number from package.json

Install

$ npm install --save-dev cordova-version

Usage

Hook

// my-version-hook.js
var version = require('cordova-version');

module.exports = function() {
  return version.update();
};
<!-- config.xml -->
<hook src="my-version-hook.js" type="before_prepare" />

Manual

$ npm install --global cordova-version
$ cordova-version --help

Requirements

  • Semantic Versioning version and build number
  • Cordova's config.xml file must exist in the root folder

License

MIT © Carlos Antonio

Current Tags

  • 0.1.3                                ...           latest (5 years ago)

4 Versions

  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |