-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.44 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.44 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
{
"name": "globalping-probe",
"version": "0.46.1",
"description": "",
"type": "module",
"main": "dist/index.js",
"author": "jsDelivr team",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/jsdelivr/globalping-probe.git"
},
"dependencies": {
"@isaacs/ttlcache": "^2.1.4",
"@sindresorhus/is": "^7.0.2",
"config": "^3.3.12",
"config-mapper-env": "^3.0.1",
"execa": "^8.0.1",
"got": "^12.6.1",
"http2-wrapper": "^2.2.1",
"ip-regex": "^5.0.0",
"joi": "^17.13.3",
"lodash": "^4.17.21",
"nvm": "github:nvm-sh/nvm",
"patch-package": "^8.0.0",
"physical-cpu-count": "^2.0.0",
"socket.io-client": "^4.8.1",
"throng": "^5.0.0",
"tldts": "^7.0.8",
"undici": "^5.29.0",
"winston": "^3.17.0",
"winston-transport": "^4.9.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@martin-kolarik/eslint-config": "^8.0.0",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@tsconfig/strictest": "^2.0.5",
"@types/blocked": "^1.3.4",
"@types/chai": "^5.2.2",
"@types/config": "^3.3.5",
"@types/lodash": "^4.17.17",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.0",
"@types/physical-cpu-count": "^2.0.2",
"@types/sinon": "^17.0.4",
"@types/stringify-object": "^4.0.5",
"@types/throng": "^5.0.7",
"blocked": "^1.3.0",
"c8": "^10.1.3",
"chai": "^5.2.0",
"eslint": "^9.29.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"mocha": "^11.6.0",
"nock": "^13.5.6",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.5",
"sinon": "^20.0.0",
"stringify-object": "^5.0.0",
"testdouble": "^3.20.2",
"ts-node": "^10.9.2",
"tsx": "^4.20.3",
"typescript": "^5.8.3"
},
"overrides": {
"got": {
"@szmarczak/http-timer": "5.0.1"
}
},
"scripts": {
"postinstall": "patch-package",
"build": "tsc && npm run copy:sh",
"coverage": "npm run clean && c8 npm run test:mocha",
"clean": "rimraf coverage",
"copy:sh": "cp -r src/sh dist/sh; chmod +x dist/sh/*",
"dev": "NODE_ENV=development tsx src/probe.ts",
"watch": "NODE_ENV=development tsx watch src/probe.ts",
"lint": "npm run lint:js && npm run lint:types",
"lint:fix": "npm run lint:js:fix",
"lint:js": "eslint --cache .",
"lint:js:fix": "eslint --cache --fix .",
"lint:types": "tsc --noEmit",
"prepare": "husky || echo 'Failed to install husky'",
"test": "npm run lint:js && npm run test:mocha",
"test:dist": "node test/dist.js",
"test:mocha": "NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha",
"test:mocha:dev": "SNAPSHOT_RESPONSES=1 TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha",
"test:mocha:dev:prune": "PRUNE_OLD_SNAPSHOTS=1 npm run test:mocha:dev",
"test:mocha:dev:update": "PRUNE_OLD_SNAPSHOTS=1 UPDATE_EXISTING_SNAPSHOTS=1 npm run test:mocha:dev",
"test:mocha:dev:updateNoPrune": "UPDATE_EXISTING_SNAPSHOTS=1 npm run test:mocha:dev",
"test:e2e": "npm run test:e2e:clone && npm run test:e2e:docker && npm run test:e2e:run",
"test:e2e:clone": "bash ./scripts/clone-gp-api.sh",
"test:e2e:docker": "docker build -t globalping-probe-e2e . && docker build --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 -t globalping-api-e2e test/e2e/globalping",
"test:e2e:run": "cd test/e2e/globalping; TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --config ./.mocharc.e2e.cjs || E=$?; cd ../../../; exit $E;"
},
"lint-staged": {
"*.{cjs,js,json,ts}": "eslint --cache --fix"
},
"engines": {
"node": "18 || 20 || 22 || 24"
}
}