- Add runtime flag evaluation from FLAG_<KEY> environment variables - Add enableCallAnalysis flag check to analyzeCall() and interceptCall() - Add enableFeedbackLoop flag check to recordFeedback() - Add 19 tests for feature flag behavior (checkFeatureFlag, getters, service integration) - Add vitest config and test script to spamshield package
28 lines
643 B
JSON
28 lines
643 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",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@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"
|
|
}
|
|
}
|