feat: solution for 'Повторный экзамен #2: Сравнительный обзор 3 сущностей (Tavily)'

This commit is contained in:
2026-07-01 13:23:40 +03:00
parent f1bd10bd09
commit c11f8de6a7
8 changed files with 299 additions and 164 deletions
+24 -12
View File
@@ -1,31 +1,43 @@
{
"name": "tavily-compare",
"version": "1.0.0",
"description": "Compare three entities using the Tavily API with a single HTTP client approach.",
"description": "A simple library to compare three entities using the Tavily API.",
"main": "src/index.js",
"type": "module",
"scripts": {
"test": "jest",
"lint": "eslint ."
"test": "jest --coverage",
"lint": "eslint . --ext .js",
"format": "prettier --write ."
},
"keywords": [
"tavily",
"comparison",
"compare",
"api",
"node"
],
"author": "",
"author": "Your Name",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",
"dotenv": "^16.3.1"
"node-fetch": "^3.3.2"
},
"devDependencies": {
"eslint": "^8.48.0",
"jest": "^29.6.1",
"nock": "^13.3.0",
"prettier": "^3.0.0"
"jest": "^29.7.0",
"eslint": "^8.56.0",
"prettier": "^3.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0"
},
"jest": {
"testEnvironment": "node"
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"json"
],
"testMatch": [
"**/tests/**/*.test.js"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.js"
]
}
}