-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
207 lines (207 loc) · 6.23 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "vpdb",
"version": "v3.2.9-SNAPSHOT",
"description": "Virtual Pinball Database",
"main": "src/app/index.ts",
"repository": {
"type": "git",
"url": "https://github.com/vpdb/server"
},
"keywords": [
"visual pinball",
"vp10",
"vpx"
],
"author": "freezy <[email protected]>",
"license": "GPL-2.0",
"bugs": {
"url": "https://github.com/vpdb/server/issues"
},
"scripts": {
"start": "node -r ts-node/register src/app",
"serve": "cross-env NODE_ENV=development PORT=3000 APP_NAME=local APP_SETTINGS=config/settings.js run-s build serve:test:debug:compiled",
"serve:dev": "nodemon --config deploy/nodemon/dev.json --inspect -r ts-node/register src/app",
"serve:test": "nyc node build/app",
"serve:test:debug": "node --inspect -r ts-node/register src/app",
"serve:test:debug:compiled": "npm run copy:resources && node --inspect build/app",
"serve:protractor": "cross-env NODE_ENV=test APP_SETTINGS=config/settings.protractor.js PORT=7357 APP_NAME=local run-s test:dropdbs start",
"build": "rimraf build && tsc && npm run copy:resources",
"copy:resources": "cp -r src/app/common/email-templates build/app/common",
"lint": "tslint src/app/**/*.ts",
"test:dropdbs": "node deploy/tools/dropdb",
"test:rimraf": "rimraf .nyc_output coverage data/storage-test-protected/**/* data/storage-test-public/**/*",
"test:wait": "node deploy/tools/wait",
"test:finish": "cross-env PORT=7357 node deploy/tools/finish",
"test:mocha": "mocha --reporter spec --timeout 120000 \"src/**/*.spec.js\"",
"test:run": "run-s test:wait test:mocha test:finish",
"test:serve": "cross-env NODE_ENV=test APP_SETTINGS=config/settings.test.js PORT=7357 APP_NAME=local ENABLE_KILL_SWITCH=1 LOGLEVEL=info run-s build test:dropdbs test:rimraf serve:test",
"test:serve:debug": "cross-env NODE_ENV=test APP_SETTINGS=config/settings.test.js PORT=7357 APP_NAME=local run-s test:dropdbs serve:test:debug",
"test:serve:debug:compiled": "cross-env NODE_ENV=test APP_SETTINGS=config/settings.test.js PORT=7357 APP_NAME=local LOGLEVEL=silly run-s build test:dropdbs test:rimraf serve:test:debug:compiled",
"test:ci": "run-p test:serve test:run",
"update-top-100": "node -r ts-node/register src/scripts/update-top-100.ts",
"snyk-protect": "snyk protect"
},
"engines": {
"node": "12.x"
},
"mod-project-name": "vpdb",
"dependencies": {
"@koa/cors": "3.1.0",
"@slack/client": "5.0.2",
"acl": "0.4.11",
"adm-zip": "0.4.16",
"archiver": "3.1.1",
"axios": "0.19.0",
"base64-stream": "1.0.0",
"bluebird": "3.7.2",
"buffer-indexof": "1.1.1",
"bull": "3.18.1",
"busboy": "0.3.1",
"bytes": "3.1.0",
"chalk": "2.4.2",
"diff": "4.0.1",
"elastic-apm-node": "3.8.0",
"ent": "2.2.0",
"es6-promise-pool": "2.5.0",
"fluent-ffmpeg": "2.1.2",
"gltf-pipeline": "github:freezy/gltf-pipeline#hotfix/dedupe",
"gm": "1.23.1",
"google-auth-library": "5.3.0",
"handlebars": "4.7.6",
"has-ansi": "4.0.0",
"ioredis": "4.19.2",
"jwt-simple": "0.5.6",
"koa": "2.13.0",
"koa-bodyparser": "4.3.0",
"koa-json": "2.0.2",
"koa-response-time": "2.1.0",
"koa-router": "7.4.0",
"koa-send": "5.0.1",
"lodash": "4.17.20",
"microtime": "3.0.0",
"mongo-sanitize": "1.1.0",
"mongoose": "5.7.8",
"mongoose-paginate": "5.0.3",
"mongoose-unique-validator": "2.0.3",
"natives": "1.1.6",
"nodegit": "^0.26.2",
"nodemailer": "6.4.15",
"optipng": "2.2.0",
"passthrough-counter": "1.0.0",
"path-to-regexp": "3.1.0",
"pngquant": "3.1.0",
"project-name-generator": "2.1.9",
"randomstring": "1.1.5",
"raygun": "0.10.1",
"redis": "2.8.0",
"rollbar": "2.19.4",
"sax": "1.2.4",
"sharp": "^0.26.2",
"shortid32": "0.1.1",
"snyk": "1.425.3",
"sqreen": "1.55.1",
"strip-ansi": "5.2.0",
"ua-parser-js": "0.7.20",
"uglify-js": "3.11.5",
"unrar": "0.2.0",
"unzipper": "^0.10.5",
"validator": "11.1.0",
"vpx-js": "1.3.4",
"winston": "3.3.3",
"winston-daily-rotate-file": "4.5.0",
"xmlbuilder": "13.0.2"
},
"devDependencies": {
"@types/adm-zip": "0.4.33",
"@types/archiver": "3.1.1",
"@types/bluebird": "3.5.33",
"@types/bull": "3.14.4",
"@types/busboy": "0.2.3",
"@types/bytes": "3.1.0",
"@types/cheerio": "0.22.13",
"@types/diff": "4.0.2",
"@types/ent": "2.2.3",
"@types/expect.js": "0.3.29",
"@types/faker": "4.1.7",
"@types/fluent-ffmpeg": "2.1.16",
"@types/gm": "1.18.9",
"@types/has-ansi": "3.0.0",
"@types/ioredis": "4.17.7",
"@types/jwt-simple": "0.5.33",
"@types/koa": "2.11.6",
"@types/koa-bodyparser": "4.3.0",
"@types/koa-json": "2.0.18",
"@types/koa-router": "7.4.1",
"@types/koa-send": "4.1.2",
"@types/lodash": "4.14.165",
"@types/mocha": "5.2.7",
"@types/mongo-sanitize": "1.0.1",
"@types/mongoose": "5.10.0",
"@types/mongoose-paginate": "5.0.8",
"@types/mongoose-unique-validator": "1.0.4",
"@types/node": "12.12.6",
"@types/nodegit": "0.24.13",
"@types/nodemailer": "6.4.0",
"@types/randomstring": "1.1.6",
"@types/redis": "2.8.28",
"@types/sax": "1.2.1",
"@types/sharp": "0.23.0",
"@types/strip-ansi": "5.2.1",
"@types/ua-parser-js": "0.7.33",
"@types/uglify-js": "3.11.1",
"@types/unzipper": "^0.10.0",
"@types/validator": "10.11.3",
"@types/yargs": "13.0.3",
"async": "2.6.2",
"cheerio": "1.0.0-rc.2",
"cross-env": "6.0.3",
"expect.js": "0.3.1",
"faker": "4.1.0",
"fast-glob": "3.2.4",
"form-data": "2.5.1",
"json-stable-stringify": "1.0.1",
"mocha": "5.2.0",
"nodemon": "1.19.4",
"npm-run-all": "4.1.5",
"nyc": "13.3.0",
"pleasejs": "0.4.2",
"superagent": "4.1.0",
"treeify": "1.1.0",
"ts-node": "8.4.1",
"tslint": "5.20.1",
"typescript": "3.6.3",
"yargs": "14.2.0",
"yauzl": "2.10.0"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"check-coverage": true,
"all": true,
"cache": true,
"sourceMap": true,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80,
"extension": [
".js"
],
"include": [
"build/app/**/*.js"
],
"exclude": [
"build/app/files/processor/processor.js",
"build/app/common/settings.validator.js",
"build/app/common/middleware/website.middleware.js",
"build/app/common/profiler.js",
"build/app/authentication/strategies/**",
"build/app/vpinball/gltf/gltf-exporter.js"
],
"reporter": [
"lcov",
"html",
"text-summary"
]
},
"snyk": true
}