Skip to content

Commit

Permalink
Merge pull request #3 from jongear/bindings
Browse files Browse the repository at this point in the history
feat(index.js): Added support for bindings
  • Loading branch information
jongear authored Jan 16, 2019
2 parents 329fd48 + cbabaf1 commit 8667c0d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var events = require('events');

var binding = require('./build/Release/xpc-connection.node');
var binding = require('bindings')('xpc-connection.node');
var XpcConnection = binding.XpcConnection;

inherits(XpcConnection, events.EventEmitter);
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"node": ">=0.8"
},
"dependencies": {
"bindings": "^1.3.1",
"nan": "^2.12.1",
"node-gyp": "^3.8.0"
},
Expand Down

0 comments on commit 8667c0d

Please sign in to comment.