changing sleep to dev dependency

This commit is contained in:
Andrew Gundersen 2022-05-18 06:48:57 -05:00
commit 0dd2712fdf
3 changed files with 35 additions and 47 deletions

View file

@ -13,17 +13,34 @@
"include_dirs": [
"portaudio/include"
],
"libraries": [
"libportaudio.dylib"
],
"copies": [
{
"destination": "build/Release/",
"files": [
"portaudio/bin/libportaudio.dylib"
"conditions": [
['OS=="mac"', {
"libraries": [
"libportaudio.dylib"
],
"copies": [
{
"destination": "build/Release",
"files": [
"portaudio/bin/libportaudio.dylib"
]
}
]
}
],
}],
['OS=="linux"', {
"libraries": [
"Release/libportaudio.so"
],
"copies": [
{
"destination": "build/Release",
"files": [
"portaudio/bin/libportaudio.so"
]
}
]
}],
]
}
]
}

41
package-lock.json generated
View file

@ -1,38 +1,20 @@
{
"name": "nodeaudio",
"version": "0.0.1",
"name": "@crimata/nodeaudio",
"version": "0.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "nodeaudio",
"version": "0.0.1",
"name": "@crimata/nodeaudio",
"version": "0.0.0",
"dependencies": {
"bindings": "~1.2.1",
"sleep": "^6.3.0"
"bindings": "~1.2.1"
}
},
"node_modules/bindings": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz",
"integrity": "sha1-FK1hE4EtLTfXLme0ystLtyZQXxE="
},
"node_modules/nan": {
"version": "2.15.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
"integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
},
"node_modules/sleep": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/sleep/-/sleep-6.3.0.tgz",
"integrity": "sha512-+WgYl951qdUlb1iS97UvQ01pkauoBK9ML9I/CMPg41v0Ze4EyMlTgFTDDo32iYj98IYqxIjDMRd+L71lawFfpQ==",
"hasInstallScript": true,
"dependencies": {
"nan": "^2.14.1"
},
"engines": {
"node": ">=0.8.0"
}
}
},
"dependencies": {
@ -40,19 +22,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz",
"integrity": "sha1-FK1hE4EtLTfXLme0ystLtyZQXxE="
},
"nan": {
"version": "2.15.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
"integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
},
"sleep": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/sleep/-/sleep-6.3.0.tgz",
"integrity": "sha512-+WgYl951qdUlb1iS97UvQ01pkauoBK9ML9I/CMPg41v0Ze4EyMlTgFTDDo32iYj98IYqxIjDMRd+L71lawFfpQ==",
"requires": {
"nan": "^2.14.1"
}
}
}
}

View file

@ -4,7 +4,9 @@
"description": "NodeJS bindings for PortAudio",
"main": "./index.js",
"dependencies": {
"bindings": "~1.2.1",
"bindings": "~1.2.1"
},
"devDependencies": {
"sleep": "^6.3.0"
},
"scripts": {