P0: Fix validation bypass - validated properties now override raw properties P1: Add unit tests for shared-analytics package (3 test files) P1: Refactor spamshield to use shared-analytics, deprecate duplicate P2: Normalize phone numbers to E.164 before hashing P2: Add graceful error handling for missing env vars in config P3: Add singleton pattern to MixpanelService P3: Include timestamp in validated properties schema
25 lines
523 B
JSON
25 lines
523 B
JSON
{
|
|
"name": "@shieldsai/shared-analytics",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"scripts": {
|
|
"lint": "eslint src/",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@segment/analytics-node": "^1.0.0",
|
|
"googleapis": "^128.0.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^4.1.5",
|
|
"@vitest/coverage-v8": "^4.1.5"
|
|
}
|
|
}
|