diff --git a/README.md b/README.md index 07ccdc7..d63974a 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,17 @@ ## Installation -You need to install package. +You need to install package: ```bash npm install react-cookie-disclaimer ``` -You can use yarn. +You can use yarn: ```bash yarn add react-cookie-disclaimer ``` ## Getting started -You should import the component and css file +You should import the component: ```js import CookieDisclaimer from 'react-cookie-disclaimer'; ``` diff --git a/package.json b/package.json index 5c7f778..411dc15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-cookie-disclaimer", - "version": "2.0.3", + "version": "2.0.4", "description": "The package will help you to display a notification about the use of cookies on the site", "main": "./dist/index.js", "scripts": { @@ -55,6 +55,7 @@ "react-dom": "^16.12.0" }, "jest": { + "collectCoverageFrom": ["src/**/*.{js,jsx,mjs}", "!src/index.js"], "testEnvironment": "node", "moduleFileExtensions": [ "js",