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