-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
101 lines (101 loc) · 3.17 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@lzwme/get-physical-address",
"version": "1.1.0",
"description": "Try get the physical address(hardware MAC address) of the hosts network interfaces. Filter the virtual machine network card, VPN virtual network card, etc., and return the real MAC address information of the physical network card.",
"main": "cjs/index.js",
"module": "esm/index.js",
"typings": "types/index.d.ts",
"private": false,
"license": "MIT",
"repository": "https://github.com/lzwme/get-physical-address.git",
"author": {
"name": "renxia",
"email": "lzwy0820@qq.com",
"url": "https://lzw.me"
},
"keywords": [
"mac",
"mac-address",
"physical-address",
"visual-mac",
"physical",
"hardware",
"network interfaces",
"network card",
"arp",
"arp table",
"arp lookup"
],
"bin": {
"gmac": "bin/cli.js"
},
"scripts": {
"prepare": "husky install",
"start": "npm run watch",
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.cjs.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"lint": "flh --eslint --tscheck --prettier",
"test": "run-s test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "npm run cov",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "jest --watch",
"cov": "jest --coverage --silent",
"cov:html": "jest --coverage --silent --reporter=html",
"doc": "run-s doc:html && open-cli docs/index.html",
"doc:html": "typedoc src/ --exclude **/*.spec.ts --out docs --tsconfig tsconfig.module.json",
"doc:json": "typedoc src/ --exclude **/*.spec.ts --json docs/typedoc.json --tsconfig tsconfig.module.json",
"version": "standard-version",
"clean": "flh rm -f esm cjs types docs",
"release": "run-s test build doc:html",
"release-version": "run-s release version"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com"
},
"peerDependencies": {
"iconv-lite": "*"
},
"peerDependenciesMeta": {
"iconv-lite": {
"optional": true
}
},
"devDependencies": {
"@jest/core": "^29",
"@lzwme/fed-lint-helper": "^2.5.1",
"@swc/core": "^1.3.101",
"@swc/jest": "^0.2.29",
"@types/eslint": "^8.56.0",
"@types/jest": "^29.5.11",
"@types/node": "^20",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"console-log-colors": "^0.4.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-unicorn": "^50.0.1",
"husky": "^8.0.3",
"iconv-lite": "^0.6.3",
"jest": "^29",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"packageManager": "pnpm@8.0.0"
}