feat: update imp scripts, description & packages

This commit is contained in:
Ritesh Ghosh
2025-05-25 22:54:19 +05:30
parent f5d74627e8
commit cdd05c719b
+13 -12
View File
@@ -1,18 +1,19 @@
{ {
"name": "aniwatch-api", "name": "aniwatch-api",
"version": "2.14.5", "version": "2.14.5",
"description": "Node.js API for obtaining anime information from hianimez.to", "description": "NodeJS API for obtaining anime data from hianimez.to",
"main": "src/server.ts", "main": "dist/src/server.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "tsx src/server.ts", "start": "node dist/src/server.js",
"dev": "tsx watch src/server.ts", "dev": "tsx watch src/server.ts",
"build": "tsc -p tsconfig.json", "build": "tsc",
"vercel-build": "echo \"Hello\"", "buildnstart": "tsc && node dist/src/server.js",
"vercel-build": "echo hello",
"prepare": "node .husky/install.mjs", "prepare": "node .husky/install.mjs",
"test": "vitest run --config vitest.config.ts", "test": "vitest run --config vitest.config.ts",
"healthcheck": "curl -f http://localhost:4000/health", "healthcheck": "curl -f http://localhost:4000/health",
"lint": "tsc", "typecheck": "tsc --noEmit",
"format": "prettier --cache --write .", "format": "prettier --cache --write .",
"format:check": "prettier --cache --check ." "format:check": "prettier --cache --check ."
}, },
@@ -36,22 +37,22 @@
"author": "https://github.com/ghoshRitesh12", "author": "https://github.com/ghoshRitesh12",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@hono/node-server": "^1.14.1", "@hono/node-server": "^1.14.2",
"aniwatch": "^2.23.0", "aniwatch": "^2.23.0",
"dotenv": "^16.5.0", "dotenv": "^16.5.0",
"envalid": "^8.0.0", "envalid": "^8.0.0",
"hono": "^4.7.9", "hono": "^4.7.10",
"hono-rate-limiter": "^0.4.2", "hono-rate-limiter": "^0.4.2",
"ioredis": "^5.6.1", "ioredis": "^5.6.1",
"pino": "^9.6.0", "pino": "^9.7.0"
"tsx": "^4.19.4"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.15.17", "@types/node": "^22.15.21",
"husky": "^9.1.7", "husky": "^9.1.7",
"pino-pretty": "^13.0.0", "pino-pretty": "^13.0.0",
"prettier": "^3.5.3", "prettier": "^3.5.3",
"tsx": "^4.19.4",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vitest": "^3.1.3" "vitest": "^3.1.4"
} }
} }