-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
49 lines (49 loc) · 1.03 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
{
"name": "pn-server",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nodemon index.js",
"start": "npm run dev",
"lint": "prettier --write *.js */*.js",
"test": "node_modules/.bin/mocha --recursive test/"
},
"author": "ZYSzys <17367077526@163.com> (http://zyszys.top/)",
"license": "MIT",
"dependencies": {
"@koa/cors": "2.2.2",
"jsonwebtoken": "^8.4.0",
"koa": "2.5.3",
"koa-bodyparser": "4.2.1",
"koa-compress": "^3.0.0",
"koa-generic-session": "2.0.1",
"koa-logger": "3.2.0",
"koa-redis": "3.1.3",
"koa-router": "7.4.0",
"mongoose": "5.3.4"
},
"devDependencies": {
"husky": "1.1.2",
"lint-staged": "7.3.0",
"mocha": "5.2.0",
"nodemon": "1.18.4",
"prettier": "1.14.3",
"supertest": "3.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run lint",
"git add"
],
"**/*.js": [
"npm run lint",
"git add"
]
}
}