-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
106 lines (106 loc) · 2.57 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "koa2-starter",
"version": "0.2.1",
"description": "Koa2 starter is a boilerplate for Node.js web applications.",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=production node ./index",
"dev": "cross-env NODE_ENV=development nodemon --trace-warnings ./index",
"watch": "npm run dev",
"serve": "npm run dev",
"eslint": "eslint --cache --fix ./",
"eslint:check": "eslint --cache --fix --quiet ./",
"test": "npx mocha ./test/**/*.test.js --exit --inspect=0.0.0.0:8888 --timeout 120000",
"cov": "nyc npm run test",
"check": "npm-check-updates",
"upgrade": "npm-check-updates -u",
"prepare": "if [[ $NODE_ENV != \"production\" ]]; then husky install; fi"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/funnyzak/koa-starter.git"
},
"keywords": [
"nodejs",
"mysql",
"koa",
"mocha",
"mongodb",
"mysql",
"redis",
"koa2",
"test"
],
"author": "Leon <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/funnyzak/koa-starter/issues"
},
"homepage": "https://github.com/funnyzak/koa-starter#readme",
"dependencies": {
"@koa/router": "^12.0.1",
"ali-oss": "^6.18.1",
"cross-env": "^7.0.3",
"ejs": "3.1.9",
"formidable": "2.1.1",
"ioredis": "5.3.2",
"joi": "17.11.0",
"koa": "2.14.2",
"koa-body": "6.0.1",
"koa-cors": "0.0.16",
"koa-favicon": "2.1.0",
"koa-json": "2.0.2",
"koa-router": "12.0.0",
"koa-session": "6.4.0",
"koa-static": "^5.0.0",
"koa-views": "8.0.0",
"lodash": "4.17.21",
"mocha": "^10.2.0",
"moment": "^2.29.4",
"mongodb": "5.9.1",
"mysql2": "3.3.1",
"redis": "4.6.10",
"sequelize": "6.35.0",
"time-formater": "^1.1.3",
"uuid": "^9.0.1",
"winston": "3.11.0",
"winston-daily-rotate-file": "4.7.1"
},
"devDependencies": {
"eslint": "8.53.0",
"eslint-config-prettier": "8.8.0",
"husky": "8.0.3",
"lint-staged": "15.1.0",
"nodemon": "3.0.1",
"npm-check-updates": "^16.10.12",
"nyc": "15.1.0",
"power-assert": "1.6.1",
"prettier": "3.1.0",
"supertest": "6.3.3"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"corejs": 3
}
]
]
},
"engines": {
"node": ">= 16.0.0"
},
"lint-staged": {
"*.{js,mjs}": [
"prettier --write",
"eslint --cache --fix",
"git add"
],
"*.{md,html,json,css,less,scss,sass}": [
"prettier --write",
"git add"
]
}
}