0.0.13 • Published 10 years ago

mozilla-payments-config v0.0.13

Weekly downloads
1
License
MPL 2.0
Repository
github
Last release
10 years ago

Build Status npm version PyPI version

Payments Config

Configuration of products for payments-service, solitude et al.

python generate.py creates translations and json files.

In Python:

>>> from payments_config import products
>>> products['mozilla-concrete-brick'].amount
Decimal('10.00')

In Node:

> fs = require('fs')
> fs.readFile('json/products/mozilla-concrete-brick.json', 'utf-8', function(err, data) { console.log(JSON.parse(data).amount) });
> 10.00

Making a release

  • Bump the version in package.json
  • Commit and push to master
  • Go to the releases page and make a new release using the version e.g. 0.0.4 for the tag and Release title.
  • Travis will automagically make releases on PyPi and npm for you.
0.0.13

10 years ago

0.0.11

10 years ago

0.0.12

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago