This commit is contained in:
imsyy
2023-03-24 17:05:29 +08:00
parent aeca0a7b7a
commit 20f3d9eef7
4 changed files with 231 additions and 4 deletions

View File

@@ -2,10 +2,12 @@
"name": "dailyhot_api",
"version": "0.0.1",
"description": "一个今日热榜 .",
"main": "app.js",
"main": "index.js",
"scripts": {
"start": "node app.js",
"build": "node app.js"
"start": "node index.js",
"dev": "./node_modules/.bin/nodemon index.js",
"prd": "pm2 start index.js",
"build": "node index.js"
},
"author": "imsyy",
"license": "MIT",
@@ -19,6 +21,7 @@
"koa-static": "^5.0.0",
"koa-views": "^8.0.0",
"koa2-cors": "^2.0.6",
"node-cache": "^5.1.2"
"node-cache": "^5.1.2",
"nodemon": "^2.0.22"
}
}