UNPKG

wj-config

Version:

Javascript configuration module for NodeJS and browser frameworks such as React that works like ASP.net configuration where data sources are specified (usually JSON files) and environment variables can contribute/overwrite values by following a naming con

81 lines (80 loc) 2.12 kB
{ "name": "wj-config", "version": "3.2.1", "type": "module", "description": "Javascript configuration module for NodeJS and browser frameworks such as React that works like ASP.net configuration where data sources are specified (usually JSON files) and environment variables can contribute/overwrite values by following a naming convention.", "author": { "email": "webJose@gmail.com", "name": "José Pablo Ramírez Vargas" }, "keywords": [ "config", "wj", "wj-config", "nodejs", "node-config", "config-node", "env", "environment", "json", "json-config", "react", "react-config", "config-react", "microservice", "mife", "microfrontend" ], "repository": { "type": "git", "url": "git+https://github.com/WJSoftware/wj-config.git" }, "bugs": { "url": "https://github.com/WJSoftware/wj-config/issues" }, "license": "MIT-open-group", "homepage": "https://github.com/WJSoftware/wj-config#readme", "main": "./out/index.js", "types": "./out/wj-config.d.ts", "exports": { ".": { "types": "./out/index.d.ts", "import": "./out/index.js", "default": "./out/index.js" }, "./dist": { "types": "./dist/index.d.ts", "import": "./dist/index.min.js", "default": "./dist/index.min.js" } }, "scripts": { "build": "pwsh ./build-npm.ps1 && publint", "build:debug": "pwsh ./build-npm.ps1 -Verbose && publint", "test": "ts-mocha -n loader=ts-node/esm -p ./tsconfig.json \"./tests/**/*.test.ts\"" }, "engines": { "node": ">=16.9.0" }, "files": [ "out", "dist/index.*" ], "devDependencies": { "@rollup/plugin-typescript": "^12.1.4", "@types/chai": "^5.2.2", "@types/mocha": "^10.0.10", "@types/node": "^24.6.1", "@types/sinon": "^17.0.4", "chai": "^6.2.0", "mocha": "^11.7.5", "publint": "^0.3.9", "rollup": "^4.52.3", "rollup-plugin-esbuild-minify": "^1.3.0", "sinon": "^21.0.0", "ts-mocha": "^11.1.0", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.9.3" } }