{
  "name": "@codecot/pw-checker",
  "version": "1.1.0",
  "description": "A comprehensive CLI tool to audit passwords locally using HIBP and import from Chrome/Bitwarden",
  "type": "module",
  "main": "dist/index.js",
  "bin": "./bin/pw-checker.js",
  "files": [
    "bin/",
    "dist/",
    "scripts/",
    "data/*.template",
    "README.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=18.0.0"
  },
  "scripts": {
    "help": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --help",
    "health": "NODE_OPTIONS=\"--import tsx\" node src/healthCheck.ts",
    "security:setup": "bash scripts/setup-security.sh",
    "build": "tsc",
    "prebuild": "rm -rf dist",
    "prepublishOnly": "npm run build",
    "postinstall": "node -e \"try { require('fs').mkdirSync('db', { recursive: true }); require('fs').mkdirSync('reports', { recursive: true }); } catch (e) {}\"",
    "test": "echo \"Error: no test specified\" && exit 1",
    "dev": "NODE_OPTIONS=\"--import tsx\" node src/index.ts",
    "cli": "node bin/pw-checker.js",
    "view": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts",
    "view:compromised": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --compromised",
    "view:safe": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --safe",
    "view:unchecked": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --unchecked",
    "view:breached": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --breached",
    "view:breached:detailed": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --breached-detailed",
    "analyze:breaches": "NODE_OPTIONS=\"--import tsx\" node src/breachAnalysis.ts",
    "view:chrome": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --chrome",
    "view:chrome-compromised": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --chrome-compromised",
    "start": "NODE_OPTIONS=\"--import tsx\" node src/index.ts",
    "import:chrome": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --chrome",
    "import:chrome-csv": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --chrome-csv",
    "import:bitwarden": "NODE_OPTIONS=\"--import tsx\" node src/importFromBitwarden.ts",
    "import:bitwarden:help": "NODE_OPTIONS=\"--import tsx\" node src/importFromBitwarden.ts --help",
    "check:breaches": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --check-breaches",
    "check:breaches:resume": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --check-breaches --resume",
    "check:breaches:stats": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --breach-stats",
    "check:breaches:scheduled": "NODE_OPTIONS=\"--import tsx\" node src/index.ts --breach-scheduled",
    "clear:db": "NODE_OPTIONS=\"--import tsx\" node src/clearDb.ts",
    "update:schema": "NODE_OPTIONS=\"--import tsx\" node src/updateDbSchema.ts",
    "risk:calculate": "NODE_OPTIONS=\"--import tsx\" node src/riskAnalysis.ts --calculate-risk",
    "risk:show": "NODE_OPTIONS=\"--import tsx\" node src/riskAnalysis.ts --show-risks",
    "risk:report": "NODE_OPTIONS=\"--import tsx\" node src/riskAnalysis.ts --generate-pdf",
    "risk:all": "NODE_OPTIONS=\"--import tsx\" node src/riskAnalysis.ts --all",
    "view:high-risk": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --high-risk",
    "view:critical-risk": "NODE_OPTIONS=\"--import tsx\" node src/queryDb.ts --critical-risk",
    "format": "prettier --write \"src/**/*.ts\"",
    "format:check": "prettier --check \"src/**/*.ts\""
  },
  "keywords": [
    "password",
    "security",
    "audit",
    "hibp",
    "breach",
    "chrome",
    "bitwarden",
    "cli",
    "cybersecurity"
  ],
  "author": "Volodymyr Pasichnyk <volodymyr.pasichnyk@gmail.com>",
  "license": "MIT",
  "homepage": "https://github.com/codecot/pw-checker",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/codecot/pw-checker.git"
  },
  "bugs": {
    "url": "https://github.com/codecot/pw-checker/issues"
  },
  "dependencies": {
    "chalk": "^5.4.1",
    "csv-parser": "^3.2.0",
    "dotenv": "^16.5.0",
    "jspdf": "^3.0.1",
    "node-fetch": "^3.3.2",
    "sqlite": "^5.1.1",
    "sqlite3": "^5.1.7"
  },
  "devDependencies": {
    "prettier": "^3.5.3",
    "ts-node": "^10.9.2",
    "tsx": "^4.19.4",
    "typescript": "^5.8.3"
  }
}
