Ensure presence of libvips before invoking node-gyp

This commit is contained in:
Lovell Fuller
2021-05-16 19:40:43 +01:00
parent 81e388a4cc
commit b69a54fc75
4 changed files with 14 additions and 2 deletions

View File

@@ -79,7 +79,7 @@
"Michael Nutt <michael@nutt.im>"
],
"scripts": {
"install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)",
"install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)",
"clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*",
"test": "npm run test-lint && npm run test-unit && npm run test-licensing",
"test-lint": "semistandard && cpplint",