diff --git a/.travis.yml b/.travis.yml index d0fe62a..cc87d3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: node_js node_js: + - 12 - 10 - 8 diff --git a/madrun.js b/madrun.js index 2d94835..a05801c 100644 --- a/madrun.js +++ b/madrun.js @@ -5,7 +5,7 @@ const {run} = require('madrun'); module.exports = { 'test': () => 'tape test/**/*.js', 'watch:test': () => 'nodemon -w test -w lib --exec npm test', - 'lint': () => 'putout lib test', + 'lint': () => 'putout lib test madrun.js', 'fix:lint': () => run('lint', '--fix'), 'lint:eslint:client': () => 'putout --config .putoutrc-client lib', 'lint:eslint:server': () => 'putout lib test', diff --git a/package.json b/package.json index 83af25c..94b517a 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,12 @@ "coverage": "madrun coverage", "report": "madrun report" }, + "nyc": { + "exclude": [ + "**/*.spec.js", + "test" + ] + }, "repository": { "type": "git", "url": "git://github.com/coderaiser/node-socket-file.git" @@ -31,6 +37,7 @@ "ashify": "^2.0.1", "mellow": "^2.0.0", "patchfile": "^2.0.0", + "try-to-catch": "^1.1.1", "wraptile": "^3.0.0" }, "devDependencies": {