-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpackage.json
177 lines (177 loc) · 4.77 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "tree-gateway",
"version": "3.1.7",
"homepage": "http://treegateway.com",
"description": "The Tree Gateway API Gateway",
"author": "Thiago da Rosa de Bustamante <[email protected]>",
"keywords": [
"API",
"Gateway",
"REST",
"RESTFul",
"service",
"microservice",
"typescript",
"node server"
],
"main": "./dist/tree-gateway.js",
"typings": "./dist/tree-gateway.d.ts",
"license": "MIT",
"scripts": {
"start": "node dist/index.js",
"start:cluster": "node dist/index.js -i 0",
"build": "npm run clean && tsc && npm run swagger && copyfiles -u 1 src/*.yaml dist",
"clean": "rimraf dist",
"lint": "tslint ./src/**/*.ts ./test/**/*.ts",
"lint:fix": "tslint --fix ./src/**/*.ts ./test/**/*.ts -t verbose",
"postversion": "git push origin master",
"pretest": "cross-env NODE_ENV=test npm run build && npm run lint",
"swagger": "swaggerGen -c ./swagger.config.json",
"test": "cross-env NODE_ENV=test mocha --exit",
"test:coverage": "nyc npm test",
"tsc": "tsc"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/admin/config/cli*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
},
"dependencies": {
"agentkeepalive": "^3.4.0",
"argparse": "^1.0.10",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.2",
"bson": "^2.0.0",
"chalk": "^2.3.2",
"cluster": "^0.7.7",
"compare-versions": "^3.1.0",
"compression": "^1.7.2",
"consul": "^0.31.0",
"cookie-parser": "^1.4.3",
"cors": "^2.8.4",
"decache": "^4.4.0",
"eventemitter3": "1.x.x",
"events": "^1.1.1",
"express": "^4.16.2",
"express-rate-limit": "^2.9.0",
"express-winston": "^2.5.0",
"fs-extra-promise": "^0.4.1",
"human-interval": "^0.1.6",
"inquirer": "^5.1.0",
"ioredis": "^3.1.4",
"joi": "13.0.0",
"jsonata": "^1.5.2",
"jsonwebtoken": "^8.2.0",
"lodash": "^4.17.5",
"lodash-deep": "^2.0.0",
"micromatch": "^3.1.10",
"mustache": "^2.3.0",
"on-headers": "^1.0.1",
"os": "^0.1.1",
"passport": "^0.3.2",
"passport-http": "^0.3.0",
"passport-local": "^1.0.0",
"passport-strategy": "^1.0.0",
"path-to-regexp": "^1.6.0",
"raw-body": "^2.3.0",
"request": "^2.86.0",
"requires-port": "1.x.x",
"stream-buffers": "^3.0.1",
"swagger-client": "^3.8.1",
"typescript-ioc": "^1.2.1",
"typescript-rest": "^1.5.2",
"typescript-rest-swagger": "0.0.12",
"url": "^0.11.0",
"uuid": "^3.2.1",
"weighted": "^0.3.0",
"winston": "^2.4.0",
"xml2js": "^0.4.19",
"yamljs": "^0.2.10"
},
"devDependencies": {
"@types/argparse": "^1.0.33",
"@types/bcryptjs": "^2.4.1",
"@types/body-parser": "^1.16.7",
"@types/bson": "^1.0.7",
"@types/chai": "^4.1.2",
"@types/chai-as-promised": "^7.1.0",
"@types/compression": "0.0.33",
"@types/consul": "^0.23.32",
"@types/cookie-parser": "^1.4.1",
"@types/cors": "^2.8.0",
"@types/express": "^4.11.1",
"@types/express-serve-static-core": "^4.11.1",
"@types/fs-extra-promise": "0.0.30",
"@types/inquirer": "0.0.36",
"@types/ioredis": "0.0.25",
"@types/joi": "^9.0.32",
"@types/jsonwebtoken": "^7.2.5",
"@types/lodash": "4.14.78",
"@types/micromatch": "^3.1.0",
"@types/mocha": "^2.2.48",
"@types/multer": "0.0.32",
"@types/mustache": "^0.8.30",
"@types/on-headers": "^2.1.29",
"@types/passport": "^0.2.33",
"@types/passport-http": "^0.3.5",
"@types/passport-local": "^1.0.29",
"@types/passport-strategy": "^0.2.32",
"@types/request": "0.0.31",
"@types/serve-static": "^1.7.31",
"@types/stream-buffers": "^3.0.2",
"@types/tough-cookie": "^2.3.5",
"@types/uuid": "^2.0.29",
"@types/weighted": "0.0.5",
"@types/winston": "0.0.28",
"@types/xml2js": "^0.4.0",
"@types/yamljs": "^0.2.30",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"copyfiles": "^1.2.0",
"coveralls": "^3.0.3",
"cross-env": "^4.0.0",
"mocha": "^5.1.1",
"nyc": "^14.1.0",
"rimraf": "^2.6.1",
"source-map-support": "^0.4.14",
"tough-cookie": "^3.0.1",
"ts-node": "^3.3.0",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.13.0",
"typescript": "3.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/TreeGateway/tree-gateway"
},
"bin": {
"treeGateway": "dist/index.js",
"treeGatewayConfig": "dist/admin/config/cli.js"
},
"bugs": {
"url": "https://github.com/TreeGateway/tree-gateway/issues"
},
"directories": {
"lib": "dist",
"doc": "doc"
},
"engines": {
"node": ">=8.0.0"
},
"engineStrict": true
}