price-calculation
v0.1.30
Published
Price calculation functions for T Dispatch bookings
Maintainers
Keywords
Readme
price-calculation
Price calculation functions for T Dispatch bookings
Installation
This module is installed via npm:
$ npm install price-calculationExample Usage
var priceCalculation = require('price-calculation');Release a version
- Test the release
$ npm test- Increase version number in package.json and in index.js
- Prepare the dist files
$ grunt build- Comment the module includes at the beginning and at the end out in dist/price-calculation.js
/*
var moment = require('moment-timezone'),
gju = require("geojson-utils");
*/
...
/*
module.exports = function () {
return new PriceCalculation();
};
*/
- Copy dist/price-calculation to tdispatch-light project
- Publish release
npm publish- Install new version on ng.66 and ng.88
cd /srv/pricing-api-ng
sudo su tdispatch
npm install price-calculation
sudo supervisorctl restart pricing-api-ng
sudo supervisorctl restart pricing-api-ng2
sudo supervisorctl restart pricing-api-ng3- Update tdispatch-light see repo readme
