0.1.30 • Published 9 years ago

price-calculation v0.1.30

Weekly downloads
70
License
Proprietary
Repository
github
Last release
9 years ago

price-calculation

Price calculation functions for T Dispatch bookings

Build Status

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

9 years ago

0.1.29

9 years ago

0.1.28

9 years ago

0.1.27

10 years ago

0.1.26

10 years ago

0.1.25

10 years ago

0.1.24

10 years ago

0.1.23

10 years ago

0.1.22

10 years ago

0.1.21

10 years ago

0.1.20

10 years ago

0.1.19

10 years ago

0.1.18

10 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago