-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.83 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.83 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
{
"name": "macstats",
"version": "4.2.0",
"description": "Mac OS X statistics",
"type": "module",
"main": "./dist/index.js",
"bin": {
"macstats": "bin/macstats"
},
"files": [
"dist",
"bin",
"build/Release/smc.node",
"smc",
"binding.gyp"
],
"scripts": {
"build:native": "node-gyp build",
"build:ts": "tsc -p tsconfig.json",
"build": "npm run build:native && npm run build:ts",
"prepublishOnly": "npm run build",
"postinstall": "node -e \"try { require('./build/Release/smc.node'); } catch(e) { require('child_process').execSync('npm run build:native', {stdio: 'inherit'}); }\"",
"lint": "eslint 'src/**/*.{js,ts}' --quiet --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jkuri/macstats.git"
},
"keywords": [
"os x",
"mac",
"stats",
"apple",
"status",
"battery",
"cpu",
"fan",
"darwin"
],
"author": "Jan Kuri <jkuri88@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jkuri/macstats/issues"
},
"homepage": "https://github.com/jkuri/macstats",
"os": [
"darwin"
],
"dependencies": {
"chalk": "^5.6.2",
"ink": "^6.4.0",
"nan": "^2.23.1",
"react": "^19.2.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^24.10.0",
"@types/react": "^19.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@vitest/ui": "^4.0.8",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"node-gyp": "^11.5.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.3",
"vitest": "^4.0.8"
}
}