- Add userRepository.test.js: User CRUD, authentication, OAuth providers, 2FA, affiliate tracking - Add sessionRepository.test.js: Sessions, refresh tokens, token blacklist, device fingerprinting - Add auditRepository.test.js: Audit logging, event types, time-based queries, success/failure tracking - Add connection.test.js: Database initialization, transactions, foreign keys, backup operations - Add model-routing.test.js: Provider fallback, plan validation, token rates, rate limiting - Add payments.test.js: Subscription pricing, top-ups, PAYG, discounts, webhook handling - Add api-endpoints.test.js: Auth endpoints, user management, admin endpoints, middleware - Update package.json with test scripts (bun test) Tests cover: accounts, authentication, model routing, payments, subscriptions, admin panel, API endpoints
27 lines
555 B
JSON
27 lines
555 B
JSON
{
|
|
"name": "chat",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "agents.js",
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch",
|
|
"test:coverage": "bun test --coverage",
|
|
"start": "node server.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "commonjs",
|
|
"dependencies": {
|
|
"adm-zip": "^0.5.16",
|
|
"archiver": "^6.0.1",
|
|
"bcrypt": "^6.0.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"pdfkit": "^0.17.2",
|
|
"sharp": "^0.33.5",
|
|
"better-sqlite3": "^11.8.1",
|
|
"multer": "^2.0.2"
|
|
}
|
|
}
|