{
  "name": "clearscroll",
  "version": "0.4.0",
  "private": true,
  "description": "Local-first Chrome extension that blurs content about topics you choose, using an on-device Rust/WebAssembly sentence encoder.",
  "type": "module",
  "license": "ISC",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ozankenangungor/ClearScroll.git"
  },
  "bugs": {
    "url": "https://github.com/ozankenangungor/ClearScroll/issues"
  },
  "homepage": "https://github.com/ozankenangungor/ClearScroll#readme",
  "engines": {
    "node": ">=22.18"
  },
  "scripts": {
    "setup:model": "node scripts/setup-model.mjs",
    "build:wasm": "node scripts/build-wasm.mjs",
    "build:ext": "node scripts/build.mjs",
    "build": "npm run build:wasm && npm run build:ext",
    "validate": "node scripts/validate-dist.mjs",
    "typecheck": "tsc --noEmit",
    "test": "node --test \"tests/unit/**/*.test.ts\"",
    "test:rust": "cargo test --no-default-features --features cpu",
    "test:e2e": "node --test --test-concurrency=1 \"tests/e2e/**/*.test.ts\"",
    "evaluate": "cargo build --release --no-default-features --features cli && node scripts/evaluate.ts",
    "check": "npm run typecheck && npm test && npm run test:rust",
    "release:prepare": "npm run check && node scripts/assemble-production.mjs build/production-assembly && CLEARSCROLL_DIST=$PWD/build/production-assembly/a npm run test:e2e:text && npm run test:dom && CLEARSCROLL_DIST=$PWD/build/production-assembly/a npm run verify:privacy && CLEARSCROLL_DIST=$PWD/build/production-assembly/a npm run verify:privacy:feedback",
    "test:dom": "node --test --test-concurrency=1 \"tests/dom/**/*.test.ts\"",
    "verify:privacy": "node scripts/verify-no-egress.ts",
    "benchmark": "node scripts/benchmark.ts",
    "screenshots": "node scripts/demo-screenshots.ts",
    "setup:vision": "node scripts/setup-vision-model.mjs",
    "evaluate:vision": "node scripts/evaluate-vision.ts",
    "verify:privacy:images": "node scripts/verify-no-egress.ts --images && node scripts/verify-no-egress.ts --images --downloads",
    "benchmark:vision": "node scripts/benchmark-vision.ts",
    "verify:privacy:feedback": "node scripts/verify-no-egress.ts --feedback",
    "test:e2e:text": "node --test --test-concurrency=1 tests/e2e/a11y.test.ts tests/e2e/card-removal.test.ts tests/e2e/extension.test.ts tests/e2e/feedback.test.ts tests/e2e/text-boundaries.test.ts tests/e2e/topic-exclusions.test.ts tests/e2e/production.test.ts"
  },
  "devDependencies": {
    "@types/chrome": "^0.1.37",
    "@types/node": "^26.6.5",
    "axe-core": "^4.14.0",
    "esbuild": "^0.28.2",
    "playwright": "^1.64.0",
    "typescript": "^5.9.3"
  },
  "dependencies": {
    "onnxruntime-web": "1.30.0"
  }
}
