From eb0b54d8bfa92823b9ca4f30e136bbdc580a7fd0 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Fri, 4 Nov 2022 12:02:36 -0400 Subject: [PATCH] npm(install): run check build on install --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8eb994de..419801d4 100644 --- a/package.json +++ b/package.json @@ -22,16 +22,17 @@ "binaries", "scripts/binaries.js", "scripts/check-build.js", - "scripts/copu-target.js" + "scripts/copy-target.js" ], "scripts": { + "install": "echo '@sentry/profiling-node' > /dev/null", "postinstall": "node scripts/check-build.js", "clean": "rm -rf ./lib && rm -rf build", "lint": "eslint ./src --ext .ts", "build": "npm run build:bindings && npm run build:lib", "build:lib": "tsc", "build:configure": "node-gyp configure", - "build:bindings": "node-gyp rebuild", + "build:bindings": "node-gyp build", "build:benchmark:format": "node-gyp -DFORMAT_BENCHMARK=1 build", "benchmark": "npm run benchmark:methods && npm run benchmark:profiler && npm run benchmark:server && npm run benchmark:format", "benchmark:methods": "node benchmarks/cpu/benchmark.methods.js",