-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 4.72 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "supermap_api",
"version": "0.1.0",
"description": "A starting point for Node.js express apps with TypeScript",
"repository": {
"type": "git",
"url": "http://120.79.86.56:10080/back_end/supermap_api"
},
"author": "chenzhaozheng",
"before_author": "Bowden Kelly",
"license": "MIT",
"scripts": {
"size": "node --max-old-space-size=254",
"build": "npm run build-ts && npm run lint",
"serve": "node dist/server.js",
"watch-node": "nodemon --max-old-space-size=4076 dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"test": "jest --forceExit --coverage --verbose",
"watch-test": "npm run test --watchAll",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"lint": "tsc --noEmit && eslint \"*/**/*.{js,ts}\" --quiet --fix",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"debug": "npm run build && npm run watch-debug",
"serve-debug": "nodemon --inspect dist/server.js",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run serve-debug\"",
"sequelize-cli": "cd src && npx sequelize-cli"
},
"dependencies": {
"@types/fs-extra": "^8.0.0",
"@types/validator": "^10.11.3",
"acorn": "^7.1.0",
"acorn-jsx": "^5.1.0",
"amqplib": "^0.5.5",
"async": "^3.2.2",
"babel-core": "^6.26.3",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-preset-es2015": "^6.24.1",
"bcrypt-nodejs": "^0.0.3",
"bluebird": "^3.5.5",
"body-parser": "^1.19.0",
"commander": "^4.0.1",
"compression": "^1.7.4",
"connect-mongo": "^3.0.0",
"cron": "^1.7.1",
"dotenv": "^8.0.0",
"elastic-apm-node": "^3.1.0",
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"express-flash": "0.0.2",
"express-jwt": "^5.3.1",
"express-session": "^1.16.2",
"express-validator": "^6.0.1",
"farmhash": "^3.0.0",
"fbgraph": "^1.4.4",
"fs-extra": "^8.1.0",
"ioredis": "^4.14.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"log4js": "^6.4.0",
"lusca": "^1.6.1",
"mongoose": "^5.13.14",
"moment": "^2.29.4",
"multer": "^1.4.2",
"mysql2": "^1.7.0",
"nodemailer": "^6.6.1",
"passport": "^0.4.0",
"passport-facebook": "^3.0.0",
"passport-local": "^1.0.0",
"pg": "^7.12.0",
"pg-hstore": "^2.3.3",
"promise-queue": "^2.2.5",
"pug": "^3.0.1",
"reflect-metadata": "^0.1.13",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"sequelize": "^5.18.4",
"sequelize-cli": "^5.5.1",
"sequelize-typescript": "^0.6.11",
"upyun": "^3.3.11",
"validate-commit-msg": "^2.14.0",
"winston": "^2.4.2"
},
"devDependencies": {
"@types/async": "^3.0.0",
"@types/bcrypt-nodejs": "^0.0.30",
"@types/bluebird": "^3.5.27",
"@types/body-parser": "^1.17.0",
"@types/chai": "^4.1.7",
"@types/compression": "^0.0.36",
"@types/connect-mongo": "^0.0.42",
"@types/cron": "^1.7.1",
"@types/dotenv": "^6.1.1",
"@types/errorhandler": "^0.0.32",
"@types/express": "^4.17.0",
"@types/express-flash": "^0.0.2",
"@types/express-jwt": "0.0.42",
"@types/express-session": "^1.15.13",
"@types/jest": "^24.0.15",
"@types/jquery": "^3.3.29",
"@types/lodash": "^4.14.134",
"@types/lusca": "^1.6.0",
"@types/mongodb": "^3.1.28",
"@types/mongoose": "^5.5.6",
"@types/morgan": "^1.7.35",
"@types/node": "^12.12.24",
"@types/nodemailer": "^6.2.0",
"@types/passport": "^1.0.0",
"@types/passport-facebook": "^2.1.9",
"@types/passport-local": "^1.0.33",
"@types/request": "^2.48.1",
"@types/shelljs": "^0.8.5",
"@types/supertest": "^2.0.7",
"@types/winston": "^2.3.9",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"chai": "^4.2.0",
"concurrently": "^4.1.0",
"eslint": "^5.0.0",
"faker": "^4.1.0",
"jest": "^26.6.3",
"node-sass": "^7.0.0",
"nodemon": "^1.19.1",
"shelljs": "^0.8.5",
"supertest": "^4.0.2",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"typescript": "^3.5.2"
},
"config": {
"ghooks": {
"commit-msg": "validate-commit-msg"
},
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"test",
"chore",
"refactor",
"opti"
],
"warnOnFail": false,
"maxSubjectLength": 100,
"subjectPattern": ".+",
"subjectPatternErrorMsg": "请输入message信息!",
"helpMessage": "Commit message 格式错误, http://www.ruanyifeng.com/blog/2016/01/commit_message_change_log.html"
}
}
}