代码拉取完成,页面将自动刷新
{
"name": "node_server",
"version": "1.0.0",
"description": "server",
"author": "wudongo",
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon --exec ts-node src/app.ts",
"build-ts": "tsc",
"build:test": "rm -fr dist && npm run lint && npm run build-ts",
"serve:test": "cross-env NODE_ENV=development pm2 startOrReload pm2-start.json --no-daemon",
"build:production": "rm -fr dist && npm run lint && npm run build-ts",
"serve:production": "cross-env NODE_ENV=production pm2 startOrReload pm2-start.json --no-daemon",
"format": "prettier --write \"src/**/*.ts\" ",
"lint": "eslint \"src/**/*.ts\" --fix",
"stop": "pm2 status && pm2 stop all"
},
"keywords": [],
"license": "MIT",
"repository": {
"type": "git",
"url": "git@gitlab.xunlei.cn:xl-f2e/xl-account.git"
},
"dependencies": {
"chalk": "4.1.0",
"clean-webpack-plugin": "^4.0.0",
"form-data": "^4.0.0",
"ip": "^1.1.5",
"joi": "^17.4.0",
"js-md5": "^0.7.3",
"jsonwebtoken": "^9.0.0",
"koa": "^2.11.0",
"koa-body": "^4.2.0",
"koa-bodyparser": "^4.2.1",
"koa-helmet": "^6.1.0",
"koa-jwt": "^4.0.1",
"koa-mount": "^4.0.0",
"koa-router": "^8.0.8",
"koa-session": "^6.2.0",
"koa-static": "^5.0.0",
"koa2-cors": "^2.0.6",
"log4js": "^6.3.0",
"mysql2": "^2.1.0",
"path": "^0.12.7",
"query-string": "^7.0.1",
"sequelize": "^5.21.5",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/ip": "^1.1.0",
"@types/js-md5": "^0.4.2",
"@types/jsonwebtoken": "^8.5.2",
"@types/koa": "^2.13.3",
"@types/koa-bodyparser": "^4.3.1",
"@types/koa-mount": "^4.0.0",
"@types/koa-router": "^7.4.2",
"@types/koa-static": "^4.0.1",
"@types/koa2-cors": "^2.0.1",
"@types/swagger-jsdoc": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.27.0",
"cross-env": "^7.0.3",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "4.2.5",
"koa2-swagger-ui": "^5.1.0",
"lint-staged": "10.2.9",
"nodemon": "^2.0.7",
"pm2": "^5.1.0",
"prettier": "^2.3.0",
"swagger-jsdoc": "^6.1.0",
"typescript": "^4.3.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{ts,.tsx}": [
"prettier --trailing-comma es5 --single-quote --write",
"yarn lint",
"git add ."
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。