@nestjs/config
Version:
Configuration for NestJS: load .env files and custom configuration, validate it at startup, and read it through an injectable ConfigService.
91 lines (90 loc) • 2.41 kB
JSON
{
"name": "@nestjs/config",
"version": "12.1.1",
"type": "module",
"description": "Configuration for NestJS: load .env files and custom configuration, validate it at startup, and read it through an injectable ConfigService.",
"keywords": [
"nestjs",
"nest",
"config",
"configuration",
"dotenv",
"env",
"environment-variables",
"settings"
],
"author": "Kamil Mysliwiec",
"license": "MIT",
"url": "https://github.com/nestjs/config#readme",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "rimraf -rf dist && tsc -p tsconfig.json",
"format": "prettier --write \"{lib,test}/**/*.ts\"",
"lint": "oxlint lib/ --fix",
"prepublish:npm": "npm run build",
"publish:npm": "npm publish --access public",
"prepublish:next": "npm run build",
"publish:next": "npm publish --access public --tag next",
"test:integration": "vitest run --config vitest.config.mts",
"prerelease": "npm run build",
"release": "release-it"
},
"dependencies": {
"@standard-schema/spec": "1.1.0",
"dotenv": "18.0.3",
"dotenv-expand": "13.0.0",
"es-toolkit": "1.53.1"
},
"devDependencies": {
"@commitlint/cli": "21.2.4",
"@commitlint/config-angular": "21.2.4",
"@nestjs/common": "12.3.3",
"@nestjs/core": "12.3.3",
"@nestjs/platform-express": "12.3.3",
"@nestjs/testing": "12.3.3",
"@types/lodash": "4.17.27",
"@types/node": "26.6.6",
"husky": "9.1.7",
"joi": "18.3.2",
"lint-staged": "17.6.0",
"oxlint": "1.91.0",
"prettier": "3.9.10",
"reflect-metadata": "0.2.2",
"release-it": "21.1.2",
"rimraf": "6.1.4",
"rxjs": "7.8.2",
"typescript": "7.0.2",
"valibot": "1.5.0",
"vite": "8.3.6",
"vitest": "5.1.0",
"zod": "4.6.7"
},
"peerDependencies": {
"@nestjs/common": "^11.0.0 || ^12.0.0",
"rxjs": "^7.1.0"
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "https://github.com/nestjs/config"
}
}