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
32 lines
800 B
JSON
32 lines
800 B
JSON
{
|
|
"name": "@shieldai/spamshield",
|
|
"version": "0.1.0",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsx watch src/index.ts",
|
|
"lint": "eslint src/",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@shieldsai/shared-analytics": "workspace:*",
|
|
"@shieldai/db": "workspace:*",
|
|
"@shieldai/types": "workspace:*",
|
|
"@shieldai/correlation": "workspace:*",
|
|
"@prisma/client": "^6.2.0",
|
|
"libphonenumber-js": "^1.10.50",
|
|
"ws": "^8.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.3.3",
|
|
"tsx": "^4.19.0",
|
|
"eslint": "^8.56.0",
|
|
"@types/ws": "^8.5.10",
|
|
"vitest": "^4.1.5",
|
|
"@vitest/coverage-v8": "^4.1.5"
|
|
}
|
|
}
|