diff --git a/.gitignore b/.gitignore index 8e2f6da1e..587dbd928 100644 --- a/.gitignore +++ b/.gitignore @@ -25,13 +25,9 @@ resolvers/node/LICENSE resolvers/webpack/LICENSE utils/LICENSE memo-parser/.npmrc -memo-parser/.nycrc resolvers/node/.npmrc -resolvers/node/.nycrc resolvers/webpack/.npmrc -resolvers/webpack/.nycrc utils/.npmrc -utils/.nycrc # Dependency directory # Commenting this out is preferred by some people, see diff --git a/memo-parser/.nycrc b/memo-parser/.nycrc new file mode 100644 index 000000000..5d75e2157 --- /dev/null +++ b/memo-parser/.nycrc @@ -0,0 +1,19 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "lcov", "text", "html", "json"], + "require": [ + "babel-register" + ], + "sourceMap": true, + "instrument": false, + "exclude": [ + "coverage", + "test", + "tests", + "resolvers/*/test", + "scripts", + "memo-parser", + "lib" + ] +} diff --git a/resolvers/node/.nycrc b/resolvers/node/.nycrc new file mode 100644 index 000000000..108436087 --- /dev/null +++ b/resolvers/node/.nycrc @@ -0,0 +1,15 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "lcov", "text", "html", "json"], + "instrument": false, + "exclude": [ + "coverage", + "test", + "tests", + "resolvers/*/test", + "scripts", + "memo-parser", + "lib" + ] +} diff --git a/resolvers/webpack/.nycrc b/resolvers/webpack/.nycrc new file mode 100644 index 000000000..108436087 --- /dev/null +++ b/resolvers/webpack/.nycrc @@ -0,0 +1,15 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "lcov", "text", "html", "json"], + "instrument": false, + "exclude": [ + "coverage", + "test", + "tests", + "resolvers/*/test", + "scripts", + "memo-parser", + "lib" + ] +} diff --git a/scripts/copyMetafiles.js b/scripts/copyMetafiles.js index 6140bd2dc..01ff4f36f 100644 --- a/scripts/copyMetafiles.js +++ b/scripts/copyMetafiles.js @@ -5,7 +5,6 @@ import resolverDirectories from './resolverDirectories'; const files = [ 'LICENSE', '.npmrc', - '.nycrc', ]; const directories = [].concat( diff --git a/utils/.nycrc b/utils/.nycrc new file mode 100644 index 000000000..108436087 --- /dev/null +++ b/utils/.nycrc @@ -0,0 +1,15 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "lcov", "text", "html", "json"], + "instrument": false, + "exclude": [ + "coverage", + "test", + "tests", + "resolvers/*/test", + "scripts", + "memo-parser", + "lib" + ] +}