UNPKG

@mx7/tenv

Version:

type-safe environment variable parser

99 lines (98 loc) 2.46 kB
{ "name": "@mx7/tenv", "version": "1.1.0", "description": "type-safe environment variable parser", "main": "./lib/index.js", "module": "./lib/index.mjs", "types": "./lib/index.d.ts", "files": [ "./lib/index.d.ts", "./lib/index.js", "./lib/index.mjs", "./package.json" ], "exports": { "types": "./lib/index.d.ts", "require": "./lib/index.js", "import": "./lib/index.mjs" }, "keywords": [ "env", "type-safe env", "typed-env", "dotenv", "environment variables", "type-safe environment variables", "tenv", "tsenv", "typedenv" ], "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "format": "prettier --write \"**/*.ts\"", "lint": "eslint \"src/**/*.ts\"", "lint:fix": "eslint \"src/**/*.ts\" --fix", "commit": "cz", "prepublishOnly": "npm run build", "build": "tsup", "prepare": "husky" }, "author": "Mahabub <mahabubx7@gmail.com>", "license": "MIT", "engines": { "node": ">=18" }, "repository": { "url": "git+https://github.com/mahabubx7/tenv.git", "type": "git" }, "bugs": { "url": "https://github.com/mahabubx7/tenv/issues" }, "lint-staged": { "*.ts": [ "eslint --fix", "prettier --write", "git add" ] }, "config": { "commitizen": { "path": "./node_modules/cz-customizable" }, "cz-customizable": { "config": "./.cz-config.cjs" } }, "devDependencies": { "@commitlint/cli": "^18.6.0", "@commitlint/config-conventional": "^18.6.0", "@rollup/rollup-win32-x64-msvc": "^4.12.0", "@types/dotenv": "^8.2.0", "@types/jest": "^29.5.11", "@types/node": "^20.11.10", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "commitizen": "^4.3.0", "commitlint-config-gitmoji": "^2.3.1", "cz": "^1.8.2", "cz-customizable": "^7.0.0", "dotenv": "^16.4.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.7", "jest": "^29.7.0", "lint-staged": "^15.2.0", "prettier": "^3.2.4", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tsup": "^8.0.1", "typescript": "^5.3.3" }, "peerDependencies": { "dotenv": "^16.4.1" } }