UNPKG

validate-env-vars

Version:

A lightweight utility to check the presence and validity of environment variables, as specified by a Zod schema

126 lines 3.04 kB
{ "name": "validate-env-vars", "type": "module", "version": "0.4.3", "description": "A lightweight utility to check the presence and validity of environment variables, as specified by a Zod schema", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=20" }, "repository": { "type": "git", "url": "git+https://github.com/noahtigner/validate-env-vars.git" }, "bugs": { "url": "https://github.com/noahtigner/validate-env-vars/issues", "email": "noahzanetigner@gmail.com" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "keywords": [ "env", "environment", "variables", "check", "check-env-vars", "check-env", "check-env-variables", "validate", "validate-env-vars", "validate-env", "validate-env-variables", "ensure", "ensure-env-vars", "ensure-env", "pre-commit", "precommit", "pre-push", "preflight", "pre-flight", "pre-flight-check", "dotenv", "vite", "config" ], "author": { "name": "Noah Tigner", "email": "noahzanetigner@gmail.com", "url": "https://noahtigner.com" }, "license": "MIT", "jest": { "preset": "ts-jest", "verbose": true, "clearMocks": true, "testEnvironment": "node", "moduleFileExtensions": [ "js", "ts" ], "testMatch": [ "**/*.test.ts" ], "testPathIgnorePatterns": [ "/node_modules/", "/dist/" ], "transform": { "^.+\\.ts$": "ts-jest" }, "coverageReporters": [ "json-summary", "text", "lcov" ], "collectCoverage": true, "collectCoverageFrom": [ "./src/**" ], "setupFilesAfterEnv": [ "./__tests__/jest.setup.ts" ] }, "devDependencies": { "@types/jest": "^29.5.11", "@types/node": "^22.5.0", "@typescript-eslint/eslint-plugin": "^6.15.0", "@typescript-eslint/parser": "^6.20.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^28.5.0", "jest": "^29.7.0", "make-coverage-badge": "^1.2.0", "prettier": "^3.1.1", "ts-jest": "^29.1.1", "tsup": "^8.0.2", "typescript": "^5.3.3" }, "peerDependencies": { "dotenv": "^16.4.0", "dotenv-expand": "^11.0.6", "zod": "^3.22.4" }, "dependencies": { "dotenv": "^16.4.0", "dotenv-expand": "^11.0.6", "zod": "^3.22.4" }, "scripts": { "test": "jest", "coverage": "make-coverage-badge --output-path ./badges/coverage.svg", "format": "prettier --check .", "format:fix": "prettier --write .", "lint": "eslint . --ext js,ts --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext js,ts --report-unused-disable-directives --max-warnings 0 --fix", "typecheck": "tsc --noEmit", "build": "tsup ./src/index.ts --format esm --dts --minify" } }