-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
73 lines (73 loc) · 1.71 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
{
"name": "detect-port",
"version": "2.1.0",
"description": "Node.js implementation of port detector",
"keywords": [
"detect",
"port"
],
"bin": {
"detect": "dist/commonjs/bin/detect-port.js",
"detect-port": "dist/commonjs/bin/detect-port.js"
},
"main": "./dist/commonjs/index.js",
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git://github.com/node-modules/detect-port.git"
},
"dependencies": {
"address": "^2.0.1"
},
"devDependencies": {
"@eggjs/tsconfig": "^1.3.3",
"@types/mocha": "^10.0.6",
"@types/node": "^22.10.1",
"egg-bin": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-egg": "^13.0.0",
"execa": "^8.0.1",
"mm": "^3.4.0",
"strip-ansi": "^7.1.0",
"tshy": "^3.0.2",
"tshy-after": "^1.0.0",
"typescript": "^5.2.2"
},
"scripts": {
"pretest": "npm run lint -- --fix && npm run prepublishOnly",
"test": "egg-bin test",
"lint": "eslint src test --ext ts",
"ci": "npm run lint && npm run cov && npm run prepublishOnly",
"prepublishOnly": "tshy && tshy-after",
"precov": "npm run prepublishOnly",
"cov": "egg-bin cov"
},
"engines": {
"node": ">= 16.0.0"
},
"homepage": "https://github.com/node-modules/detect-port",
"license": "MIT",
"tshy": {
"exports": {
".": "./src/index.ts"
}
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"types": "./dist/commonjs/index.d.ts",
"type": "module",
"module": "./dist/esm/index.js"
}