98 lines
3.2 KiB
JSON
98 lines
3.2 KiB
JSON
{
|
|
"name": "@sentry/profiling-node",
|
|
"version": "7.119.0",
|
|
"description": "Official Sentry SDK for Node.js Profiling",
|
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/profiling-node",
|
|
"author": "Sentry",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"typesVersions": {
|
|
"<4.9": {
|
|
"lib/types/index.d.ts": [
|
|
"lib/types-ts3.8/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"bin": {
|
|
"sentry-prune-profiler-binaries": "scripts/prune-profiler-binaries.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "v7"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"bindings",
|
|
"binding.gyp",
|
|
"LICENSE",
|
|
"README.md",
|
|
"package.json",
|
|
"scripts/binaries.js",
|
|
"scripts/check-build.js",
|
|
"scripts/copy-target.js",
|
|
"scripts/prune-profiler-binaries.js"
|
|
],
|
|
"scripts": {
|
|
"install": "node scripts/check-build.js",
|
|
"clean": "rm -rf build && rm -rf lib",
|
|
"lint": "yarn lint:eslint && yarn lint:clang",
|
|
"lint:eslint": "eslint . --format stylish",
|
|
"lint:clang": "node clang-format.js",
|
|
"fix": "eslint . --format stylish --fix",
|
|
"lint:fix": "yarn fix:eslint && yarn fix:clang",
|
|
"lint:fix:clang": "node clang-format.js --fix",
|
|
"build": "yarn build:lib && yarn build:bindings:configure && yarn build:bindings",
|
|
"build:lib": "yarn build:types && rollup -c rollup.npm.config.mjs",
|
|
"build:transpile": "yarn build:bindings:configure && yarn build:bindings && yarn build:lib",
|
|
"build:types:downlevel": "yarn downlevel-dts lib/types lib/types-ts3.8 --to ts3.8",
|
|
"build:types": "tsc -p tsconfig.types.json && yarn build:types:downlevel",
|
|
"build:types:watch": "tsc -p tsconfig.types.json --watch",
|
|
"build:bindings:configure": "node-gyp configure",
|
|
"build:bindings:configure:arm64": "node-gyp configure --arch=arm64 --target_arch=arm64",
|
|
"build:bindings": "node-gyp build && node scripts/copy-target.js",
|
|
"build:bindings:arm64": "node-gyp build --arch=arm64 && node scripts/copy-target.js",
|
|
"build:dev": "yarn clean && yarn build:bindings:configure && yarn build",
|
|
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
|
|
"build:watch": "run-p build:transpile:watch build:types:watch",
|
|
"build:tarball": "npm pack",
|
|
"test:watch": "cross-env SENTRY_PROFILER_BINARY_DIR=build jest --watch",
|
|
"test:bundle": "node test-binaries.esbuild.js",
|
|
"test": "cross-env SENTRY_PROFILER_BINARY_DIR=lib jest --config jest.config.js"
|
|
},
|
|
"dependencies": {
|
|
"detect-libc": "^2.0.2",
|
|
"node-abi": "^3.61.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sentry/core": "7.119.0",
|
|
"@sentry/node": "7.119.0",
|
|
"@sentry/types": "7.119.0",
|
|
"@sentry/utils": "7.119.0",
|
|
"@types/node": "16.18.70",
|
|
"@types/node-abi": "^3.0.3",
|
|
"clang-format": "^1.8.0",
|
|
"cross-env": "^7.0.3",
|
|
"node-gyp": "^9.4.1",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"volta": {
|
|
"extends": "../../package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"nx": {
|
|
"targets": {
|
|
"build:transpile": {
|
|
"dependsOn": [
|
|
"^build:transpile",
|
|
"^build:types"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|