*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;
|
|
27
package.json
27
package.json
|
@ -1,19 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "bcfg",
|
"name": "@lumeweb/cfg",
|
||||||
"version": "0.1.7",
|
"version": "0.1.7",
|
||||||
"description": "Config parser for bcoin",
|
|
||||||
"keywords": [
|
|
||||||
"conf",
|
|
||||||
"config"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "git://github.com/bcoin-org/bcfg.git",
|
"authors": [
|
||||||
"homepage": "https://github.com/bcoin-org/bcfg",
|
"Christopher Jeffrey <chjjeffrey@gmail.com>",
|
||||||
"bugs": {
|
"Hammer Technologies LLC <contact@lumeweb.com>"
|
||||||
"url": "https://github.com/bcoin-org/bcfg/issues"
|
],
|
||||||
},
|
"main": "dist/index.js",
|
||||||
"author": "Christopher Jeffrey <chjjeffrey@gmail.com>",
|
|
||||||
"main": "./lib/bcfg.js",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint lib/ || exit 0",
|
"lint": "eslint lib/ || exit 0",
|
||||||
"test": "bmocha --reporter spec test/*-test.js"
|
"test": "bmocha --reporter spec test/*-test.js"
|
||||||
|
@ -22,12 +15,6 @@
|
||||||
"bsert": "~0.0.10"
|
"bsert": "~0.0.10"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bmocha": "^2.1.0"
|
"@types/node": "^18.7.18"
|
||||||
},
|
|
||||||
"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