load-config-file
Version:
Load the config file as a plain object. The config file format can be registered.
96 lines (95 loc) • 2.57 kB
JSON
{
"name": "load-config-file",
"description": "Load the config file as a plain object. The config file format can be registered.",
"version": "2.1.0",
"homepage": "https://github.com/snowyu/load-config-file.js",
"repository": {
"type": "git",
"url": "git://github.com/snowyu/load-config-file.js.git"
},
"main": "./lib/index.js",
"module": "./src/index.js",
"files": [
"README.md",
"LICENSE-MIT",
"*.js",
"*.ts",
"*.coffee",
"test",
"src",
"lib"
],
"keywords": [
"load",
"config",
"configuration",
"file",
"yaml",
"json",
"cson",
"ini",
"object",
"fs",
"abstract"
],
"dependencies": {
"path.js": "^2.0.0",
"promise-sequence": "^2.0.0",
"util-ex": "^2.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.11.4",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/register": "^7.23.7",
"chai": "~4.3.10",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"mocha": "~10.8.2",
"prettier": "^3.2.5",
"sinon": "~15.0.3",
"sinon-chai": "~3.7.0",
"typedoc": "^0.25.12",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.4.3"
},
"scripts": {
"build": "npm run build.cjs && npm run build.ts && npm run doc.md",
"build.cjs": "babel src --out-dir lib --config-file ./.babelrc",
"build.ts": "tsc --declaration --emitDeclarationOnly --outDir lib;cp src/*.d.ts lib/",
"clean": "rm -fr web docs lib",
"clean.doc": "rm -fr web docs",
"clean.ts": "rm -fr lib/*.d.ts",
"clean.lib": "rm -fr lib",
"doc": "typedoc --plugin none --out web ./src",
"doc.md": "typedoc --plugin typedoc-plugin-markdown --out docs ./src",
"lint": "npx eslint --config .eslintrc.yml src",
"lint.fix": "npm run lint -- --fix",
"release": "npm run clean && npm run build && git add docs && git ci -m 'docs: update API docs' && npx commit-and-tag-version -s",
"release.alpha": "npm run release -- --prerelease alpha",
"test": "mocha"
},
"contributors": [
{
"name": "Riceball LEE",
"email": "snowyu.lee@gmail.com",
"url": "https://github.com/snowyu"
}
],
"maintainers": [
{
"name": "Riceball LEE",
"email": "snowyu.lee@gmail.com"
}
],
"pre-commit": [
"test"
],
"bugs": {
"url": "https://github.com/snowyu/load-config-file.js/issues"
},
"license": "MIT",
"stability": "unstable"
}