UNPKG

react-highlight-pop

Version:

React component for 'medium-like' text highlight

89 lines (88 loc) 2.38 kB
{ "name": "react-highlight-pop", "version": "1.0.2", "description": "React component for 'medium-like' text highlight", "main": "dist/react-highlight-pop.js", "module": "dist/react-highlight-pop-es.js", "umd": "dist/react-highlight-pop-umd.js", "source": "src/lib/index.js", "scripts": { "clean": "rimraf dist", "commit": "git-cz", "build": "npm run clean && rollup -c", "report-coverage": "jest --coverage --coverageReporters=text-lcov | coveralls", "test": "jest", "semantic-release": "semantic-release" }, "files": [ "dist", "README.md", "LICENSE.md" ], "repository": { "type": "git", "url": "https://github.com/codeshifu/react-highlight-pop.git" }, "keywords": [ "react", "highlight", "react-highlight", "highlight text", "medium highlight", "medium text highlight", "highlight-share", "popover" ], "author": "Luqman Olushi <olushilukmon03@gmail.com> (https://codeshifu.github.io/)", "license": "ISC", "bugs": { "url": "https://github.com/codeshifu/react-highlight-pop/issues" }, "homepage": "https://github.com/codeshifu/react-highlight-pop#readme", "devDependencies": { "@babel/cli": "7.2.3", "@babel/core": "7.2.2", "@babel/plugin-proposal-class-properties": "7.3.0", "@babel/preset-env": "7.3.1", "@babel/preset-react": "7.0.0", "babel-eslint": "10.0.1", "babel-jest": "24.1.0", "commitizen": "3.0.5", "coveralls": "3.0.2", "cz-conventional-changelog": "2.1.0", "eslint": "5.13.0", "eslint-plugin-react": "7.12.4", "jest": "24.1.0", "jest-dom": "3.1.1", "react": "16.8.1", "react-dom": "16.8.1", "react-testing-library": "5.8.0", "rimraf": "2.6.3", "rollup": "1.1.2", "rollup-plugin-babel": "4.3.2", "rollup-plugin-eslint": "5.0.0", "rollup-plugin-postcss": "2.0.3", "rollup-plugin-terser": "4.0.4", "semantic-release": "^15.13.3" }, "peerDependencies": { "react": "16.x" }, "jest": { "collectCoverageFrom": [ "<rootDir>/src/lib/**/*.js", "!**/node_modules/**" ], "moduleNameMapper": { "\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js" }, "transform": { "^.+\\.jsx?$": "babel-jest" } }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" } } }