{
  "name": "impers",
  "version": "0.1.2",
  "description": "Nodejs binding for libcurl, with impersonation support.",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "impers": "./dist/cli.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.json",
    "gen:ffi-consts": "node scripts/generate-ffi-constants.js",
    "lint": "eslint .",
    "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
    "pretest:ci": "node -e \"require('node:fs').mkdirSync('reports', { recursive: true })\"",
    "test:ci": "node --experimental-vm-modules --enable-source-maps --trace-uncaught --trace-warnings --report-on-fatalerror --report-uncaught-exception --report-directory=reports node_modules/jest/bin/jest.js --maxWorkers=4 --verbose",
    "test:live": "node --experimental-vm-modules node_modules/jest/bin/jest.js tests/live-fingerprints.test.ts --runInBand",
    "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
    "docs:dev": "npm --prefix docs install && npm --prefix docs run start",
    "docs:build": "npm --prefix docs install && npm --prefix docs run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lexiforest/impers.git"
  },
  "homepage": "https://github.com/lexiforest/impers#readme",
  "bugs": {
    "url": "https://github.com/lexiforest/impers/issues"
  },
  "license": "MIT",
  "dependencies": {
    "koffi": "^3.0.2"
  },
  "devDependencies": {
    "@eslint/js": "^9.1.0",
    "@fastify/cookie": "^11.0.2",
    "@fastify/formbody": "^8.0.2",
    "@fastify/websocket": "^11.2.0",
    "@types/jest": "^30.0.0",
    "@types/node": "^20.19.27",
    "@types/ws": "^8.18.1",
    "eslint": "^9.1.0",
    "fastify": "^5.6.2",
    "globals": "^15.0.0",
    "jest": "^30.2.0",
    "ts-jest": "^29.4.6",
    "typescript": "^5.4.3",
    "typescript-eslint": "^8.0.0",
    "ws": "^8.19.0"
  }
}
