dotenv-constraint
Version:
A lightweight package to enforce constraints on environment variables in JavaScript, ensuring required variables are defined and match expected types.
71 lines (70 loc) • 1.53 kB
JSON
{
"name": "dotenv-constraint",
"description": "A lightweight package to enforce constraints on environment variables in JavaScript, ensuring required variables are defined and match expected types.",
"version": "1.0.6",
"license": "MIT",
"author": "Danny Louveton <dannylouveton@gmail.com>",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"release": {
"branches": [
"main"
]
},
"scripts": {
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
"build": "tsup",
"dev": "tsup --watch",
"commit": "cz"
},
"repository": {
"type": "git",
"url": "https://github.com/dannylouveton/dotenv-constraint.git"
},
"keywords": [
"env",
"environment",
"dovenv",
"constraint",
"constraints",
"types",
"check",
"validate",
"variables",
"validation",
"config",
"nodejs"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.1.0",
"commitizen": "^4.3.1",
"jest": "^29.7.0",
"semantic-release": "^24.0.0",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"tsup": "^8.4.0"
},
"prettier": {
"semi": false,
"tabWidth": 2,
"singleQuote": true
}
}