-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.81 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 1.81 KB
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": "im",
"version": "0.0.0",
"private": true,
"main": "dist/app.js",
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon src/app.ts",
"prod": "cross-env NODE_ENV=production node dist/app.js",
"build": "rimraf dist && tsc -p .",
"lint": "eslint src --ext .ts",
"lint-fix": "eslint src --ext .ts --fix",
"pre-commit": "yarn type:check && lint-staged",
"type:check": "tsc --noEmit --skipLibCheck"
},
"dependencies": {
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"dayjs": "^1.11.2",
"express": "~4.16.1",
"express-jwt": "^6.0.0",
"http-errors": "~1.6.3",
"ioredis": "^5.0.4",
"jsonwebtoken": "^8.5.1",
"knex": "^2.0.0",
"md5-file": "^5.0.0",
"morgan": "~1.9.1",
"multer": "^1.4.4",
"mysql": "^2.18.1",
"pinyin": "^2.9.1",
"qiniu": "^7.6.0",
"socket.io": "^3.0.5"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.6",
"@types/express-jwt": "^0.0.42",
"@types/http-errors": "^1.6.3",
"@types/jsonwebtoken": "^8.5.0",
"@types/morgan": "^1.9.0",
"@types/multer": "^1.4.7",
"@types/node": "^13.7.6",
"@types/pinyin": "^2.8.1",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"cross-env": "^7.0.2",
"eslint": "^7.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.20.2",
"nodemon": "^2.0.4",
"rimraf": "^3.0.2",
"ts-node": "^8.10.2",
"typescript": "^4.0.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn pre-commit"
}
},
"lint-staged": {
"linters": {
"**/*.{js,jsx,ts,tsx,json}": [
"prettier --write",
"eslint",
"git add"
]
}
}
}