File tree 4 files changed +9
-2
lines changed
4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
+ coverage
2
3
* .swp
3
4
* .log
4
5
.DS_Store
Original file line number Diff line number Diff line change 1
1
test
2
+ coverage
2
3
.eslint *
3
4
.travis *
4
5
.npmignore
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ install:
10
10
11
11
script :
12
12
- npm run lint
13
- - npm test
13
+ - npm run cover
14
+ - npm run coveralls
14
15
15
16
cache :
16
17
directories :
Original file line number Diff line number Diff line change 6
6
"main" : " index.js" ,
7
7
"scripts" : {
8
8
"test" : " mocha" ,
9
- "lint" : " eslint index.js \" lib/**\" \" test/**\" "
9
+ "lint" : " eslint index.js \" lib/**\" \" test/**\" " ,
10
+ "cover" : " istanbul cover _mocha -- -R spec \" test/**/*\" " ,
11
+ "coveralls" : " cat coverage/lcov.info | coveralls"
10
12
},
11
13
"repository" : {
12
14
"type" : " git" ,
27
29
"htmlparser2" : " ^3.9.1"
28
30
},
29
31
"devDependencies" : {
32
+ "coveralls" : " ^2.11.12" ,
30
33
"eslint" : " ^3.3.1" ,
34
+ "istanbul" : " ^0.4.5" ,
31
35
"jsdomify" : " ^2.1.0" ,
32
36
"mocha" : " ^3.0.2" ,
33
37
"react" : " *" ,
You can’t perform that action at this time.
0 commit comments