{ "name": "gateway", "version": "1.0.0", "author": { "email": "zsqmengzhihen@163.com", "name": "zhusiqng", "url": "http://git.zsqlm.cn/siqing/gateway_koa_ts" }, "private": true, "engines": { "node": ">=14.0.0 <15.0.0" }, "keywords": [ "node", "koa", "redis", "typescript" ], "description": "一个基于node+ts+koa的网关服务", "main": "src/app.ts", "license": "MIT", "scripts": { "dev": "cross-env NODE_ENV=development nodemon -e ts --exec ts-node -r tsconfig-paths/register src/app.ts", "compile": "rm -rf ./dist && cross-env NODE_ENV=production ttsc --inlineSourceMap false", "start": "cross-env NODE_ENV=production node ./dist/app.js", "pm2:start": "pm2 start ./pm2.config.js", "pm2:list": "pm2 list", "pm2:stop": "pm2 stop gateway && pm2 delete gateway", "pm2:restart": "pm2 restart gateway", "commit": "git cz", "prepare": "husky install", "husky-hook:add": "husky add .husky/pre-commit ./node_modules/.bin/lint-staged" }, "dependencies": { "@koa/multer": "^3.0.0", "axios": "^0.23.0", "consola": "^2.15.0", "cross-env": "^7.0.2", "fs-extra": "^10.0.0", "koa": "^2.13.0", "koa-bodyparser": "^4.3.0", "koa-compose": "^4.1.0", "koa-helmet": "^5.2.0", "koa-proxies": "^0.11.0", "koa-router": "^9.4.0", "koa-session": "^6.0.0", "koa-static": "^5.0.0", "log4js": "^6.3.0", "multer": "^1.4.2", "multistream": "^4.1.0", "mysql2": "^2.3.2", "nedb": "^1.8.0", "node-cache": "^5.1.2", "nodemon": "^2.0.4", "pm2": "^4.4.1", "redis": "^3.0.2", "sequelize": "^6.8.0", "ws": "^7.5.2" }, "devDependencies": { "@types/fs-extra": "^9.0.12", "@types/koa": "^2.11.4", "@types/koa-bodyparser": "^4.3.0", "@types/koa-router": "^7.4.1", "@types/koa-session": "^5.10.2", "@types/koa__multer": "^2.0.3", "@types/multistream": "^2.1.1", "@types/nedb": "^1.8.11", "@types/node": "^14.11.2", "@types/redis": "^2.8.27", "@types/ws": "^7.4.6", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", "commitizen": "^4.2.4", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.32.0", "husky": "^7.0.1", "lint-staged": "^11.1.2", "ts-node": "^9.0.0", "tsconfig-paths": "^3.9.0", "ttypescript": "^1.5.12", "typescript": "^4.0.3", "typescript-transform-paths": "^3.3.0" }, "bugs": "http://git.zsqlm.cn/siqing/gateway_koa_ts/issues", "homepage": "https://www.zsqlm.cn/", "repository": "http://git.zsqlm.cn/siqing/gateway_koa_ts", "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "*.{vue,js,ts}": [ "eslint --fix", "git add" ] } }