File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- node
4
- after_success : ' yarn test:coveralls'
4
+ script : ' yarn test:coverage'
5
+ after_success : ' yarn test:report'
Original file line number Diff line number Diff line change 8
8
" README.md"
9
9
],
10
10
"scripts" : {
11
- "build" : " babel src -d dist --ignore *.spec .js" ,
11
+ "build" : " babel src -d dist --ignore *.test .js" ,
12
12
"prepublish" : " yarn build" ,
13
13
"test" : " jest src/**/*.test.js" ,
14
- "test:coverage" : " jest src/**/*. test.js --coverage" ,
15
- "test:coveralls " : " yarn test:coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" ,
14
+ "test:coverage" : " yarn test -- --coverage" ,
15
+ "test:report " : " cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" ,
16
16
"test:watch" : " yarn test -- --watch"
17
17
},
18
18
"author" : " Matt Phillips" ,
You can’t perform that action at this time.
0 commit comments