From: Jérôme Benoit Date: Thu, 7 Sep 2023 11:03:25 +0000 (+0200) Subject: fix: fix benchmark:prod script X-Git-Tag: v2.6.43~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a31ef7dae2df3dd5ed9b0adf5c3e67a0fa0186b0;p=poolifier.git fix: fix benchmark:prod script Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 36a8e488..f008ac13 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "build:prod": "rollup --config", "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.mjs", "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.mjs", - "benchmark:prod": "pnpm build:prod && benchmarks/internal/bench.mjs", + "benchmark:prod": "pnpm build:prod && node benchmarks/internal/bench.mjs", "test": "pnpm build && c8 mocha 'tests/**/*.test.js'", "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'", "coverage": "c8 report --reporter=lcov",