Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mozilla-payments-config

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mozilla-payments-config

Payments Config

  • 0.0.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 27 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc