Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

feat: use prebuildify; still need to integrate with CI to automate pu… #6

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
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 @@ -2,7 +2,7 @@

const EventEmitter = require('events').EventEmitter
const Stream = require('stream').Stream
const SaxParser = require('bindings')('sax_parser').SaxParser
const SaxParser = require('node-gyp-build')(__dirname).SaxParser
const inherits = require('util').inherits

inherits(SaxParser, EventEmitter)
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "ava",
"build": "node-gyp rebuild",
"install": "node-gyp rebuild",
"install": "node-gyp-build",
"benchmark": "node benchmark",
"fmt": "prettier --write **/*.js"
},
Expand All @@ -31,8 +31,9 @@
},
"license": "MIT",
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^3.0.0"
"node-addon-api": "^3.0.0",
"node-gyp-build": "^4.2.2",
"prebuildify": "^4.0.0"
},
"devDependencies": {
"ava": "^3.8.2",
Expand Down