diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-07 20:41:25 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-07 20:41:25 +0530 |
| commit | 38da70027ab842c77509f7f45a9d2d63adaf2ea4 (patch) | |
| tree | 9cb98d3059cecd54aa286d0490ee1d92dfa30c3d | |
| parent | 18f9d3038cd40be11c58cf717294aa99917e5b24 (diff) | |
| download | aniwatch-api-38da70027ab842c77509f7f45a9d2d63adaf2ea4.tar.xz aniwatch-api-38da70027ab842c77509f7f45a9d2d63adaf2ea4.zip | |
chore(pkgs): added express-rate-limit, jest pkgs & test script
| -rw-r--r-- | package.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package.json b/package.json index a9d1fe4..5fdaaf7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dev": "nodemon src/server.ts", "build": "tsc -p tsconfig.json", "prepare": "husky install", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "jest" }, "repository": { "type": "git", @@ -30,17 +30,21 @@ "dotenv": "^16.3.1", "envalid": "^7.3.1", "express": "^4.18.2", + "express-rate-limit": "^6.9.0", "http-errors": "^2.0.0", "morgan": "^1.10.0" }, "devDependencies": { "@types/express": "^4.17.17", "@types/http-errors": "^2.0.1", + "@types/jest": "^29.5.3", "@types/morgan": "^1.9.4", "@types/node": "^20.4.5", "husky": "^8.0.0", + "jest": "^29.6.2", "nodemon": "^3.0.1", + "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.1.6" } -}
\ No newline at end of file +} |
