Skip to content

Commit d8e6064

Browse files
committed
Try to fix the travis windows issue
1 parent ec92f5c commit d8e6064

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.npmignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ test/
44
.eslintrc.js
55
.travis.yml
66
Dockerfile
7-
.dockerignore
7+
.dockerignore
8+
.nyc_output/
9+
coverage/

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "vsc-leetcode-cli",
33
"version": "2.6.20",
44
"description": "A cli tool to enjoy leetcode!",
5-
"preferGlobal": "true",
65
"engines": {
76
"node": ">=4"
87
},
@@ -11,7 +10,7 @@
1110
},
1211
"scripts": {
1312
"lint": "eslint lib/ test/",
14-
"test": "npm run lint && nyc mocha test test/plugins && nyc report --reporter=lcov",
13+
"test": "npm run lint && npx nyc mocha test test/plugins && nyc report --reporter=lcov",
1514
"travis": "node bin/pkg",
1615
"pkg": "pkg . --out-path=dist/ --targets"
1716
},
@@ -46,9 +45,9 @@
4645
},
4746
"license": "MIT",
4847
"bugs": {
49-
"url": "https://github.com/jdneo/leetcode-cli/issues"
48+
"url": "https://github.com/leetcode-tools/leetcode-cli/issues"
5049
},
51-
"homepage": "https://github.com/jdneo/leetcode-cli#readme",
50+
"homepage": "https://github.com/leetcode-tools/leetcode-cli#readme",
5251
"dependencies": {
5352
"ansi-styles": "3.2.1",
5453
"cheerio": "0.20.0",

0 commit comments

Comments
 (0)