Skip to content

Commit f252c23

Browse files
committed
chore(prebuild): add support for prebuilt binaries to project
1 parent b924f8a commit f252c23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@
2626
"jsdoc-to-markdown": "^4.0.1",
2727
"mocha": "^5.2.0",
2828
"mongodb": "^3.1.3",
29+
"prebuild": "^7.6.2",
30+
"prebuild-ci": "^2.2.3",
2931
"prettier": "^1.14.2",
3032
"request": "^2.88.0",
3133
"segfault-handler": "^1.0.1"
3234
},
3335
"scripts": {
34-
"install": "(node-gyp rebuild) || (exit 0)",
36+
"install": "prebuild-install || node-gyp rebuild",
3537
"format-cxx": "git-clang-format",
3638
"format-js": "prettier --print-width 100 --tab-width 2 --single-quote --write index.js 'test/**/*.js' 'lib/**/*.js'",
3739
"lint": "eslint index.js lib test",
3840
"precommit": "check-clang-format",
39-
"test": "mocha ./test",
41+
"test": "mocha ./test && prebuild-ci",
4042
"docs": "jsdoc2md --template etc/README.hbs --plugin dmd-clear --files lib/kerberos.js > README.md"
4143
},
4244
"author": "Christian Amor Kvalheim",

0 commit comments

Comments
 (0)