-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
85 lines (85 loc) · 2.11 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
{
"name": "address",
"version": "2.0.3",
"description": "Get current machine IP, MAC and DNS servers.",
"scripts": {
"lint": "eslint src test --ext .ts",
"pretest": "npm run lint -- --fix && npm run prepublishOnly",
"test": "egg-bin test",
"preci": "npm run lint && npm run prepublishOnly && attw --pack --ignore-rules no-resolution",
"ci": "egg-bin cov",
"contributor": "git-contributor",
"prepublishOnly": "tshy && tshy-after"
},
"devDependencies": {
"@arethetypeswrong/cli": "*",
"@eggjs/tsconfig": "^1.3.3",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.3",
"egg-bin": "^6.5.2",
"eslint": "^8.49.0",
"eslint-config-egg": "^13.0.0",
"git-contributor": "^2.1.5",
"mm": "^3.3.0",
"runscript": "^1.5.3",
"tshy": "^1.1.1",
"tshy-after": "^1.0.0",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "git://github.com/node-modules/address.git"
},
"keywords": [
"address",
"ip",
"ipv4",
"mac"
],
"engines": {
"node": ">= 16.0.0"
},
"author": "fengmk2 <[email protected]>",
"license": "MIT",
"files": [
"dist",
"src"
],
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
"./promises": "./src/promises.ts",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
"./promises": {
"import": {
"source": "./src/promises.ts",
"types": "./dist/esm/promises.d.ts",
"default": "./dist/esm/promises.js"
},
"require": {
"source": "./src/promises.ts",
"types": "./dist/commonjs/promises.d.ts",
"default": "./dist/commonjs/promises.js"
}
},
".": {
"import": {
"source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"source": "./src/index.ts",
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"types": "./dist/commonjs/index.d.ts",
"main": "./dist/commonjs/index.js"
}