-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.1 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
{
"name": "node-meminfo",
"version": "4.0.0",
"description": "Get memory information on Linux.",
"type": "module",
"exports": "./lib/lib.js",
"types": "./lib/lib.d.ts",
"engines": {
"node": ">=20"
},
"files": [
"lib",
"src",
"build.rs",
"Cargo.toml"
],
"os": [
"linux"
],
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:inspect-brk": "node --experimental-vm-modules --inspect-brk=0.0.0.0:9230 node_modules/jest/bin/jest.js --testTimeout 0 --runInBand",
"clean": "rimraf lib",
"install": "napi build --release --platform --js index.cjs --dts index.d.cts",
"build": "npm run clean && npm run install && tsc -p tsconfig.build.json",
"build:watch": "npm run build -- -w",
"lint": "eslint src tests",
"lint:fix": "npm run lint -- --fix",
"prepare": "git config core.hooksPath .githooks || exit 0",
"prepack": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magiclen/node-meminfo.git"
},
"keywords": [
"node.js",
"meminfo",
"free"
],
"author": "Magic Len",
"license": "MIT",
"bugs": {
"url": "https://github.com/magiclen/node-meminfo/issues"
},
"homepage": "https://magiclen.org/node-meminfo/",
"devDependencies": {
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.13",
"eslint": "^9.13.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"globals": "^15.11.0",
"jest": "^29.7.0",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "~5.6.3",
"typescript-eslint": "^8.11.0"
},
"dependencies": {
"@napi-rs/cli": "^2.18.4"
}
}