mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 05:04:56 +08:00
🦄 refactor: Refactoring using hono
This commit is contained in:
63
package.json
63
package.json
@@ -1,32 +1,51 @@
|
||||
{
|
||||
"name": "dailyhot_api",
|
||||
"version": "1.0.8",
|
||||
"description": "An api on Today's Hot list",
|
||||
"main": "index.js",
|
||||
"version": "2.0.0",
|
||||
"description": "An Api on Today's Hot list",
|
||||
"keywords": [
|
||||
"API",
|
||||
"RSS"
|
||||
],
|
||||
"homepage": "https://github.com/imsyy/DailyHotApi#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/imsyy/DailyHotApi/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/DIYgod/RSSHub.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "imsyy",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
||||
"start": "node index.js",
|
||||
"dev": "npx nodemon index.js",
|
||||
"prd": "pm2 start index.js",
|
||||
"build": "node index.js"
|
||||
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts,.vue --fix",
|
||||
"dev": "tsx watch --no-cache src/index.ts",
|
||||
"dev:cache": "tsx watch src/index.ts",
|
||||
"build": "tsc --project tsconfig.json",
|
||||
"start": "tsx src/index.ts"
|
||||
},
|
||||
"author": "imsyy",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"axios": "^1.6.3",
|
||||
"@hono/node-server": "^1.9.1",
|
||||
"axios": "^1.6.8",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"dotenv": "^16.3.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-vue": "^9.19.2",
|
||||
"koa": "^2.15.0",
|
||||
"koa-bodyparser": "^4.4.1",
|
||||
"koa-router": "^12.0.1",
|
||||
"koa-static": "^5.0.0",
|
||||
"koa-views": "^8.1.0",
|
||||
"koa2-cors": "^2.0.6",
|
||||
"dotenv": "^16.4.5",
|
||||
"feed": "^4.2.2",
|
||||
"hono": "^4.2.2",
|
||||
"node-cache": "^5.1.2",
|
||||
"nodemon": "^2.0.22",
|
||||
"prettier": "^3.1.1"
|
||||
"winston": "^3.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.12.5",
|
||||
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
||||
"@typescript-eslint/parser": "^7.5.0",
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "^3.2.5",
|
||||
"tsx": "^3.14.0",
|
||||
"typescript": "^5.4.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user