UNPKG

@tomisakae/syosetu-api

Version:

Enterprise-grade Fastify TypeScript API for Syosetu.com data extraction using official API and web scraping. Run instantly with 'npx @tomisakae/syosetu-api'

95 lines (94 loc) 2.66 kB
{ "name": "@tomisakae/syosetu-api", "version": "0.0.2", "description": "Enterprise-grade Fastify TypeScript API for Syosetu.com data extraction using official API and web scraping. Run instantly with 'npx @tomisakae/syosetu-api'", "main": "dist/server.js", "bin": { "syosetu-api": "./dist/server.js" }, "files": [ "dist/", "README.md", "package.json" ], "scripts": { "build": "npm run clean && tsc", "start": "node dist/server.js", "dev": "ts-node-dev --respawn --transpile-only -r tsconfig-paths/register src/server.ts", "dev:watch": "nodemon --exec \"ts-node -r tsconfig-paths/register src/server.ts\"", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "clean": "rimraf dist", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/NguyenHuynhPhuVinh/syosetuAPI.git" }, "keywords": [ "syosetu", "web-scraping", "cheerio", "fastify", "typescript", "api", "novel", "light-novel", "enterprise", "serverless" ], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/NguyenHuynhPhuVinh/syosetuAPI/issues" }, "homepage": "https://github.com/NguyenHuynhPhuVinh/syosetuAPI#readme", "dependencies": { "@fastify/cors": "^11.0.1", "@fastify/env": "^5.0.2", "@fastify/helmet": "^13.0.1", "@fastify/rate-limit": "^10.3.0", "@fastify/swagger": "^9.5.1", "@fastify/swagger-ui": "^5.2.3", "axios": "^1.9.0", "cheerio": "^1.1.0", "fastify": "^5.3.3", "module-alias": "^2.2.3", "node-cache": "^5.1.2", "pino": "^9.7.0", "pino-pretty": "^13.0.0", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "zod": "^3.25.57" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^24.0.0", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.34.0", "eslint": "^9.28.0", "jest": "^29.7.0", "nodemon": "^3.1.10", "prettier": "^3.5.3", "rimraf": "^6.0.1", "ts-jest": "^29.3.4", "ts-node-dev": "^2.0.0", "tsc-alias": "^1.8.16", "typescript": "^5.8.3" }, "_moduleAliases": { "@": "dist", "@/config": "dist/config", "@/controllers": "dist/controllers", "@/services": "dist/services", "@/routes": "dist/routes", "@/types": "dist/types", "@/utils": "dist/utils", "@/middleware": "dist/middleware" } }