forked from jsdelivr/globalping-probe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.69 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.69 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
{
"name": "globalping-probe",
"version": "0.27.0",
"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": {
"config": "^3.3.9",
"config-mapper-env": "^2.0.0",
"execa": "^7.2.0",
"got": "^12.6.1",
"http2-wrapper": "^2.2.0",
"joi": "^17.11.0",
"lodash": "^4.17.21",
"physical-cpu-count": "^2.0.0",
"socket.io-client": "^4.7.2",
"throng": "^5.0.0",
"tldts": "^6.0.15",
"winston": "^3.10.0"
},
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@martin-kolarik/eslint-config": "^7.3.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@tsconfig/node16-strictest-esm": "^1.0.3",
"@types/blocked": "^1.3.3",
"@types/chai": "^4.3.6",
"@types/config": "^3.3.1",
"@types/lodash": "^4.14.199",
"@types/mocha": "^10.0.2",
"@types/node": "^18.18.3",
"@types/physical-cpu-count": "^2.0.0",
"@types/sinon": "^10.0.18",
"@types/stringify-object": "^4.0.4",
"@types/throng": "^5.0.5",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"blocked": "^1.3.0",
"c8": "^8.0.1",
"chai": "^4.3.10",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"mocha": "^10.2.0",
"nock": "^13.3.3",
"semantic-release": "^20.1.3",
"sinon": "^16.1.0",
"stringify-object": "^5.0.0",
"testdouble": "^3.19.0",
"ts-node": "^10.9.1",
"tsx": "^3.13.0",
"typescript": "^4.9.5"
},
"scripts": {
"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/index.ts",
"watch": "NODE_ENV=development tsx watch src/index.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 install || 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"
},
"lint-staged": {
"*.{cjs,js,json,ts}": "eslint --cache --fix"
},
"engines": {
"node": "16 || 18"
}
}