{
  "name": "@nodecfdi/cfdi-to-pdf",
  "description": "Librería para crear un pdf basado en un XML CFDI o Retenciones",
  "version": "3.0.0-3",
  "type": "module",
  "module": "./build/index.js",
  "types": "./build/index.d.ts",
  "files": [
    "build"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./build/index.d.ts",
        "default": "./build/index.js"
      }
    },
    "./types": {
      "import": {
        "types": "./build/src/types.d.ts",
        "default": "./build/src/types.js"
      }
    },
    "./node": {
      "import": {
        "types": "./build/src/builders/node/index.d.ts",
        "default": "./build/src/builders/node/index.js"
      }
    },
    "./browser": {
      "import": {
        "types": "./build/src/builders/browser/index.d.ts",
        "default": "./build/src/builders/browser/index.js"
      }
    },
    "./templates": {
      "import": {
        "types": "./build/templates/index.d.ts",
        "default": "./build/templates/index.js"
      }
    }
  },
  "devDependencies": {
    "@commitlint/cli": "^19.6.1",
    "@commitlint/config-conventional": "^19.6.0",
    "@nodecfdi/cfdi-core": "^0.6.2",
    "@nodecfdi/eslint-config": "^2.4.3",
    "@nodecfdi/prettier-config": "^1.4.0",
    "@nodecfdi/tsconfig": "^1.7.3",
    "@types/node": "^22.12.0",
    "@types/pdfmake": "^0.2.11",
    "@vitest/coverage-istanbul": "^3.0.4",
    "auto-changelog": "^2.5.0",
    "del-cli": "^6.0.0",
    "eslint": "^9.19.0",
    "husky": "^9.1.7",
    "is-in-ci": "^1.0.0",
    "np": "^10.2.0",
    "pdfmake": "^0.2.17",
    "prettier": "^3.4.2",
    "tsup": "^8.3.6",
    "typedoc": "^0.27.6",
    "typedoc-github-theme": "^0.2.1",
    "typescript": "^5.7.3",
    "vitest": "^3.0.4"
  },
  "dependencies": {
    "@nodecfdi/cfdi-expresiones": "^3.0.4",
    "@nodecfdi/sat-micro-catalogs": "^1.0.2"
  },
  "peerDependencies": {
    "@nodecfdi/cfdi-core": ">=0.6.2",
    "@types/pdfmake": ">=0.2.10",
    "pdfmake": ">=0.2.17"
  },
  "peerDependenciesMeta": {
    "@types/pdfmake": {
      "optional": true
    }
  },
  "author": "Fernando Isidro <luffynando@gmail.com>",
  "license": "MIT",
  "homepage": "https://github.com/nodecfdi/cfdi-to-pdf",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nodecfdi/cfdi-to-pdf.git"
  },
  "bugs": {
    "url": "https://github.com/nodecfdi/cfdi-to-pdf/issues"
  },
  "keywords": [
    "cfdi",
    "retenciones",
    "xml",
    "pdf",
    "sat"
  ],
  "engines": {
    "node": "^18 || ^20 || ^22"
  },
  "browserslist": [
    "defaults",
    "not IE 11"
  ],
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "prettier": "@nodecfdi/prettier-config/pkg",
  "publishConfig": {
    "access": "public",
    "tag": "latest"
  },
  "auto-changelog": {
    "template": "keepachangelog",
    "hideCredit": true
  },
  "np": {
    "message": "chore(release): :tada: %s",
    "tag": "latest",
    "branch": "main",
    "testScript": "test:run"
  },
  "tsup": {
    "entry": [
      "./index.ts",
      "./src/types.ts",
      "./src/builders/node/index.ts",
      "./src/builders/browser/index.ts",
      "./templates/index.ts"
    ],
    "outDir": "./build",
    "clean": false,
    "format": "esm",
    "dts": true,
    "target": "esnext"
  },
  "scripts": {
    "typecheck": "tsc --noEmit",
    "lint": "eslint . --fix",
    "lint:check": "eslint .",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "test": "vitest",
    "test:run": "vitest run",
    "test:coverage": "vitest run --coverage",
    "tool:code": "pnpm run lint:check && pnpm run format:check && pnpm run typecheck",
    "tool:build": "pnpm run tool:code && pnpm run test:run",
    "clean": "del-cli build",
    "gen:docs": "typedoc --options typedoc.json",
    "changelog": "auto-changelog -p && git add CHANGELOG.md",
    "prebuild": "pnpm run tool:code",
    "build": "pnpm run clean && tsup-node",
    "postbuild": "pnpm run gen:docs && git add docs/*",
    "release": "np",
    "version": "pnpm run build && pnpm run changelog"
  }
}