{
  "name": "email-scrubber-core",
  "version": "1.1.0",
  "description": "A privacy-focused email sanitizer that removes trackers and cleans URLs, powered by the ClearURLs ruleset.",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "scripts": {
    "build": "tsc",
    "type-check": "tsc --noEmit",
    "type-check:test": "tsc --noEmit --project tsconfig.test.json",
    "type-check:all": "npm run type-check && npm run type-check:test",
    "format": "biome format --write .",
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "lint:unsafe_fix": "biome check --write --unsafe .",
    "lint:ci": "biome ci .",
    "test": "NODE_OPTIONS=--experimental-vm-modules jest",
    "test:ci": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns='.*\\.performance\\.test\\.ts$'",
    "check": "npm run type-check:all && npm run lint && npm run test",
    "check:ci": "npm run type-check:all && npm run lint:ci && npm run test:ci",
    "ci": "npm run check:ci && npm run build",
    "prepublishOnly": "npm run build",
    "semantic-release": "npx semantic-release",
    "upgrade": "npx npm-check-updates -u && npm install"
  },
  "_scripts_documentation": {
    "build": "Compile TypeScript to JavaScript in dist/",
    "type-check": "Check TypeScript types for source files only",
    "type-check:test": "Check TypeScript types for test files only",
    "type-check:all": "Check TypeScript types for both source and test files",
    "format": "Format code using Biome",
    "lint": "Check code quality and formatting using Biome",
    "lint:fix": "Fix auto-fixable linting issues",
    "lint:unsafe_fix": "Fix auto-fixable linting issues including unsafe fixes",
    "lint:ci": "Run Biome in CI mode (stricter)",
    "test": "Run Jest tests with ES modules support",
    "test:ci": "Run Jest tests with ES modules support, excluding performance tests",
    "check": "Run all checks (types, lint, tests) - for development",
    "check:ci": "Run all checks (types, lint, tests) for CI/CD",
    "ci": "Run all CI checks including build - for CI/CD",
    "prepublishOnly": "Runs before npm publish to ensure quality",
    "semantic-release": "Create semantic releases with automated versioning",
    "upgrade": "Upgrades dependencies using npm-check-updates."
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/CutTheCrapTech/email-scrubber-core.git"
  },
  "keywords": [
    "email",
    "sanitizer",
    "privacy",
    "tracker",
    "cleaner",
    "clearurls",
    "url-cleaning",
    "tracking-removal",
    "email-security",
    "html-cleaning",
    "typescript",
    "cloudflare",
    "worker"
  ],
  "author": "CutTheCrapTech",
  "license": "LGPL-3.0",
  "bugs": {
    "url": "https://github.com/CutTheCrapTech/email-scrubber-core/issues"
  },
  "homepage": "https://github.com/CutTheCrapTech/email-scrubber-core#readme",
  "publishConfig": {
    "provenance": true,
    "access": "public"
  },
  "engines": {
    "node": ">=22.0.0",
    "npm": ">=10.0.0"
  },
  "dependencies": {
    "linkedom": "^0.18.11"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.0.6",
    "@cloudflare/workers-types": "^4.20250620.0",
    "@types/jest": "^30.0.0",
    "@types/jsdom": "^21.1.7",
    "globals": "^16.2.0",
    "jest": "^30.0.2",
    "jsdom": "^26.1.0",
    "semantic-release": "^24.2.5",
    "ts-jest": "^29.4.0",
    "typescript": "^5.8.3"
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md"
  ],
  "release": {
    "branches": [
      "main"
    ]
  }
}
