This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
118 lines (118 loc) · 4.31 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "@sentry/profiling-node",
"version": "1.3.5",
"description": "Sampling based nodejs profiler.",
"repository": {
"type": "git",
"url": "https://github.com/getsentry/profiling-node.git"
},
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"bin": {
"sentry-prune-profiler-binaries": "scripts/prune-profiler-binaries.mjs"
},
"engines": {
"node": ">=8.0.0"
},
"files": [
"lib",
"bindings",
"binding.gyp",
"LICENSE",
"README.md",
"package.json",
"package-lock.json",
"scripts/binaries.mjs",
"scripts/check-build.mjs",
"scripts/copy-target.mjs",
"scripts/prune-profiler-binaries.mjs"
],
"scripts": {
"install": "node scripts/check-build.mjs",
"clean": "rm -rf ./build && rm -rf build",
"lint": "yarn lint:eslint && yarn lint:clang",
"lint:eslint": "eslint . --format stylish",
"lint:clang": "node ./clang-format.mjs",
"lint:fix": "npm run fix:eslint && npm run fix:clang",
"lint:fix:eslint": "eslint . --format stylish --fix",
"lint:fix:clang": "node ./clang-format.mjs --fix",
"build": "npm run build:bindings && npm run build:lib",
"build:lib": "tsc -p ./tsconfig.types.json && node ./esbuild.mjs",
"build:configure": "node-gyp configure",
"build:configure:arm64": "node-gyp configure --arch=arm64 --target_arch=arm64",
"build:bindings": "node-gyp build && node scripts/copy-target.mjs",
"build:bindings:arm64": "node-gyp build --arch=arm64 && node scripts/copy-target.mjs",
"build:benchmark:format": "node-gyp -DFORMAT_BENCHMARK=1 build",
"build:dev": "yarn clean && yarn build:configure && yarn build",
"benchmark": "yarn benchmark:methods && yarn benchmark:profiler && yarn benchmark:server && yarn benchmark:format",
"benchmark:methods": "node benchmarks/cpu/benchmark.methods.js",
"benchmark:profiler": "node benchmarks/cpu/benchmark.profiler.js",
"benchmark:server": "node benchmarks/cpu/benchmark.server.js",
"benchmark:format": "node benchmarks/format/benchmark.format.js",
"benchmark:integration": "node benchmarks/cpu/benchmark.integration.base.js && node benchmarks/cpu/benchmark.integration.disabled.js && node benchmarks/cpu/benchmark.integration.js",
"test:watch": "cross-env SENTRY_PROFILER_BINARY_DIR=./build jest --watch",
"test:bundle": "node test-binaries.esbuild.mjs",
"test:setup:bundle": "(npm link && cd demo_app && npm install && npm link @sentry/profiling-node)",
"test:esbuild:build": "node ./demo_app/esbuild.mjs",
"test:esbuild:run": "BUNDLER=esbuild node ./demo_app/dist/esbuild/index.js",
"test:esbuild": "yarn test:esbuild:build && yarn test:esbuild:run",
"test:webpack:build": "webpack --config ./demo_app/webpack.config.js",
"test:webpack:run": "BUNDLER=webpack node ./demo_app/dist/webpack/index.js",
"test:webpack": "yarn test:webpack:build && yarn test:webpack:run",
"test:rollup:build": "rollup --config ./demo_app/rollup.config.js",
"test:rollup:run": "BUNDLER=rollup node ./demo_app/dist/rollup/index.js",
"test:rollup": "yarn test:rollup:build && yarn test:rollup:run",
"test": "cross-env SENTRY_PROFILER_BINARY_DIR=./lib jest --config jest.config.ts"
},
"keywords": [
"profiling",
"monitoring",
"apm",
"cpu",
"node",
"performance"
],
"binary": {
"napi_versions": [
7
]
},
"author": "jonas.badalic@sentry.io",
"license": "MIT",
"peerDependencies": {
"@sentry/node": "^7.44.1"
},
"dependencies": {
"detect-libc": "^2.0.2",
"node-abi": "^3.52.0"
},
"devDependencies": {
"@sentry-internal/eslint-config-sdk": "^7.91.0",
"@sentry/core": "^7.86.0",
"@sentry/hub": "^7.87.0",
"@sentry/node": "^7.87.0",
"@sentry/types": "^7.87.0",
"@sentry/utils": "^7.87.0",
"@types/eslint": "^7",
"@types/express": "^4.17.14",
"@types/jest": "^29.0.0",
"@types/node": "^18.19.4",
"@types/node-abi": "^3.0.0",
"autocannon": "^7.9.0",
"benchmark": "^2.1.4",
"clang-format": "^1.8.0",
"cross-env": "^7.0.3",
"esbuild": "^0.17.18",
"eslint": "7.32.0",
"express": "^4.18.1",
"jest": "^29.5.0",
"node-gyp": "^10.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"simple-zstd": "^1.4.0",
"sqlite3": "^5.0.8",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}