fcoin/lib/pkg.js

81 lines
998 B
JavaScript

/*!
* pkg.js - package constants
* Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin
*/
'use strict';
const pkg = exports;
/**
* Package Name
* @const {String}
* @default
*/
pkg.name = require('../package.json').name;
/**
* Project Name
* @const {String}
* @default
*/
pkg.core = 'fcoin';
/**
* Organization Name
* @const {String}
* @default
*/
pkg.organization = 'oipwg';
/**
* Currency Name
* @const {String}
* @default
*/
pkg.currency = 'flo';
/**
* Currency Unit
* @const {String}
* @default
*/
pkg.unit = 'flo';
/**
* Base Unit
* @const {String}
* @default
*/
pkg.base = 'satoshi';
/**
* Config file name.
* @const {String}
* @default
*/
pkg.cfg = `${pkg.core}.conf`;
/**
* Repository URL.
* @const {String}
* @default
*/
pkg.url = `https://github.com/${pkg.organization}/${pkg.name}`;
/**
* Current version string.
* @const {String}
*/
pkg.version = require('../package.json').version;