{
  "name": "@classytic/tax-core",
  "version": "0.6.0",
  "description": "Shared contracts for jurisdiction tax engines — TaxResolver (invoice-time rating), TaxEngine/TaxObligation (filing-time compute), LedgerPostingAdapter + wireTaxToLedger, effective-dated rule windows, layered rule registries, and the ledger-facing TaxCode/report-template shapes. Zero jurisdiction logic, zero rate tables — see @classytic/bd-tax, @classytic/ca-tax.",
  "type": "module",
  "license": "MIT",
  "author": "Sadman Chowdhury (Github: @siam923)",
  "sideEffects": false,
  "keywords": [
    "tax",
    "tax-engine",
    "tax-core",
    "vat",
    "gst",
    "withholding",
    "effective-dated",
    "accounting",
    "classytic"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    },
    "./resolver": {
      "types": "./dist/resolver.d.mts",
      "default": "./dist/resolver.mjs"
    },
    "./obligation": {
      "types": "./dist/obligation.d.mts",
      "default": "./dist/obligation.mjs"
    },
    "./input-credit": {
      "types": "./dist/input-credit.d.mts",
      "default": "./dist/input-credit.mjs"
    },
    "./depreciation": {
      "types": "./dist/depreciation.d.mts",
      "default": "./dist/depreciation.mjs"
    },
    "./effective": {
      "types": "./dist/effective.d.mts",
      "default": "./dist/effective.mjs"
    },
    "./registry": {
      "types": "./dist/registry.d.mts",
      "default": "./dist/registry.mjs"
    },
    "./ledger": {
      "types": "./dist/ledger.d.mts",
      "default": "./dist/ledger.mjs"
    },
    "./tax-identity": {
      "types": "./dist/tax-identity.d.mts",
      "default": "./dist/tax-identity.mjs"
    },
    "./flat": {
      "types": "./dist/flat.d.mts",
      "default": "./dist/flat.mjs"
    },
    "./math": {
      "types": "./dist/math.d.mts",
      "default": "./dist/math.mjs"
    },
    "./document": {
      "types": "./dist/document.d.mts",
      "default": "./dist/document.mjs"
    },
    "./sale": {
      "types": "./dist/sale.d.mts",
      "default": "./dist/sale.mjs"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/classytic/tax-core.git"
  },
  "bugs": {
    "url": "https://github.com/classytic/tax-core/issues"
  },
  "homepage": "https://github.com/classytic/tax-core#readme",
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "tsdown",
    "dev": "tsdown --watch",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "lint": "biome check src/",
    "lint:fix": "biome check src/ --write",
    "check": "biome ci src/ --diagnostic-level=error",
    "push": "classytic-push",
    "prepublishOnly": "npm run check && npm run build && npm run typecheck && npm test"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.10",
    "@classytic/dev-tools": "^0.2.0",
    "@classytic/primitives": ">=0.31.1",
    "@types/node": "^25.6.0",
    "fast-check": "^4.10.2",
    "tsdown": "^0.22.14",
    "typescript": "^5.9.3",
    "vitest": "^3.2.4"
  },
  "engines": {
    "node": ">=20"
  },
  "peerDependencies": {
    "@classytic/primitives": ">=0.31.1"
  }
}
