-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
executable file
·98 lines (98 loc) · 2.45 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
{
"name": "fancy-store-server",
"version": "1.0.0",
"description": "fancy-store api server",
"workspaces": [
"src/*"
],
"author": "czero1995",
"license": "MIT",
"scripts": {
"start": "npm run tsc && cross-env NODE_ENV=dev nodemon ./dist/src/main.js",
"dev": "ts-node-dev --clear ./src/main.ts",
"build": "npm run tsc && cross-env NODE_ENV=production pm2 start pm2.json",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lint": "prettier --write --parser typescript 'src/**/*.ts' 'test/**/*.ts'",
"test:w": "jest --watchAll",
"test": "jest"
},
"_moduleAliases": {
"@config": "dist/src/config",
"@lib": "dist/src/lib",
"@controller": "dist/src/app/controller",
"@helper": "dist/src/app/helper",
"@middleware": "dist/src/app/middleware",
"@model": "dist/src/app/model",
"@service": "dist/src/app/service",
"@util": "dist/src/app/util"
},
"_moduleAliasIgnoreWarning": true,
"husky": {
"hooks": {
"pre-commit": "git add . && lint-staged && tsc "
}
},
"keywords": [
"NodeJS",
"TypeScript",
"express"
],
"engines": {
"node": "8.15.0"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
],
"*.ts": [
"prettier --parser=typescript --write",
"git add"
]
},
"dependencies": {
"@types/jest": "^24.0.21",
"axios": "^0.19.2",
"babel-jest": "^24.9.0",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"connect-redis": "^4.0.3",
"cookie-parser": "^1.4.4",
"cors": "^2.8.5",
"cross-env": "^6.0.3",
"express": "^4.17.1",
"express-session": "^1.17.0",
"express-xml-bodyparser": "^0.3.0",
"helmet": "^3.21.2",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"module-alias": "^2.2.2",
"moment": "^2.24.0",
"mongoose": "^5.7.7",
"prettier": "^1.18.2",
"qiniu": "^7.2.2",
"redis": "^2.8.0",
"redis-mock": "^0.46.0",
"saslprep": "^1.0.3",
"sha1": "^1.1.1",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"tslib": "^1.10.0",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.6.4",
"utility": "^1.16.1",
"winston": "^3.2.1",
"wx-server-sdk": "^2.0.2"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"@babel/register": "^7.6.2",
"ts-node-dev": "^1.0.0-pre.42",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0"
}
}