{
  "name": "@appthreat/cdx-proto",
  "version": "2.0.1",
  "description": "Library to serialize/deserialize CycloneDX BOM with protocol buffers",
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./v1.5": {
      "types": "./dist/v1.5.d.ts",
      "default": "./dist/v1.5.js"
    },
    "./v1.6": {
      "types": "./dist/v1.6.d.ts",
      "default": "./dist/v1.6.js"
    },
    "./v1.7": {
      "types": "./dist/v1.7.d.ts",
      "default": "./dist/v1.7.js"
    }
  },
  "sideEffects": false,
  "engines": {
    "node": ">=20"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/AppThreat/cdx-proto.git"
  },
  "bugs": {
    "url": "https://github.com/AppThreat/cdx-proto/issues"
  },
  "scripts": {
    "lint": "tsc --noEmit",
    "build": "npx buf generate && tsc",
    "prepare": "npm run build",
    "pretest": "npm run build",
    "docs": "typedoc source/index.ts --out docs --name cdx-proto --readme README.md",
    "test": "node --test tests/*.test.js",
    "pack:check": "node scripts/verify-pack.mjs"
  },
  "files": [
    "dist",
    "specification"
  ],
  "typesVersions": {
    "*": {
      "v1.5": [
        "dist/v1.5.d.ts"
      ],
      "v1.6": [
        "dist/v1.6.d.ts"
      ],
      "v1.7": [
        "dist/v1.7.d.ts"
      ]
    }
  },
  "keywords": [
    "cyclonedx",
    "sbom",
    "supply-chain",
    "protobuf",
    "protobom"
  ],
  "author": "Team AppThreat <cloud@appthreat.com>",
  "license": "Apache-2.0",
  "dependencies": {
    "@bufbuild/protobuf": "2.12.0"
  },
  "devDependencies": {
    "@bufbuild/buf": "1.69.0",
    "@bufbuild/protoc-gen-es": "2.12.0",
    "typedoc": "^0.28.19",
    "typescript": "^6.0.3",
    "xo": "^2.0.2"
  },
  "xo": {
    "ignores": [
      "docs/*",
      "contrib/*",
      "specification/*"
    ],
    "rules": {
      "@typescript-eslint/no-empty-function": "off",
      "@typescript-eslint/no-implicit-any-catch": "off",
      "@typescript-eslint/no-unsafe-member-access": "off",
      "@typescript-eslint/no-unsafe-return": "off",
      "@typescript-eslint/no-unsafe-assignment": "off",
      "@typescript-eslint/no-unsafe-call": "off",
      "@typescript-eslint/await-thenable": "off",
      "@typescript-eslint/no-redundant-type-constituents": "off",
      "@typescript-eslint/no-unsafe-argument": "off",
      "@typescript-eslint/promise-function-async": "off",
      "no-lone-blocks": "off"
    }
  }
}
