-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
80 lines (80 loc) · 2.66 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
{
"name": "xprofiler",
"version": "2.6.1",
"description": "node.js addon to output runtime logs",
"bin": {
"xprofctl": "bin/xprofctl"
},
"main": "xprofiler.js",
"binary": {
"module_name": "xprofiler",
"module_path": "./build/binding/{configuration}/{node_abi}-{platform}-{arch}/",
"remote_path": "./v{version}/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
"host": "https://github.com/X-Profiler/xprofiler/releases/download"
},
"scripts": {
"install": "node-pre-gyp install --fallback-to-build",
"package": "node scripts/build.js",
"pack-common": "node scripts/common.js",
"pack-7u": "node scripts/7u.js",
"pack-8u": "node scripts/8u.js",
"copy": "node scripts/copy.js",
"build": "node-pre-gyp rebuild",
"format": "clang-format --version && clang-format -i --glob=\"src/**/!(report_win)[.h|.cc]\"",
"lint": "npm run format && eslint --fix *.js \"test/**/*.js\" lib/*.js patch/*.js bin/xprofctl scripts/**/*.js",
"test": "mocha -t 0 -R spec test/*.test.js test/patch/*.test.js",
"test-single": "mocha -t 0 -R spec",
"cov": "nyc --reporter=html --reporter=text --reporter=lcov mocha -R spec test/*.test.js test/patch/*.test.js --timeout 60000",
"cov-single": "nyc --reporter=html --reporter=text --reporter=lcov mocha --timeout 60000 -R spec",
"codecov": "codecov || echo 'warning: ignoring codecov failure'",
"ci": "npm run lint && npm run build && npm run cov && npm run codecov",
"dep": "npm run build && npm run cov",
"release": "node scripts/release.js",
"autod": "autod",
"pack": "node scripts/clean.js && node-pre-gyp package && node-pre-gyp testpackage && npm run copy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/X-Profiler/xprofiler.git"
},
"files": [
"bin",
"lib",
"patch",
"src",
"binding.gyp",
"configuration.js",
"index.d.ts",
"xprofiler.js"
],
"author": "yeekwanvong@gmail.com",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/X-Profiler/xprofiler/issues"
},
"homepage": "https://github.com/X-Profiler/xprofiler#readme",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"moment": "^2.30.1",
"nan": "^2.19.0",
"uuid": "^9.0.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@istanbuljs/schema": "^0.1.3",
"autod": "^3.1.2",
"clang-format": "^1.8.0",
"codecov": "^3.8.3",
"eslint": "^9.4.0",
"expect.js": "^0.3.1",
"mm": "^3.4.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0"
},
"xctlIpcPath": {
"unix": "xprofiler-ctl-uds-path.sock",
"win32": "xprofiler-ctl"
},
"blurryTag": "__"
}