Skip to content

Commit

Permalink
Add node-pre-gyp to root package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongin committed Jul 7, 2017
1 parent 7534baa commit e0166a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.cmd → install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ call :builduwp Windows.Devices.Radios %1
goto :eof

:builduwp
echo Building NodeRT UWP adapter for %1
pushd uwp\%1
echo Installing NodeRT UWP adapter for %1
pushd %~dp0uwp\%1
call node-pre-gyp install --fallback-to-build --msvs_version=2015 %2
if errorlevel 1 exit
echo.
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "noble-uwp",
"version": "0.4.1",
"version": "0.4.2",
"description": "Noble (Node.js Bluetooth LE) with Windows 10 UWP bindings",
"main": "index.js",
"scripts": {
"install" : "build.cmd"
"install": "install.cmd"
},
"os": [
"win32"
Expand All @@ -29,5 +29,8 @@
"dependencies": {
"debug": "^2.6.0",
"noble": "^1.7.0"
}
},
"bundledDependencies": [
"node-pre-gyp"
]
}

0 comments on commit e0166a3

Please sign in to comment.