{
"name": "koa-server",
"version": "1.0.0",
"description": "koa https server",
"main": "src/index.js",
"scripts": {
"env": "export HTTPS=true && SSL_CRT_FILE=cert.pem && SSL_KEY_FILE=key.pem",
"dev": "node ./src/index.js",
"app": "yarn env && yarn auto",
"auto": "yarn open && ./node_modules/nodemon/bin/nodemon.js ./src/index.js",
"start": "./node_modules/pm2/bin/pm2 start src/index.js",
"open": "open http://localhost:3000",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"koa"
],
"author": "xgqfrms",
"license": "MIT",
"dependencies": {
"koa": "^2.13.0"
},
"devDependencies": {
"nodemon": "^2.0.6",
"pm2": "^4.5.0"
}
}
Created
November 10, 2020 14:55
-
-
Save xgqfrms/c4f28e7d0735866d38a1af66235842bf to your computer and use it in GitHub Desktop.
koa-https-server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Koa middleware cascade
中间件,洋葱模型