{
  "name": "ctrf",
  "version": "0.2.1",
  "description": "CTRF reference implementation in TypeScript for creating and validating CTRF documents.",
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "bin": {
    "ctrf": "dist/cli/cli.js"
  },
  "engines": {
    "node": ">=20.19.0"
  },
  "scripts": {
    "build": "tsup && cp src/ctrf-schema-*.json dist/",
    "build:check": "tsc -p . --noEmit",
    "build:watch": "tsup --watch",
    "clean": "rm -rf dist && rm -rf coverage && rm -rf ctrf",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage",
    "lint": "eslint . --ext .ts --fix",
    "lint:check": "eslint . --ext .ts",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "docs": "typedoc",
    "docs:watch": "typedoc --watch",
    "update-readme": "npx tsx update-readme.ts",
    "attw": "npm pack && attw ctrf-*.tgz && rm ctrf-*.tgz",
    "all": "npm run build:check && npm run test:coverage && npm run lint && npm run format && npm run docs && npm run build"
  },
  "files": [
    "dist/",
    "types/",
    "src/ctrf-schema-*.json",
    "README.md"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ctrf-io/ctrf-js.git"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "homepage": "https://ctrf.io",
  "author": "Matthew Poulton-White",
  "license": "MIT",
  "security": {
    "email": "security@ctrf.io",
    "url": "https://github.com/ctrf-io/security/blob/main/SECURITY.md"
  },
  "keywords": [
    "test",
    "testing",
    "ctrf",
    "reporter",
    "report",
    "json",
    "standard",
    "typescript",
    "reference-implementation",
    "test-results",
    "validation",
    "schema"
  ],
  "dependencies": {
    "ajv": "8.20.0",
    "ajv-formats": "3.0.1",
    "glob": "13.0.6",
    "yargs": "18.0.0"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "0.18.3",
    "@d2t/vitest-ctrf-json-reporter": "1.3.0",
    "@eslint/js": "10.0.1",
    "@types/node": "25.9.2",
    "@types/yargs": "17.0.32",
    "@vitest/coverage-v8": "4.1.8",
    "eslint": "10.4.1",
    "prettier": "3.8.3",
    "tsup": "8.5.1",
    "typedoc": "0.28.19",
    "typedoc-plugin-markdown": "4.12.0",
    "typescript": "6.0.3",
    "typescript-eslint": "8.60.1",
    "vitest": "4.1.8"
  }
}
