UNPKG

1.88 kBJSONView Raw
1{
2 "name": "address",
3 "version": "2.0.1",
4 "description": "Get current machine IP, MAC and DNS servers.",
5 "scripts": {
6 "lint": "eslint src test --ext .ts",
7 "pretest": "npm run lint -- --fix && npm run prepublishOnly",
8 "test": "egg-bin test",
9 "preci": "npm run prepublishOnly",
10 "ci": "egg-bin cov",
11 "contributor": "git-contributor",
12 "prepublishOnly": "tshy && tshy-after"
13 },
14 "devDependencies": {
15 "@eggjs/tsconfig": "^1.3.3",
16 "@types/mocha": "^10.0.1",
17 "@types/node": "^20.6.3",
18 "egg-bin": "^6.5.2",
19 "eslint": "^8.49.0",
20 "eslint-config-egg": "^13.0.0",
21 "git-contributor": "^2.1.5",
22 "mm": "^3.3.0",
23 "runscript": "^1.5.3",
24 "tshy": "^1.1.1",
25 "tshy-after": "^1.0.0",
26 "typescript": "^5.2.2"
27 },
28 "repository": {
29 "type": "git",
30 "url": "git://github.com/node-modules/address.git"
31 },
32 "keywords": [
33 "address",
34 "ip",
35 "ipv4",
36 "mac"
37 ],
38 "engines": {
39 "node": ">= 16.0.0"
40 },
41 "author": "fengmk2 <fengmk2@gmail.com>",
42 "license": "MIT",
43 "files": [
44 "dist",
45 "src"
46 ],
47 "type": "module",
48 "tshy": {
49 "exports": {
50 "./package.json": "./package.json",
51 "./promises": "./src/promises.ts",
52 ".": "./src/index.ts"
53 }
54 },
55 "exports": {
56 "./package.json": "./package.json",
57 "./promises": {
58 "import": {
59 "types": "./dist/esm/promises.d.ts",
60 "default": "./dist/esm/promises.js"
61 },
62 "require": {
63 "types": "./dist/commonjs/promises.d.ts",
64 "default": "./dist/commonjs/promises.js"
65 }
66 },
67 ".": {
68 "import": {
69 "types": "./dist/esm/index.d.ts",
70 "default": "./dist/esm/index.js"
71 },
72 "require": {
73 "types": "./dist/commonjs/index.d.ts",
74 "default": "./dist/commonjs/index.js"
75 }
76 }
77 },
78 "types": "./dist/commonjs/index.d.ts"
79}