{
  "name": "bot-guardian-js",
  "version": "1.2.0",
  "description": "A powerful bot detection and prevention library for Node.js applications",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "bin": {
    "guardian-setup": "./dist/cli/bin.js"
  },
  "exports": {
    ".": "./dist/index.js",
    "./nextjs": "./dist/integrations/nextjs.js",
    "./express": "./dist/integrations/express.js",
    "./react": "./dist/integrations/react.js"
  },
  "scripts": {
    "clean": "rm -rf dist",
    "prebuild": "npm run clean",
    "build": "tsc",
    "postbuild": "cp package.json README.md dist/",
    "test": "node run-tests.js",
    "test:core": "jest src/core/__tests__ src/middleware/__tests__ src/client/__tests__ src/server/__tests__/tracking.test.ts",
    "test:integration": "cd test-guardianjs && node test.js",
    "test:unit": "jest --testMatch '**/test/**/*.test.ts'",
    "prepare": "npm run build",
    "postinstall": "node -e \"try { require('./dist/cli/postinstall.js') } catch (e) {}\""
  },
  "keywords": [
    "bot",
    "detection",
    "security",
    "express",
    "nextjs"
  ],
  "author": "Mahmood Hamsho",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hamsho93/gaurdianjs.git"
  },
  "devDependencies": {
    "@babel/core": "^7.26.9",
    "@babel/plugin-transform-modules-commonjs": "^7.26.3",
    "@babel/preset-env": "^7.26.9",
    "@types/cors": "^2.8.17",
    "@types/express": "^4.17.13",
    "@types/jest": "^27.0.3",
    "@types/mongoose": "^5.11.97",
    "@types/node": "^16.11.12",
    "@types/node-fetch": "^2.6.12",
    "@types/react": "^17.0.37",
    "@types/react-dom": "^17.0.11",
    "@types/supertest": "^2.0.11",
    "@types/ua-parser-js": "^0.7.36",
    "jest": "^27.4.5",
    "mongodb-memory-server": "^8.0.0",
    "node-fetch": "^2.7.0",
    "supertest": "^6.1.6",
    "ts-jest": "^27.1.2",
    "typescript": "^4.5.4"
  },
  "dependencies": {
    "bot-guardian-js": "^1.1.2",
    "cors": "^2.8.5",
    "cross-fetch": "^3.1.5",
    "express": "^4.17.1",
    "mongoose": "^6.0.0",
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0",
    "ua-parser-js": "^1.0.2"
  },
  "peerDependencies": {
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0"
  }
}
