-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
70 lines (70 loc) · 1.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "koa-server",
"version": "1.0.0",
"author": "Yorn Qiu",
"private": true,
"scripts": {
"dev": "node ./bin/www",
"start": "pm2 start ecosystem.config.js --env dev",
"test": "pm2 start ecosystem.config.js --env test",
"build": "pm2 start ecosystem.config.js --env pro",
"stop": "pm2 stop ecosystem.config.js",
"logs": "pm2 logs",
"lint": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"@koa/cors": "^3.4.3",
"crypto-js": "^4.1.1",
"jsonwebtoken": "^8.5.1",
"koa": "^2.14.1",
"koa-body": "4.2.0",
"koa-compose": "^4.1.0",
"koa-helmet": "^6.1.0",
"koa-static": "^5.0.0",
"koa-views": "^8.0.0",
"log4js": "^6.9.1",
"module-alias": "^2.2.2",
"mongoose": "^6.11.3"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/eslint-parser": "^7.21.3",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.6"
},
"_moduleAliases": {
"@": ".",
"@libs": "libs",
"@utils": "utils",
"@models": "models",
"@services": "services",
"@controllers": "controllers",
"@middlewares": "middlewares"
},
"eslintConfig": {
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"parser": "@babel/eslint-parser",
"ecmaVersion": 2020
},
"globals": {
"config": "readonly",
"logger": "readonly"
}
},
"prettier": {
"singleQuote": true,
"semi": false,
"printWidth": 120
}
}