This commit adds Windows build support by utilizing vcpkg to build dependencies, and CMake for the build system. These changes rely on vcpkg to be built and located in the VCPKG_ROOT environment variable, along with having Visual Studio 2019 installed.
32 lines
878 B
JSON
32 lines
878 B
JSON
{
|
|
"name": "@eyevinn/srt",
|
|
"version": "0.1.3",
|
|
"description": "Nodejs bindings for Secure Reliable Transport SDK",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"preinstall": "npm install git-clone && node scripts/build-srt-sdk.js",
|
|
"install": "node-gyp rebuild -j 8",
|
|
"rebuild": "node-gyp rebuild",
|
|
"clean": "node-gyp clean",
|
|
"postversion": "git push && git push --tags"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Eyevinn/node-srt"
|
|
},
|
|
"gypfile": true,
|
|
"author": "Eyevinn Technology AB <work@eyevinn.se>",
|
|
"contributors": [
|
|
"Jonas Rydholm Birmé <jonas.birme@eyevinn.se> (Eyevinn Technology AB)",
|
|
"Dillon Pentz <dillon@vodbox.io>"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"node-gyp": "^7.0.0"
|
|
},
|
|
"dependencies": {
|
|
"debug": "^4.1.1",
|
|
"git-clone": "^0.1.0",
|
|
"node-addon-api": "^3.0.0"
|
|
}
|
|
}
|