Skip to content

Commit

Permalink
Merge pull request #14 from seriousben/fix-install
Browse files Browse the repository at this point in the history
Fix install as module
  • Loading branch information
mdelete committed Jan 8, 2017
2 parents b306c24 + bf93e16 commit 1f30395
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"name" : "tesseract_native",
"description" : "C++ module for node providing OCR with tesseract and leptonica",
"version" : "v0.5.2",
"gypfile": true,
"scripts" : {
"preinstall" : "node-gyp configure && node-gyp build",
"preuninstall" : "rm -rf build/*",
"test": "node test.js HelloWorld.jpg"
},
"main" : "build/Release/tesseract_native.node",
Expand All @@ -22,6 +21,10 @@
"url" : "https://github.com/mdelete/node-tesseract-native.git"
},
"license": "MIT",
"dependencies": {
"bindings": "^1.2.1",
"nan": "^2.2.0"
},
"engines": {
"node": ">=0.12.0"
}
Expand Down

0 comments on commit 1f30395

Please sign in to comment.