{
  "name": "aidefense",
  "version": "2.3.0",
  "description": "AI Defense System — Production-ready security middleware for protecting AI applications from prompt injection, manipulation attacks, PII leakage, and adversarial inputs. Available as both 'aidefence' (British) and 'aidefense' (American).",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist",
    "src",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc",
    "dev": "tsx watch src/index.ts",
    "test": "vitest",
    "test:integration": "vitest run tests/integration",
    "test:unit": "vitest run tests/unit",
    "bench": "vitest bench",
    "lint": "eslint src tests --ext .ts",
    "format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
    "typecheck": "tsc --noEmit",
    "start": "node dist/index.js",
    "prepublishOnly": "npm run typecheck && npm run build",
    "publish:both": "npm run publish:aidefence && npm run publish:aidefense",
    "publish:aidefence": "npm pkg set name=aidefence && npm publish --access public",
    "publish:aidefense": "npm pkg set name=aidefense && npm publish --access public && npm pkg set name=aidefence"
  },
  "keywords": [
    "aidefence",
    "aidefense",
    "aimds",
    "ai-security",
    "ai-defense",
    "ai-defence",
    "ai-safety",
    "prompt-injection",
    "llm-security",
    "llm-defense",
    "security-middleware",
    "rate-limiting",
    "api-security",
    "input-validation",
    "threat-detection",
    "pii-detection",
    "xss-prevention",
    "sql-injection"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ruvnet/midstream.git",
    "directory": "AIMDS"
  },
  "homepage": "https://github.com/ruvnet/midstream/tree/main/AIMDS",
  "bugs": {
    "url": "https://github.com/ruvnet/midstream/issues"
  },
  "author": "rUv <ruv@ruv.net>",
  "license": "MIT OR Apache-2.0",
  "dependencies": {
    "compression": "^1.7.4",
    "cors": "^2.8.5",
    "dotenv": "^16.3.1",
    "express": "^5.2.1",
    "express-rate-limit": "^7.1.5",
    "helmet": "^7.1.0",
    "prom-client": "^15.1.0",
    "winston": "^3.11.0",
    "zod": "^3.22.4"
  },
  "devDependencies": {
    "@types/compression": "^1.7.5",
    "@types/cors": "^2.8.17",
    "@types/express": "^4.17.21",
    "@types/node": "^20.10.6",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^8.59.3",
    "@typescript-eslint/parser": "^8.59.3",
    "eslint": "^10.3.0",
    "prettier": "^3.1.1",
    "supertest": "^6.3.3",
    "tsx": "^4.7.0",
    "typescript": "^5.3.3",
    "vitest": "^4.1.6"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "overrides": {
    "protobufjs": ">=7.5.6",
    "@opentelemetry/sdk-node": ">=0.218.0"
  }
}
