analytics/packages/analytics-client/package.json

99 lines
2.3 KiB
JSON
Raw Permalink Normal View History

{
"name": "@lilith/analytics-client",
"version": "1.0.2",
"type": "module",
"description": "Analytics tracking client with React hooks, NestJS integration, and event batching",
"author": {
"name": "QuinnFTW",
"email": "quinn@ftw.codes",
"url": "https://github.com/transquinnftw"
},
"repository": {
"type": "git",
"url": "http://forge.black.lan/lilith/packages.git"
},
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
},
"./nestjs": {
"types": "./dist/nestjs/index.d.ts",
"import": "./dist/nestjs/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"lint": "eslint src --fix",
"lint:check": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest --watch",
"clean": "rm -rf dist"
},
"dependencies": {
"@lilith/domain-events": "^2.9.7"
},
"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-router-dom": ">=6.0.0",
"rxjs": "^7.8.0"
},
"peerDependenciesMeta": {
"@nestjs/common": {
"optional": true
},
"@nestjs/core": {
"optional": true
},
"react": {
"optional": true
},
"react-router-dom": {
"optional": true
},
"rxjs": {
"optional": true
}
},
"devDependencies": {
"@lilith/configs": "^2.4.1",
"@nestjs/common": "^11.1.11",
"@nestjs/core": "^11.1.11",
"@testing-library/react": "^16.3.1",
"@types/node": "^20.19.30",
"@types/react": "^19.2.8",
"@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.53.0",
"@vitejs/plugin-react": "^4.7.0",
"eslint": "^9.39.2",
"jsdom": "^25.0.1",
"react": "^19.2.3",
"react-router-dom": "^7.12.0",
"rxjs": "^7.8.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.17"
},
"publishConfig": {
"registry": "http://forge.black.lan/api/packages/lilith/npm/"
},
"_": {
"registry": "forgejo",
"publish": true,
"build": true
}
}