@j2blasco/ts-env
Version:
A TypeScript utility for securely managing environment variables through file encryption and runtime loading
78 lines (77 loc) • 2.13 kB
JSON
{
"name": "@j2blasco/ts-env",
"version": "0.0.4",
"description": "A TypeScript utility for securely managing environment variables through file encryption and runtime loading",
"author": "j2blasco",
"license": "MIT",
"type": "module",
"keywords": [
"typescript",
"environment-variables",
"encryption",
"security",
"env",
"config",
"cli",
"aes",
"environment",
"nodejs"
],
"publishConfig": {
"access": "public"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/j2blasco/ts-env.git"
},
"bin": {
"ts-env": "./dist/bin/cli.cjs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"clean": "shx rm -rf dist",
"env:bin:decrypt": "node ./dist/bin/cli.cjs decrypt",
"env:bin:encrypt": "node ./dist/bin/cli.cjs encrypt",
"env:bin": "node ./dist/bin/cli.cjs",
"env:decrypt": "tsx ./src/bin/cli.ts decrypt",
"env:encrypt": "tsx ./src/bin/cli.ts encrypt",
"lint:fix": "npm run boundaries && eslint src --ext .ts",
"lint": "npm run boundaries && eslint src --ext .ts",
"prepublishOnly": "npm run build",
"script": "tsx --tsconfig ./scripts/tsconfig.json",
"test": "jest"
},
"devDependencies": {
"@j2blasco/ts-boundaries": "^0.1.2",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"eslint": "^9.29.0",
"eslint-import-resolver-typescript": "^4.4.3",
"eslint-plugin-boundaries": "^5.0.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.0",
"jest": "^29.7.0",
"shx": "^0.4.0",
"ts-jest": "^29.3.2",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.5.0",
"tsx": "^4.20.3",
"typescript": "~5.7.2"
}
}