{
  "name": "tgram-analytics",
  "version": "0.2.0",
  "description": "Lightweight, privacy-first JS/TS SDK for tgram-analytics",
  "keywords": [
    "analytics",
    "privacy",
    "self-hosted",
    "telegram"
  ],
  "homepage": "https://tgram-analytics.com",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/tgram-analytics/tgram-analytics-js.git"
  },
  "bugs": {
    "url": "https://github.com/tgram-analytics/tgram-analytics-js/issues"
  },
  "license": "MIT",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "files": [
    "dist"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "lint": "biome lint ./src ./tests",
    "format": "biome format --write ./src ./tests",
    "check": "biome check --write ./src ./tests",
    "clean": "rm -rf dist",
    "generate:api": "openapi-typescript ../server/openapi.json -o src/generated/api.ts",
    "prepublishOnly": "npm run clean && npm run build"
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.0",
    "@types/node": "^22.0.0",
    "@vitest/coverage-v8": "^2.1.0",
    "jsdom": "^25.0.0",
    "openapi-typescript": "^7.13.0",
    "tsup": "^8.3.0",
    "typescript": "^5.7.0",
    "vitest": "^2.1.0"
  }
}
