0.1.30 • Published 8 years ago
price-calculation v0.1.30
price-calculation
Price calculation functions for T Dispatch bookings
Installation
This module is installed via npm:
$ npm install price-calculation
Example 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
0.1.30
8 years ago
0.1.29
8 years ago
0.1.28
8 years ago
0.1.27
8 years ago
0.1.26
9 years ago
0.1.25
9 years ago
0.1.24
9 years ago
0.1.23
9 years ago
0.1.22
9 years ago
0.1.21
9 years ago
0.1.20
9 years ago
0.1.19
9 years ago
0.1.18
9 years ago
0.1.17
9 years ago
0.1.16
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.1.13
9 years ago