@lpgera/ts-env
Version:
An environment variable reader for TypeScript
56 lines (55 loc) • 1.38 kB
JSON
{
"name": "@lpgera/ts-env",
"version": "1.2.7",
"description": "An environment variable reader for TypeScript",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.js",
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.0.10",
"husky": "^9.1.7",
"jest": "^30.0.4",
"prettier": "^3.6.2",
"pretty-quick": "^4.2.2",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"scripts": {
"fix-cjs": "node -e \"require('fs').writeFileSync('./dist/cjs/package.json', '{\\\"type\\\": \\\"commonjs\\\"}')\"",
"prepare": "rm -rf dist && tsc && tsc -p tsconfig.cjs.json && npm run fix-cjs",
"prepublishOnly": "npm run test",
"postversion": "git push && git push --tags",
"test": "jest --coverage",
"test:watch": "jest --coverage --watchAll"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lpgera/ts-env.git"
},
"keywords": [
"typescript",
"env",
".env",
"environment",
"variables"
],
"author": "lpgera",
"license": "MIT",
"bugs": {
"url": "https://github.com/lpgera/ts-env/issues"
},
"homepage": "https://github.com/lpgera/ts-env#readme",
"files": [
"dist"
],
"volta": {
"node": "24.3.0"
}
}