fix: fix benchmark:prod script
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 7 Sep 2023 11:03:25 +0000 (13:03 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 7 Sep 2023 11:03:25 +0000 (13:03 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
package.json

index 36a8e488665e8fc995bdec71fae5e3b611b5afef..f008ac135853433f6f4d35d0d39f1db1a367a4dd 100644 (file)
@@ -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",