Files
envsitter/package.json
T
David Ibia af471c9821 Prepare 0.1.0: one dotenv grammar, path policy, redactor, and safer writes
- parseDotenv, validate, and every edit share the round-trip document parser
- Path policy helpers (isEnvFile, isSensitiveEnvFile, isEnvSitterPepperFile) used by envsitter-guard
- CLI file commands run through the library file operations
- EnvSitter#redactor() and the redact command replace secret-looking values in text
- Writes keep file permissions and go through symlinks; new files are 0600
- An existing pepper is never replaced; a new .envsitter/ gets a .gitignore
- set/add/copy into empty files write clean output
- Regexes with g/y flags no longer skip keys
- TypeScript 6, Node 22+ engines, prepack build, dist/test excluded from the package
2026-10-20 15:10:13 +01:00

56 lines
1.1 KiB
JSON

{
"name": "envsitter",
"version": "0.1.0",
"private": false,
"type": "module",
"description": "Safely inspect and match .env secrets without exposing values",
"homepage": "https://boxpositron.github.io/envsitter/",
"repository": {
"type": "git",
"url": "git+https://github.com/boxpositron/envsitter.git"
},
"keywords": [
"dotenv",
"env",
"secrets",
"secret",
"security",
"hmac",
"fingerprint",
"audit",
"cli",
"devops",
"configuration",
"config"
],
"license": "MIT",
"engines": {
"node": ">=22"
},
"bin": {
"envsitter": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"!dist/test"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "npm run build && node scripts/run-tests.mjs",
"prepack": "npm run build",
"prepare": "husky"
},
"devDependencies": {
"@types/node": "^22.20.5",
"husky": "^9.1.7",
"typescript": "^6.0.3"
}
}