{ "name": "posthog-js-lite", "version": "4.14.1", "bugs": { "url": "https://github.com/PostHog/posthog-js/issues" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/PostHog/posthog-js.git", "directory": "packages/web" }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "scripts": { "check-types": "pnpm prebuild && tsc --noEmit --project tsconfig.json", "clean": "rimraf dist coverage", "test:unit": "vitest run", "lint": "oxlint --report-unused-disable-directives-severity error src test", "lint:fix": "oxlint --report-unused-disable-directives-severity error src test --fix", "prebuild": "node ../../tooling/write-version.mjs", "build": "tsdown", "dev": "tsdown --watch", "prepublishOnly": "pnpm lint && pnpm test:unit && pnpm build", "package": "pnpm pack --out $PACKAGE_DEST/%s.tgz" }, "files": [ "dist", "src" ], "dependencies": { "@posthog/core": "workspace:^" }, "devDependencies": { "@babel/preset-env": "catalog:", "@babel/preset-typescript": "catalog:", "@posthog-tooling/tsconfig-base": "workspace:*", "@vitest/coverage-v8": "catalog:", "jsdom": "catalog:", "vitest": "catalog:", "tsdown": "catalog:", "typescript": "catalog:native" } }