File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /
2
+ .nyc_output /
2
3
coverage /
3
- npm-debug.log
4
4
.vscode /
5
+ npm-debug.log
Original file line number Diff line number Diff line change 5
5
- " 7"
6
6
- " 6"
7
7
- " 4"
8
- script :
9
- - " npm run test-travis"
10
- after_script :
11
- - " npm install coveralls@2 && cat coverage/lcov.info | coveralls"
8
+ after_success :
9
+ - " npm install coveralls@2 && nyc report --reporter=text-lcov | coveralls"
Original file line number Diff line number Diff line change 18
18
"url" : " git://github.com/websockets/ws.git"
19
19
},
20
20
"scripts" : {
21
- "test-travis" : " npm run lint && istanbul cover _mocha --report lcovonly -- test/*.test.js" ,
22
- "coverage" : " istanbul cover _mocha --report html -- test/*.test.js" ,
23
- "integration" : " npm run lint && mocha test/*.integration.js" ,
24
- "test" : " npm run lint && mocha test/*.test.js" ,
21
+ "test" : " eslint . && nyc --reporter=html --reporter=text mocha test/*.test.js" ,
22
+ "integration" : " eslint . && mocha test/*.integration.js" ,
25
23
"lint" : " eslint ."
26
24
},
27
25
"dependencies" : {
36
34
"eslint-plugin-node" : " ~4.2.0" ,
37
35
"eslint-plugin-promise" : " ~3.5.0" ,
38
36
"eslint-plugin-standard" : " ~2.1.0" ,
39
- "istanbul" : " ~0.4.5" ,
40
37
"mocha" : " ~3.2.0" ,
38
+ "nyc" : " ~10.2.0" ,
41
39
"utf-8-validate" : " ~3.0.0"
42
40
}
43
41
}
You can’t perform that action at this time.
0 commit comments