UNPKG

nest-simple-config

Version:

A powerful and flexible configuration management library for NestJS applications. Supports JSON, YAML file loading, environment variable overrides, immutable configurations, and type-safe configuration access with dependency injection.

119 lines (118 loc) 3.8 kB
{ "name": "nest-simple-config", "version": "2.1.0", "description": "A powerful and flexible configuration management library for NestJS applications. Supports JSON, YAML file loading, environment variable overrides, immutable configurations, and type-safe configuration access with dependency injection.", "author": "Cymon Dez", "license": "MIT", "url": "https://github.com/cymondez/nest-simple-config", "scripts": { "build": "rimraf -rf dist && tsc -p tsconfig.json", "format": "prettier --write \"{lib,test}/**/*.ts\"", "lint": "eslint 'lib/**/*.ts' --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:e2e": "jest --config ./tests/jest-e2e.json --runInBand", "test:playwright-e2e": "playwright test", "prerelease": "npm run build", "release": "release-it" }, "devDependencies": { "@babel/core": "^7.22.11", "@babel/preset-typescript": "^7.22.5", "@commitlint/cli": "17.7.1", "@commitlint/config-angular": "17.7.0", "@jest/globals": "^29.6.2", "@nestjs/common": "^11.0.0", "@nestjs/core": "^11.0.0", "@nestjs/platform-express": "^11.0.0", "@nestjs/testing": "^11.0.0", "@playwright/test": "^1.37.0", "@types/flat": "^5.0.3", "@types/jest": "29.5.3", "@types/js-yaml": "^4.0.7", "@types/lodash": "^4.14.195", "@types/node": "^18.17.5", "@types/supertest": "^2.0.12", "@typescript-eslint/eslint-plugin": "6.3.0", "@typescript-eslint/parser": "6.3.0", "babel-jest": "^29.6.4", "cross-env": "^7.0.3", "eslint": "8.47.0", "eslint-config-prettier": "9.0.0", "eslint-plugin-import": "2.28.0", "husky": "8.0.3", "jest": "29.6.2", "joi": "17.9.2", "lint-staged": "13.2.3", "playwright": "^1.37.0", "prettier": "3.0.1", "reflect-metadata": "^0.1.14", "release-it": "16.1.4", "rimraf": "^5.0.1", "supertest": "^6.3.3", "ts-jest": "^29.1.1", "typescript": "5.1.6" }, "dependencies": { "@types/minimist": "^1.2.5", "class-transformer": "^0.5.1", "class-validator": "^0.14.2", "flat": "^5.0.2", "js-yaml": "^4.1.0", "lodash": "^4.17.21", "minimist": "^1.2.8" }, "peerDependencies": { "@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.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/cymondez/nest-simple-config" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "keywords": [ "nestjs", "nest", "config", "configuration", "settings", "environment", "env", "json", "yaml", "yml", "file-config", "config-management", "environment-variables", "app-config", "configuration-loader", "config-service", "immutable-config", "type-safe", "typescript", "dependency-injection", "node", "nodejs", "backend", "server", "microservice", "enterprise" ] }