File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ const {run} = require('madrun');
44
55module . exports = {
66 'test' : ( ) => `tape 'test/*.js'` ,
7- 'watch:test' : ( ) => 'nodemon -w lib -w test -x "npm test"' ,
7+ 'watch:test' : async ( ) => await run ( 'watcher' , await run ( 'test' ) ) ,
8+ 'watcher' : ( ) => 'nodemon -w test -w lib -w bin --exec' ,
89 'lint' : ( ) => 'putout .' ,
910 'fix:lint' : ( ) => run ( 'lint' , '--fix' ) ,
10- 'coverage' : ( ) => 'nyc npm test',
11- 'report' : ( ) => 'nyc report --reporter=text- lcov | coveralls ' ,
11+ 'coverage' : async ( ) => `c8 ${ await run ( ' test') } ` ,
12+ 'report' : ( ) => 'c8 report --reporter=lcov' ,
1213} ;
1314
Original file line number Diff line number Diff line change 11# Try to Catch [ ![ NPM version] [ NPMIMGURL ]] [ NPMURL ] [ ![ Build Status] [ BuildStatusIMGURL ]] [ BuildStatusURL ] [ ![ Coverage Status] [ CoverageIMGURL ]] [ CoverageURL ]
22
33[ NPMIMGURL ] : https://img.shields.io/npm/v/try-to-catch.svg?style=flat&longCache=true
4- [ BuildStatusIMGURL ] : https://img.shields.io/travis/coderaiser/try-to-catch/master.svg?style=flat&longCache=true
54[ NPMURL ] : https://npmjs.org/package/try-to-catch " npm "
6- [ BuildStatusURL ] : https://travis-ci.org/coderaiser/try-to-catch " Build Status "
75[ CoverageURL ] : https://coveralls.io/github/coderaiser/try-to-catch?branch=master
86[ CoverageIMGURL ] : https://coveralls.io/repos/coderaiser/try-to-catch/badge.svg?branch=master&service=github
7+ [ BuildStatusURL ] : https://github.com/coderaiser/putout/actions?query=workflow%3A%22Node+CI%22 " Build Status "
8+ [ BuildStatusIMGURL ] : https://github.com/coderaiser/putout/workflows/Node%20CI/badge.svg
99
1010Functional ` try-catch ` wrapper for ` promises ` .
1111
Original file line number Diff line number Diff line change 3030 " then"
3131 ],
3232 "devDependencies" : {
33- "coveralls " : " ^3.0.0 " ,
33+ "c8 " : " ^7.11.2 " ,
3434 "eslint" : " ^8.10.0" ,
3535 "eslint-plugin-node" : " ^11.0.0" ,
3636 "eslint-plugin-putout" : " ^15.1.1" ,
3737 "madrun" : " ^9.0.0" ,
3838 "nodemon" : " ^2.0.2" ,
39- "nyc" : " ^15.0.0" ,
4039 "putout" : " ^25.4.1" ,
4140 "supertape" : " ^7.2.0"
4241 },
You can’t perform that action at this time.
0 commit comments