From dcc42f85148ba3697c6b56f803c485013c0ca29b Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Tue, 14 Jul 2020 20:42:05 +0100 Subject: [PATCH] Ensure electron-builder and electron-rebuild use N-API v3 prebuilds --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c234ed0d..04fe62cf 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "Roman Malieiev " ], "scripts": { - "install": "(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)", + "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)", "clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*", "test": "semistandard && cpplint && npm run test-unit && npm run test-licensing && prebuild-ci", "test-unit": "nyc --reporter=lcov --branches=99 mocha --slow=5000 --timeout=60000 ./test/unit/*.js", @@ -137,7 +137,9 @@ }, "license": "Apache-2.0", "config": { - "libvips": "8.10.0-beta2" + "libvips": "8.10.0-beta2", + "runtime": "napi", + "target": 3 }, "engines": { "node": ">=10.16.0"