Skip to content

Commit bfbbba0

Browse files
committed
fix(dep): add node-gyp to dependencies for avoid use global node-gyp
1 parent 7bf2a6a commit bfbbba0

File tree

2 files changed

+480
-9
lines changed

2 files changed

+480
-9
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "talib-binding",
33
"main": "./build/Release/talib_binding.node",
44
"types": "./src/talib-binding.generated.d.ts",
5-
"version": "0.3.2",
5+
"version": "0.4.0",
66
"license": "MIT",
77
"scripts": {
8-
"install": "node-gyp configure build -j4"
8+
"install": "./node_modules/.bin/node-gyp configure build -j4"
99
},
1010
"description": "A synchronous [TA-Lib](http://ta-lib.org/) bindings for Node.js & TypeScript.",
1111
"devDependencies": {
@@ -19,7 +19,8 @@
1919
"xml2js": "^0.4.19"
2020
},
2121
"dependencies": {
22-
"nan": "^2.7.0"
22+
"nan": "^2.7.0",
23+
"node-gyp": "^3.6.2"
2324
},
2425
"repository": {
2526
"type": "git",

0 commit comments

Comments
 (0)