Skip to content

Commit

Permalink
Merge pull request #193 from yeliex/master
Browse files Browse the repository at this point in the history
upgrade node-pre-gyp to fix install problem
  • Loading branch information
yanyiwu committed Apr 26, 2021
2 parents c439291 + 61a73ed commit d746188
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,3 +16,4 @@ t.*
*.pid
node_modules
npm-debug.log
.idea
2 changes: 1 addition & 1 deletion index.js
@@ -1,4 +1,4 @@
var binary = require('node-pre-gyp');
var binary = require('@mapbox/node-pre-gyp');
var path = require('path');
var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json')));
var nodejieba = require(binding_path);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -24,8 +24,8 @@
"结巴分词"
],
"dependencies": {
"node-addon-api": "^3.0.2",
"node-pre-gyp": "^0.14.0"
"@mapbox/node-pre-gyp": "^1.0.4",
"node-addon-api": "^3.0.2"
},
"devDependencies": {
"coveralls": "~2.11.6",
Expand Down

0 comments on commit d746188

Please sign in to comment.