2026-01-25 15:33:59 -08:00
|
|
|
{
|
2026-01-25 18:07:51 -08:00
|
|
|
"name": "@lilith/analytics",
|
|
|
|
|
"version": "0.1.0",
|
2026-01-25 15:33:59 -08:00
|
|
|
"description": "Generic, self-hosted analytics platform with event tracking, funnels, cohorts, and GDPR compliance",
|
|
|
|
|
"type": "module",
|
2026-01-25 18:07:51 -08:00
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"import": "./dist/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./types": {
|
|
|
|
|
"types": "./dist/types/index.d.ts",
|
|
|
|
|
"import": "./dist/types/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./client": {
|
|
|
|
|
"types": "./dist/client/index.d.ts",
|
|
|
|
|
"import": "./dist/client/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./nestjs": {
|
|
|
|
|
"types": "./dist/nestjs/index.d.ts",
|
|
|
|
|
"import": "./dist/nestjs/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./widgets": {
|
|
|
|
|
"types": "./dist/widgets/index.d.ts",
|
|
|
|
|
"import": "./dist/widgets/index.js"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"files": ["dist"],
|
2026-01-25 15:33:59 -08:00
|
|
|
"engines": {
|
|
|
|
|
"node": ">=20.0.0",
|
|
|
|
|
"pnpm": ">=9.0.0"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2026-01-25 18:07:51 -08:00
|
|
|
"build": "tsup",
|
2026-01-25 15:33:59 -08:00
|
|
|
"build:services": "pnpm -r --filter './services/*' build",
|
2026-01-25 18:07:51 -08:00
|
|
|
"typecheck": "tsc --noEmit",
|
2026-01-25 15:33:59 -08:00
|
|
|
"test": "pnpm -r test",
|
|
|
|
|
"lint": "pnpm -r lint",
|
|
|
|
|
"dev:collector": "pnpm -C services/collector dev",
|
|
|
|
|
"dev:processor": "pnpm -C services/processor dev",
|
|
|
|
|
"dev:api": "pnpm -C services/api dev",
|
|
|
|
|
"dev:realtime": "pnpm -C services/realtime dev",
|
2026-01-25 18:07:51 -08:00
|
|
|
"clean": "rm -rf dist && pnpm -r exec -- rm -rf dist node_modules"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"recharts": "^2.10.0"
|
|
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
|
|
|
|
"@nestjs/common": "^10.0.0 || ^11.0.0",
|
|
|
|
|
"@nestjs/core": "^10.0.0 || ^11.0.0",
|
|
|
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
|
|
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
|
|
|
"rxjs": "^7.8.0"
|
|
|
|
|
},
|
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
|
"@nestjs/common": { "optional": true },
|
|
|
|
|
"@nestjs/core": { "optional": true },
|
|
|
|
|
"react": { "optional": true },
|
|
|
|
|
"react-dom": { "optional": true },
|
|
|
|
|
"rxjs": { "optional": true }
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@lilith/configs": "^2.2.1",
|
|
|
|
|
"@nestjs/common": "^11.0.0",
|
2026-01-25 18:13:17 -08:00
|
|
|
"@types/node": "^20.0.0",
|
2026-01-25 18:07:51 -08:00
|
|
|
"@nestjs/core": "^11.0.0",
|
|
|
|
|
"@rollup/rollup-linux-x64-gnu": "^4.55.1",
|
|
|
|
|
"@types/react": "^18.2.0",
|
|
|
|
|
"@types/react-dom": "^18.2.0",
|
|
|
|
|
"react": "^18.2.0",
|
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
|
"reflect-metadata": "^0.2.0",
|
|
|
|
|
"rxjs": "^7.8.0",
|
|
|
|
|
"tsup": "^8.0.0",
|
|
|
|
|
"typescript": "^5.4.0"
|
2026-01-25 15:33:59 -08:00
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"analytics",
|
|
|
|
|
"event-tracking",
|
|
|
|
|
"funnel-analysis",
|
|
|
|
|
"cohort-analysis",
|
|
|
|
|
"gdpr",
|
|
|
|
|
"privacy-first",
|
|
|
|
|
"self-hosted"
|
|
|
|
|
],
|
|
|
|
|
"author": "Lilith Collective",
|
|
|
|
|
"license": "NONE",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://forge.nasty.sh/lilith/analytics.git"
|
|
|
|
|
}
|
|
|
|
|
}
|