File tree Expand file tree Collapse file tree 6 files changed +644
-24
lines changed Expand file tree Collapse file tree 6 files changed +644
-24
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
+ .nyc_output
3
+ .coveralls.yml
Original file line number Diff line number Diff line change 25
25
template.readme.md
26
26
# CI
27
27
.travis.yml
28
+ .coveralls.yml
28
29
# project styles
29
30
.eslintrc.js
30
31
.prettierrc.js
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " node"
3
+ - " node"
4
+ after_success : npm run coverage
Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://travis-ci.com/eithe/node-red-contrib-jsonstat.svg?branch=master )] ( https://travis-ci.com/eithe/node-red-contrib-jsonstat )
1
+ [ ![ Build Status] ( https://travis-ci.com/eithe/node-red-contrib-jsonstat.svg?branch=master )] ( https://travis-ci.com/eithe/node-red-contrib-jsonstat )
2
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/eithe/node-red-contrib-jsonstat/badge.svg?branch=code-coverage )] ( https://coveralls.io/github/eithe/node-red-contrib-jsonstat?branch=code-coverage )
2
3
3
4
# jsonstat nodes for Node-RED
4
5
Original file line number Diff line number Diff line change 8
8
"dependencies" : {
9
9
"jsonstat" : " 0.13.3"
10
10
},
11
- "keywords" : [
12
- " node-red" ,
13
- " jsonstat"
14
- ],
15
11
"devDependencies" : {
12
+ "coveralls" : " ^3.0.2" ,
16
13
"mocha" : " ~5.2.0" ,
17
14
"node-red" : " ~0.19.5" ,
18
- "node-red-node-test-helper" : " ~0.1.8"
15
+ "node-red-node-test-helper" : " ~0.1.8" ,
16
+ "nyc" : " ^13.1.0"
19
17
},
18
+ "keywords" : [
19
+ " node-red" ,
20
+ " jsonstat"
21
+ ],
20
22
"scripts" : {
21
- "test" : " mocha \" test/**/*_spec.js\" "
23
+ "test" : " nyc mocha \" test/**/*_spec.js\" " ,
24
+ "coverage" : " nyc report --reporter=text-lcov | coveralls"
22
25
},
23
26
"node-red" : {
24
27
"nodes" : {
25
28
"jsonstat-data" : " nodes/jsonstat-data.js" ,
26
29
"jsonstat-category" : " nodes/jsonstat-category.js"
27
30
}
28
31
}
29
- }
32
+ }
You can’t perform that action at this time.
0 commit comments