Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

const os = require('os')
const debug = require('debug')('speaker')
const binding = require('bindings')('binding')
const binding = require('node-gyp-build')(__dirname)
const { Writable } = require('stream')

// determine the native host endianness, the only supported playback endianness
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"install": "node-gyp-build",
"prebuild": "prebuildify --napi",
"test": "standard && node-gyp rebuild --mpg123-backend=dummy && mocha --reporter spec"
},
"dependencies": {
"bindings": "^1.3.0",
"buffer-alloc": "^1.1.0",
"debug": "^4.0.0"
"debug": "^4.0.0",
"node-gyp-build": "^4.2.0"
},
"devDependencies": {
"@types/node": "^12.12.14",
Expand Down
Binary file added prebuilds/win32-x64/electron.napi.node
Binary file not shown.
Binary file added prebuilds/win32-x64/node.napi.node
Binary file not shown.