Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.86 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "node-os-utils",
"version": "3.1.0",
"description": "Advanced cross-platform operating system monitoring utilities with TypeScript support",
"type": "commonjs",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/src/esm-entry.d.mts",
"default": "./dist/src/esm-entry.mjs"
},
"require": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
}
}
},
"files": [
"dist/src/**/*",
"dist/package.json",
"README.md",
"README-zh.md",
"LICENSE",
"CHANGELOG.md"
],
"engines": {
"node": ">=12.22.0"
},
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run clean && tsc",
"build:watch": "tsc --watch",
"dev": "npm run build:watch",
"test": "npm run build && node scripts/test-runner.js all",
"test:unit": "node scripts/test-runner.js all",
"test:platform": "npm run build && node scripts/test-runner.js platform",
"test:linux": "npm run build && node scripts/test-runner.js linux",
"test:macos": "npm run build && node scripts/test-runner.js macos",
"test:windows": "npm run build && node scripts/test-runner.js windows",
"test:coverage": "npm run build && c8 node scripts/test-runner.js all",
"test:coverage-platform": "npm run build && c8 node scripts/test-runner.js platform",
"lint": "eslint src test --ext .ts,.mts --fix",
"lint:check": "eslint src test --ext .ts,.mts",
"docs": "typedoc src --out docs",
"publish:beta": "npm publish --tag beta",
"version:beta": "npm version prerelease --preid=beta",
"prepublishOnly": "npm run build && npm run test:unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SunilWang/node-os-utils.git"
},
"author": {
"name": "SunilWang",
"email": "ahwangshu@qq.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/SunilWang/node-os-utils/issues"
},
"homepage": "https://github.com/SunilWang/node-os-utils#readme",
"keywords": [
"os",
"system-monitor",
"monitoring",
"cpu",
"memory",
"disk",
"network",
"process-monitor",
"server-monitoring",
"typescript",
"cross-platform",
"linux",
"macos",
"windows",
"performance",
"metrics",
"realtime",
"observability",
"netstat",
"processes"
],
"devDependencies": {
"@types/chai": "~4.3.0",
"@types/mocha": "~10.0.0",
"@types/node": "~12.20.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"chai": "~4.3.0",
"eslint": "^8.57.1",
"c8": "~10.1.3",
"mocha": "~12.0.0",
"typedoc": "~0.25.0",
"typescript": "~5.4.0"
},
"overrides": {
"c8": {
"test-exclude": "7.0.1"
}
}
}