UNPKG

env-typed-config

Version:

Intuitive, type-safe configuration library for Node.js

96 lines (95 loc) 2.35 kB
{ "name": "env-typed-config", "type": "module", "version": "0.0.2", "packageManager": "pnpm@7.4.0", "description": "Intuitive, type-safe configuration library for Node.js", "author": "snowingfox", "license": "MIT", "homepage": "https://github.com/snowingfox/env-typed-config#readme", "repository": { "type": "git", "url": "git+https://github.com/snowingfox/env-typed-config.git" }, "bugs": "https://github.com/snowingfox/env-typed-config/issues", "keywords": [ "config", "env", "typed", "typescript", "typed-config" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist" ], "scripts": { "build": "tsup", "dev": "tsup --watch src", "lint": "eslint .", "prepublishOnly": "nr build", "release": "bumpp && npm publish", "start": "esno src/index.ts", "test": "vitest", "typecheck": "tsc --noEmit" }, "devDependencies": { "@antfu/eslint-config": "^0.27.0", "@antfu/ni": "^0.18.0", "@types/lodash.frompairs": "^4.0.7", "@types/lodash.merge": "^4.6.7", "@types/lodash.set": "^4.3.7", "@types/node": "^18.7.18", "bumpp": "^8.2.1", "debug": "^4.3.4", "eslint": "^8.23.1", "esno": "^0.16.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "tsup": "^6.3.0", "typescript": "^4.8.3", "vitest": "^0.23.4" }, "dependencies": { "@iarna/toml": "^2.2.5", "chalk": "^5.2.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "cosmiconfig": "^8.1.3", "dotenv": "^16.0.3", "dotenv-expand": "^10.0.0", "env-typed-config": "0.0.2-beta.1", "lodash.frompairs": "^4.0.1", "lodash.merge": "^4.6.2", "lodash.set": "^4.3.2", "parse-json": "^7.0.0", "yaml": "^2.2.2" }, "optionalDependencies": { "@iarna/toml": ">= 2.2.5", "@nestjs/axios": ">= 0.1.0", "cosmiconfig": ">= 8.0.0", "dotenv": ">= 16.0.0", "dotenv-expand": ">= 10.0.0", "parse-json": ">= 5.2.0", "yaml": ">= 1.10.2" } }