Skip to content

Commit e0166a3

Browse files
committed
Add node-pre-gyp to root package dependencies
1 parent 7534baa commit e0166a3

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

build.cmd renamed to install.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ call :builduwp Windows.Devices.Radios %1
1010
goto :eof
1111

1212
:builduwp
13-
echo Building NodeRT UWP adapter for %1
14-
pushd uwp\%1
13+
echo Installing NodeRT UWP adapter for %1
14+
pushd %~dp0uwp\%1
1515
call node-pre-gyp install --fallback-to-build --msvs_version=2015 %2
1616
if errorlevel 1 exit
1717
echo.

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "noble-uwp",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Noble (Node.js Bluetooth LE) with Windows 10 UWP bindings",
55
"main": "index.js",
66
"scripts": {
7-
"install" : "build.cmd"
7+
"install": "install.cmd"
88
},
99
"os": [
1010
"win32"
@@ -29,5 +29,8 @@
2929
"dependencies": {
3030
"debug": "^2.6.0",
3131
"noble": "^1.7.0"
32-
}
32+
},
33+
"bundledDependencies": [
34+
"node-pre-gyp"
35+
]
3336
}

0 commit comments

Comments
 (0)