{
  "name": "ksef-client",
  "version": "0.8.0",
  "description": "KSeF 2.0 client library for Node.js (TypeScript)",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/smekcio/ksef-client-typescript.git"
  },
  "homepage": "https://github.com/smekcio/ksef-client-typescript#readme",
  "bugs": {
    "url": "https://github.com/smekcio/ksef-client-typescript/issues"
  },
  "keywords": [
    "ksef",
    "typescript",
    "nodejs",
    "sdk",
    "e-invoice",
    "poland"
  ],
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "ksef-ts": "./dist/cli/index.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./documents/fa3": {
      "types": "./dist/documents/fa3.d.ts",
      "import": "./dist/documents/fa3.js",
      "require": "./dist/documents/fa3.cjs"
    },
    "./cli": {
      "import": "./dist/cli/index.js",
      "require": "./dist/cli/index.cjs"
    }
  },
  "files": [
    "dist",
    "src",
    "docs",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsup && node scripts/copy-fa3-schemas.mjs && node scripts/fix-cjs-xml-crypto-interop.mjs",
    "typecheck": "tsc --noEmit",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "test": "npm run build && node --test test/**/*.test.js",
    "test:coverage": "npm run build && c8 --reporter=text-summary --reporter=lcov --reporter=html node --test test/**/*.test.js",
    "test:unit": "npm run build && node --test test/unit/*.test.js",
    "test:e2e": "npm run build && node --test test/e2e/*.test.js",
    "generate:openapi-models": "node scripts/generate-openapi-models.mjs",
    "check:openapi-coverage": "node scripts/check-openapi-coverage.mjs"
  },
  "engines": {
    "node": ">=20"
  },
  "sideEffects": false,
  "c8": {
    "excludeAfterRemap": true,
    "exclude": [
      "coverage/**",
      "packages/*/test{,s}/**",
      "**/*.d.ts",
      "test{,s}/**",
      "test{,-*}.{js,cjs,mjs,ts,tsx,jsx}",
      "**/*{.,-}test.{js,cjs,mjs,ts,tsx,jsx}",
      "**/__tests__/**",
      "**/{ava,babel,nyc}.config.{js,cjs,mjs}",
      "**/jest.config.{js,cjs,mjs,ts}",
      "**/{karma,rollup,webpack}.config.js",
      "**/.{eslint,mocha}rc.{js,cjs}",
      "**/documents/fa3/index.ts"
    ]
  },
  "dependencies": {
    "@xmldom/xmldom": "^0.8.11",
    "fast-xml-parser": "^4.4.1",
    "undici": "^6.19.8",
    "xml-crypto": "^6.1.2",
    "xpath": "^0.0.33",
    "yauzl": "^2.10.0",
    "yazl": "^2.5.1"
  },
  "optionalDependencies": {
    "libxmljs2": "^0.37.0",
    "node-forge": "^1.3.1",
    "qrcode": "^1.5.3"
  },
  "devDependencies": {
    "@types/node": "^20.14.10",
    "@types/qrcode": "^1.5.5",
    "@types/yauzl": "^2.10.0",
    "@types/yazl": "^2.4.5",
    "@typescript-eslint/eslint-plugin": "^8.10.0",
    "@typescript-eslint/parser": "^8.10.0",
    "c8": "^10.1.2",
    "eslint": "^9.11.1",
    "fast-check": "^3.23.2",
    "prettier": "^3.3.3",
    "tsup": "^8.3.0",
    "typescript": "^5.6.3"
  }
}

