|
@@ -2,30 +2,33 @@
|
|
"name": "bilibili-api",
|
|
"name": "bilibili-api",
|
|
"version": "1.0.0",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"description": "",
|
|
|
|
+ "type": "module",
|
|
"scripts": {
|
|
"scripts": {
|
|
- "start": "cross-env NODE_ENV=production ./node_modules/.bin/nodemon ./index.js",
|
|
|
|
|
|
+ "start": "cross-env NODE_ENV=production ./node_modules/.bin/nodemon babel-node ./server.js",
|
|
"dev": "cross-env NODE_ENV=development ./node_modules/.bin/nodemon ./index.js",
|
|
"dev": "cross-env NODE_ENV=development ./node_modules/.bin/nodemon ./index.js",
|
|
"test": "cross-env NODE_ENV=test ./node_modules/.bin/nodemon ./index.js"
|
|
"test": "cross-env NODE_ENV=test ./node_modules/.bin/nodemon ./index.js"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
- "axios": "^0.19.0",
|
|
|
|
- "koa": "^2.0.0",
|
|
|
|
- "koa-bodyparser": "^3.2.0",
|
|
|
|
- "koa-convert": "^1.2.0",
|
|
|
|
- "koa-cors": "0.0.16",
|
|
|
|
- "koa-logger": "^2.0.0",
|
|
|
|
- "koa-onerror": "^3.0.1",
|
|
|
|
- "koa-response-time": "^1.0.2",
|
|
|
|
- "koa-router": "^7.1.0",
|
|
|
|
- "koa-static": "^2.1.0"
|
|
|
|
|
|
+ "axios": "^0.22.0",
|
|
|
|
+ "koa": "^2.13.3",
|
|
|
|
+ "koa-bodyparser": "^4.3.0",
|
|
|
|
+ "koa-convert": "^2.0.0",
|
|
|
|
+ "koa-cors": "^0.0.16",
|
|
|
|
+ "koa-logger": "^3.2.1",
|
|
|
|
+ "koa-onerror": "^4.1.0",
|
|
|
|
+ "koa-response-time": "^2.1.0",
|
|
|
|
+ "koa-router": "^10.1.1",
|
|
|
|
+ "koa-static": "^5.0.0"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
- "babel-core": "^6.21.0",
|
|
|
|
- "babel-plugin-transform-runtime": "^6.15.0",
|
|
|
|
- "babel-polyfill": "^6.20.0",
|
|
|
|
- "babel-preset-es2015": "^6.18.0",
|
|
|
|
- "babel-preset-stage-2": "^6.18.0",
|
|
|
|
- "cross-env": "^3.1.4",
|
|
|
|
- "nodemon": "^1.11.0"
|
|
|
|
|
|
+ "@babel/core": "^7.15.8",
|
|
|
|
+ "@babel/node": "^7.15.8",
|
|
|
|
+ "@babel/plugin-transform-runtime": "^7.15.8",
|
|
|
|
+ "@babel/polyfill": "^7.12.1",
|
|
|
|
+ "@babel/preset-env": "^7.15.8",
|
|
|
|
+ "@babel/register": "^7.15.3",
|
|
|
|
+ "@babel/runtime": "^7.15.4",
|
|
|
|
+ "cross-env": "^7.0.3",
|
|
|
|
+ "nodemon": "^2.0.13"
|
|
}
|
|
}
|
|
}
|
|
}
|