File tree Expand file tree Collapse file tree 5 files changed +32
-8
lines changed
Expand file tree Collapse file tree 5 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 33test
44yarn-error.log
55
6+ madrun.js
7+
Original file line number Diff line number Diff line change 1+ 'use strict' ;
12'uses strict' ;
23
34const fs = require ( 'fs' ) ;
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ const {
4+ run
5+ } = require ( 'madrun' ) ;
6+
7+ module . exports = {
8+ "test" : ( ) => 'tape test/*.js' ,
9+ "lint" : ( ) => 'putout lib test madrun.js' ,
10+ 'fix:lint' : ( ) => run ( 'lint' , '--fix' ) ,
11+ "watch:test" : ( ) => run ( 'watcher' , '"npm test"' ) ,
12+ "watcher" : ( ) => 'nodemon -w lib -w test -x' ,
13+ "coverage" : ( ) => 'nyc npm test' ,
14+ "report" : ( ) => 'nyc report --reporter=text-lcov | coveralls'
15+ } ;
16+
Original file line number Diff line number Diff line change 1717 "url" : " git://github.com/cloudcmd/node-read-files-sync.git"
1818 },
1919 "scripts" : {
20- "test" : " tape test/*.js" ,
21- "lint" : " eslint lib test" ,
22- "watch:test" : " npm run watcher -- \" npm test\" " ,
23- "watcher" : " nodemon -w lib -w test -x" ,
24- "coverage" : " nyc npm test" ,
25- "report" : " nyc report --reporter=text-lcov | coveralls"
20+ "test" : " madrun test" ,
21+ "lint" : " madrun lint" ,
22+ "fix:lint" : " madrun fix:lint" ,
23+ "watch:test" : " madrun watch:test" ,
24+ "watcher" : " madrun watcher" ,
25+ "coverage" : " madrun coverage" ,
26+ "report" : " madrun report"
2627 },
2728 "dependencies" : {
2829 "currify" : " ^4.0.0" ,
3233 "devDependencies" : {
3334 "coveralls" : " ^3.0.0" ,
3435 "eslint" : " ^6.4.0" ,
36+ "eslint-plugin-node" : " ^10.0.0" ,
37+ "eslint-plugin-putout" : " ^2.0.0" ,
38+ "madrun" : " ^3.0.5" ,
3539 "nodemon" : " ^1.11.0" ,
3640 "nyc" : " ^14.1.1" ,
37- "tape" : " ^4.2.0"
41+ "putout" : " ^6.1.0" ,
42+ "supertape" : " ^1.2.3"
3843 },
3944 "engines" : {
4045 "node" : " >=8.0.0"
Original file line number Diff line number Diff line change 33const path = require ( 'path' ) ;
44
55const readFilesSync = require ( '..' ) ;
6- const test = require ( 'tape ' ) ;
6+ const test = require ( 'supertape ' ) ;
77const dirFixture = path . join ( __dirname , 'fixture' ) ;
88
99test ( 'readFilesSync: args: no' , ( t ) => {
You can’t perform that action at this time.
0 commit comments