{
  "name": "jsonriver",
  "type": "module",
  "version": "1.1.0",
  "description": "A JSON parser that produces increasingly complete versions of the parsed value.",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "license": "BSD-3-Clause",
  "exports": {
    ".": {
      "import": "./dist/index.js"
    }
  },
  "files": [
    "dist/",
    "!dist/test",
    "LICENSE",
    "README.md"
  ],
  "scripts": {
    "build": "wireit",
    "test": "wireit",
    "benchmark": "wireit",
    "node-bench": "wireit",
    "format": "prettier . -w",
    "format:check": "prettier . -c",
    "lint": "wireit",
    "build-bench-bundle": "wireit"
  },
  "keywords": [
    "json",
    "parser",
    "streaming",
    "incremental"
  ],
  "devDependencies": {
    "@types/node": "^22.7.5",
    "@typescript-eslint/eslint-plugin": "^7.0.1",
    "@typescript-eslint/parser": "^7.0.1",
    "esbuild": "^0.25.4",
    "eslint": "^8.48.0",
    "fast-check": "^4.3.0",
    "np": "^10.0.7",
    "prettier": "^3.3.3",
    "tachometer": "^0.7.1",
    "typescript": "^5.6.3",
    "wireit": "^0.14.9"
  },
  "wireit": {
    "build": {
      "files": [
        "src/**/*.ts",
        "tsconfig.json"
      ],
      "output": [
        "dist"
      ],
      "command": "tsc"
    },
    "test": {
      "dependencies": [
        "build"
      ],
      "command": "node --test --test-reporter=spec dist/test/*.js"
    },
    "build-bench-bundle": {
      "files": [
        "src/**/*.ts"
      ],
      "output": [
        "bench/bundles/bundle.min.js"
      ],
      "command": "esbuild src/index.ts --bundle --format=esm --target=es2022 --minify --outfile=bench/bundles/bundle.min.js"
    },
    "benchmark": {
      "#comment": "Compare jsonriver vs jsonparse in the browser",
      "dependencies": [
        "build-bench-bundle"
      ],
      "files": [
        "bench/jsonriver.html",
        "bench/jsonparse.html"
      ],
      "command": "tachometer bench/jsonriver.html bench/jsonriver-1.0.html bench/jsonparse.html "
    },
    "node-bench": {
      "#comment": "Compare jsonriver vs JSON.parse in Node.js",
      "dependencies": [
        "build-bench-bundle"
      ],
      "command": "node bench/node-bench.js"
    },
    "lint": {
      "command": "eslint --color --cache --cache-location .eslintcache .",
      "files": [
        ".eslintignore",
        ".eslintrc.cjs",
        "src/**/*.ts",
        "tsconfig.json"
      ],
      "output": []
    }
  },
  "prettier": {
    "singleQuote": true,
    "bracketSpacing": false
  }
}
