{
  "name": "@ejosterberg/opensalestax",
  "version": "0.3.0",
  "description": "TypeScript SDK for the self-hosted OpenSalesTax engine — destination-based US sales tax via a v1 HTTP API",
  "license": "Apache-2.0",
  "author": "Eric Osterberg <ejosterberg@gmail.com>",
  "homepage": "https://github.com/ejosterberg/opensalestax-js",
  "bugs": {
    "url": "https://github.com/ejosterberg/opensalestax-js/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ejosterberg/opensalestax-js.git"
  },
  "keywords": [
    "opensalestax",
    "tax",
    "sales-tax",
    "us-tax",
    "sdk",
    "self-hosted"
  ],
  "engines": {
    "node": ">=20"
  },
  "type": "module",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/cjs/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    }
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build:esm": "tsc -p tsconfig.build.json --module ESNext --outDir dist/esm --declaration --declarationMap",
    "build:cjs": "tsc -p tsconfig.build.json --module CommonJS --outDir dist/cjs --declaration --declarationMap",
    "build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --declarationDir dist/types",
    "build": "npm run build:types && npm run build:esm && npm run build:cjs && node scripts/fix-cjs.cjs",
    "clean": "rimraf dist coverage",
    "test": "jest",
    "lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
    "typecheck": "tsc --noEmit",
    "check": "npm run lint && npm run typecheck && npm test -- --coverage && npm audit --omit=dev --audit-level=high",
    "prepublishOnly": "npm run clean && npm run build"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.4",
    "@types/jest": "^29.5.14",
    "@types/node": "^20.17.10",
    "eslint": "^9.18.0",
    "jest": "^29.7.0",
    "rimraf": "^6.0.1",
    "ts-jest": "^29.2.5",
    "typescript": "^5.7.2",
    "typescript-eslint": "^8.20.0"
  }
}
