Skip to content

Commit 85bd17c

Browse files
authored
Merge pull request #10 from vunb/clean
remove node-gyp dependency
2 parents 6b2df40 + 09b3065 commit 85bd17c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ script:
5959
- npm test
6060
- if [[ $PUBLISH_BINARY == true ]]; then node-pre-gyp package && node-pre-gyp-github publish --release; fi;
6161

62-
cache:
63-
directories:
64-
- $HOME/.node-gyp
65-
- $HOME/.npm
66-
- node_modules
62+
# cache:
63+
# directories:
64+
# - $HOME/.node-gyp
65+
# - $HOME/.npm
66+
# - node_modules

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ install:
2222
- set PATH=%APPDATA%\npm;%PATH%
2323
# install submodules
2424
- git submodule update --init
25+
# fixes nodejs/node-gyp#972
26+
- npm install -g npm@next
2527
# install modules
26-
- npm install -g node-gyp node-pre-gyp node-pre-gyp-github
2728
- npm install --build-from-source
2829
# Check if we're building the latest tag, if so
2930
# then we publish the binaries if tests pass.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "fasttext",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "A nodejs binding for fasttext representation and classification",
55
"main": "index.js",
66
"scripts": {
77
"config": "node-pre-gyp configure --msvs_version=2015",
88
"build": "node-pre-gyp rebuild",
9-
"preinstall": "npm install node-pre-gyp node-gyp",
9+
"preinstall": "npm install node-pre-gyp",
1010
"postinstall": "node-pre-gyp install --fallback-to-build",
1111
"test": "tape test/start.js | tap-spec",
1212
"buildtest": "set PYTHON=C:\\Python27\\python.exe&& npm run config && npm run build && npm test"
@@ -34,11 +34,10 @@
3434
},
3535
"dependencies": {
3636
"nan": "2.8.0",
37-
"node-gyp": "3.6.2",
38-
"node-pre-gyp-github": "1.3.1",
3937
"node-pre-gyp": "0.6.39"
4038
},
4139
"devDependencies": {
40+
"node-pre-gyp-github": "1.3.1",
4241
"tap-spec": "^4.1.1",
4342
"tape": "^4.6.0"
4443
},

0 commit comments

Comments
 (0)