forked from bcoin-org/bcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pkg.js
80 lines (60 loc) · 1006 Bytes
/
pkg.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*!
* 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 = 'bcoin';
/**
* Organization Name
* @const {String}
* @default
*/
pkg.organization = 'bcoin-org';
/**
* Currency Name
* @const {String}
* @default
*/
pkg.currency = 'bitcoin';
/**
* Currency Unit
* @const {String}
* @default
*/
pkg.unit = 'btc';
/**
* 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;