-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
85 lines (85 loc) · 2.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
{
"name": "bpf",
"version": "1.3.1",
"description": "Bindings for eBPF (libbpf)",
"author": "Alba Mendez <me@alba.sh>",
"keywords": [
"bpf",
"ebpf",
"kprobes",
"linux",
"kernel"
],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/mildsunrise/node_bpf.git"
},
"scripts": {
"install": "node-gyp-build",
"clean": "node-gyp clean; rm -rf dist",
"configure": "node-gyp configure",
"build": "node-gyp build && tsc",
"prepare": "rm -rf dist; tsc",
"prepublishOnly": "scripts/prebuild/prebuild.sh",
"prebuildify": "prebuildify",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"docs": "typedoc --out docs lib/index.ts",
"report-coverage": "cat ./coverage/lcov.info | coveralls"
},
"files": [
"dist",
"prebuilds",
"src",
"deps",
"binding.gyp"
],
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 65,
"functions": 60,
"lines": 85,
"statements": 85
}
},
"collectCoverageFrom": [
"lib/**/*.{js,ts}"
]
},
"dependencies": {
"@types/node": "^12.0.0",
"node-addon-api": "^3.0.1",
"node-gyp-build": "^4.2.3"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"coveralls": "^3.0.2",
"jest": "^27.5.1",
"prebuildify": "^4.0.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.7.0",
"typedoc": "^0.22.13",
"typescript": "^4.6.2"
}
}