aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2024-10-06 01:13:23 +0530
committerGitHub <[email protected]>2024-10-06 01:13:23 +0530
commit46f688ac12a99b8fb145b0745dd4cc6babff1e1e (patch)
tree9560dd057822069a2162ef01a1118f3ac05e6d07 /package.json
parent55810ccf2372209f9b46c96ac12811e5a05f7961 (diff)
downloadaniwatch-api-46f688ac12a99b8fb145b0745dd4cc6babff1e1e.tar.xz
aniwatch-api-46f688ac12a99b8fb145b0745dd4cc6babff1e1e.zip
Aniwatch API Version 2 (#66)
BREAKING CHANGE: * chore: remove files that are not necessary for api v2 * test: update existing tests to use pkg * feat: organized aniwatch api envs and add more info about them * feat: update tsconfig to include strict noUnsed params * feat(api homepage): revamp api home page * feat: update wani kuni image * feat: add dot img * feat: use hono cors * feat: use hono rate limiter * build: remove unnecessary deps, add ones needed and update description * feat: add hianime routes and their handlers * feat: update vercel deployment file * docs: update logo and scraper docs, add envs section * feat: update main server file * feat: update peronal deployments caution section
Diffstat (limited to 'package.json')
-rw-r--r--package.json27
1 files changed, 9 insertions, 18 deletions
diff --git a/package.json b/package.json
index 354b305..bbb970e 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "aniwatch-api",
"version": "1.40.0",
- "description": "Node.js API for obtaining anime information from hianime.to (formerly aniwatch.to)",
+ "description": "Node.js API for obtaining anime information from hianime.to",
"main": "src/server.ts",
"type": "module",
"scripts": {
@@ -31,26 +31,17 @@
"author": "https://github.com/ghoshRitesh12",
"license": "MIT",
"dependencies": {
- "axios": "^1.7.7",
- "cheerio": "1.0.0",
- "cors": "^2.8.5",
- "crypto-js": "^4.2.0",
+ "@hono/node-server": "^1.13.1",
+ "aniwatch": "^2.4.1",
"dotenv": "^16.4.5",
- "express": "^4.19.2",
- "express-rate-limit": "^7.4.0",
- "http-errors": "^2.0.0",
- "morgan": "^1.10.0"
+ "hono": "^4.6.3",
+ "hono-rate-limiter": "^0.4.0"
},
"devDependencies": {
- "@types/cors": "^2.8.17",
- "@types/crypto-js": "^4.2.2",
- "@types/express": "^4.17.21",
- "@types/http-errors": "^2.0.4",
- "@types/morgan": "^1.9.9",
- "@types/node": "^22.5.4",
+ "@types/node": "^22.7.4",
"husky": "^8.0.3",
- "tsx": "^4.19.0",
- "typescript": "^5.5.4",
- "vitest": "^2.0.5"
+ "tsx": "^4.19.1",
+ "typescript": "^5.6.2",
+ "vitest": "^2.1.2"
}
} \ No newline at end of file