diff --git a/.gitignore b/.gitignore index cb09d260f..41cb00a9f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,10 @@ .DS_Store -coverage +coverage/ lib node_modules npm-debug.log + +npm-shrinkwrap.json package-lock.json -reports yarn-error.log yarn.lock diff --git a/package.json b/package.json index a73b987e7..5c07eb99b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "main": "lib/index.js", "scripts": { "build": "rimraf lib && babel src --out-dir lib --copy-files", - "coveralls": "cat ./reports/lcov.info | coveralls", "create": "node ./scripts/create-rule", "flow": "if [ ! -e ./.flowconfig ]; then echo \"Could not find .flowconfig\"; else flow; test $? -eq 0 -o $? -eq 2; fi", "lint:fix": "npm run lint -- --fix", @@ -36,7 +35,6 @@ "babel-eslint": "^10.1.0", "babel-jest": "^24.9.0", "babel-preset-airbnb": "^5.0.0", - "coveralls": "^3.1.0", "eslint": "^3 || ^4 || ^5 || ^6 || ^7", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-flowtype": "^5.2.0", @@ -77,9 +75,10 @@ "jest": { "coverageReporters": [ "lcov", + "json", "html" ], - "coverageDirectory": "reports", + "coverageDirectory": "coverage", "roots": [ "__tests__" ],