use full path to node-pre-gyp
# Conflicts: # package.json
This commit is contained in:
parent
8dd1bdbee5
commit
d91782cd01
|
@ -49,7 +49,7 @@
|
|||
"set-version": "scripts/set-version.sh",
|
||||
"lint": "eslint",
|
||||
"test": "scripts/test.sh",
|
||||
"install": "node-pre-gyp install --fallback-to-build",
|
||||
"install": "npm run isWin -s && node_modules/node-pre-gyp/bin/node-pre-gyp.cmd install --fallback-to-build || node_modules/node-pre-gyp/bin/node-pre-gyp install --fallback-to-build",
|
||||
"build-changes": "node-pre-gyp build --debug",
|
||||
"rebuild-changes": "node-pre-gyp rebuild --debug && cd tests && npm install",
|
||||
"prepublish": "echo prepublishing && node scripts/prepublish.js",
|
||||
|
@ -64,7 +64,6 @@
|
|||
"test-runner:jest": "cd tests/test-runners/jest && npm install --build-from-source=realm && npm test",
|
||||
"test-runners": "npm run test-runner:ava && npm run test-runner:mocha && npm run test-runner:jest",
|
||||
"isMac": "node -p \"if (process.platform == 'darwin') { process.exit(0); } else { process.exit(-1); }\"",
|
||||
"testMac": "npm run isMac -s && echo this is mac || echo . ",
|
||||
"isWin": "node -p \"if (process.platform == 'win32') { process.exit(0); } else { process.exit(-1); }\"",
|
||||
"prealias:win:apply": "git config alias.apply-win-symlink-aliases \"!f() { $(scripts/git-win-symlink-aliases); }; f\"",
|
||||
"alias:win:apply": "git apply-win-symlink-aliases",
|
||||
|
|
Loading…
Reference in New Issue