*Initial port to typescript
This commit is contained in:
parent
05122154b3
commit
82dddc75cf
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
This software is licensed under the MIT License.
|
This software is licensed under the MIT License.
|
||||||
|
|
||||||
Copyright (c) 2017, Christopher Jeffrey (https://github.com/chjj)
|
Copyright (c) 2017, Christopher Jeffrey (https://github.com/chjj), 2022 Hammer Technologies LLC
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/*!
|
|
||||||
* bcfg.js - configuration parsing for bcoin
|
|
||||||
* Copyright (c) 2016-2017, Christopher Jeffrey (MIT License).
|
|
||||||
* https://github.com/bcoin-org/bcoin
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
module.exports = require('./config');
|
|
1204
lib/config.js
1204
lib/config.js
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +0,0 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
exports.unsupported = true;
|
|
49
package.json
49
package.json
|
@ -1,33 +1,20 @@
|
||||||
{
|
{
|
||||||
"name": "bcfg",
|
"name": "@lumeweb/cfg",
|
||||||
"version": "0.1.7",
|
"version": "0.1.7",
|
||||||
"description": "Config parser for bcoin",
|
"license": "MIT",
|
||||||
"keywords": [
|
"authors": [
|
||||||
"conf",
|
"Christopher Jeffrey <chjjeffrey@gmail.com>",
|
||||||
"config"
|
"Hammer Technologies LLC <contact@lumeweb.com>"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"main": "dist/index.js",
|
||||||
"repository": "git://github.com/bcoin-org/bcfg.git",
|
"scripts": {
|
||||||
"homepage": "https://github.com/bcoin-org/bcfg",
|
"lint": "eslint lib/ || exit 0",
|
||||||
"bugs": {
|
"test": "bmocha --reporter spec test/*-test.js"
|
||||||
"url": "https://github.com/bcoin-org/bcfg/issues"
|
},
|
||||||
},
|
"dependencies": {
|
||||||
"author": "Christopher Jeffrey <chjjeffrey@gmail.com>",
|
"bsert": "~0.0.10"
|
||||||
"main": "./lib/bcfg.js",
|
},
|
||||||
"scripts": {
|
"devDependencies": {
|
||||||
"lint": "eslint lib/ || exit 0",
|
"@types/node": "^18.7.18"
|
||||||
"test": "bmocha --reporter spec test/*-test.js"
|
}
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bsert": "~0.0.10"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"bmocha": "^2.1.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8.0.0"
|
|
||||||
},
|
|
||||||
"browser": {
|
|
||||||
"./lib/fs": "./lib/fs-browser.js"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs",
|
||||||
|
"target": "esnext",
|
||||||
|
"sourceMap": true,
|
||||||
|
"esModuleInterop": true
|
||||||
|
},
|
||||||
|
"include": ["src"],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue