forked from jsdelivr/globalping
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.1 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.1 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
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
{
"name": "api",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "dist/index.js",
"author": "Artem Stoianov <stoianov.artem@gmail.com>",
"license": "MIT",
"dependencies": {
"@appsignal/koa": "^1.0.16",
"@appsignal/nodejs": "^2.3.2",
"@koa/router": "^10.1.1",
"@maxmind/geoip2-node": "^3.4.0",
"@socket.io/redis-adapter": "^7.1.0",
"any-ascii": "^0.3.0",
"config": "^3.3.7",
"countries-list": "^2.6.1",
"crypto-random-string": "^5.0.0",
"got": "^12.0.3",
"gunzip-maybe": "^1.4.2",
"http-errors": "^2.0.0",
"joi": "^17.6.0",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-compress": "^5.1.0",
"koa-conditional-get": "^3.0.0",
"koa-etag": "^4.0.0",
"koa-json": "^2.0.2",
"koa-response-time": "^2.1.0",
"lodash": "^4.17.21",
"maxmind": "^4.3.6",
"private-ip": "^2.3.3",
"rate-limiter-flexible": "^2.3.6",
"redis": "^4.1.0",
"request-ip": "^2.1.3",
"semver": "^7.3.7",
"socket.io": "^4.4.1",
"throng": "^5.0.0",
"validator": "^13.7.0",
"winston": "^3.6.0"
},
"devDependencies": {
"@tsconfig/node16-strictest-esm": "^1.0.0",
"@types/chai": "^4.3.0",
"@types/config": "^0.0.41",
"@types/http-errors": "^1.8.2",
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"@types/koa-bodyparser": "^4.3.5",
"@types/koa-compress": "^4.0.3",
"@types/koa-conditional-get": "^2.0.0",
"@types/koa-etag": "^3.0.0",
"@types/koa-json": "^2.0.20",
"@types/koa-response-time": "^2.1.2",
"@types/lodash": "^4.14.179",
"@types/mocha": "^9.1.0",
"@types/mock-fs": "^4.13.1",
"@types/node": "^16.11.26",
"@types/request-ip": "^0.0.37",
"@types/semver": "^7.3.10",
"@types/sinon": "^10.0.11",
"@types/supertest": "^2.0.11",
"@types/throng": "^5.0.3",
"@types/validator": "^13.7.2",
"c8": "^7.11.0",
"chai": "^4.3.6",
"husky": "^8.0.1",
"mocha": "^10.0.0",
"mock-fs": "^5.1.2",
"nock": "^13.2.4",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"supertest": "^6.2.2",
"tsx": "^3.8.0",
"typescript": "^4.6.4",
"xo": "^0.49.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.6",
"utf-8-validate": "^5.0.8"
},
"scripts": {
"build": "tsc && npm run blacklist",
"start": "NODE_ENV=production node dist/index.js",
"dev": "NODE_ENV=development node dist/index.js",
"dev:tsx": "NODE_ENV=development tsx src/index.ts",
"lint": "xo",
"lint:fix": "xo --fix",
"lint:types": "tsc --noEmit",
"blacklist": "node dist/lib/malware/download.js",
"test": "npm run lint:types && npm run test:src",
"test:src": "NODE_ENV=test mocha",
"clean": "rimraf coverage",
"test:coverage": "npm run clean && c8 mocha",
"init:hooks": "husky install"
},
"xo": {
"ignores": [
"public"
],
"rules": {
"import/no-unassigned-import": "off",
"unicorn/no-thenable": "off",
"@typescript-eslint/class-literal-property-style": "off",
"@typescript-eslint/no-unused-expressions": "off"
}
},
"engines": {
"node": "16"
}
}