{ "name": "react-highlight-words", "version": "0.20.0", "description": "React component to highlight words within a larger body of text", "main": "dist/main.js", "scripts": { "build": "npm run build:website && npm run build:dist", "build:website": "npm run clean:website && cross-env NODE_ENV=production webpack --config webpack.config.website.js -p --bail", "build:dist": "npm run clean:dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.cjs.js --bail && cross-env NODE_ENV=production webpack --config webpack.config.dist.umd.js --bail", "clean": "npm run clean:website && npm run clean:dist", "clean:website": "rimraf build", "clean:dist": "rimraf dist", "deploy": "gh-pages -d build", "lint": "standard", "prebuild": "npm run lint", "postpublish": "npm run deploy", "start": "webpack-dev-server --hot --inline --config webpack.config.dev.js", "test": "cross-env NODE_ENV=test karma start", "watch": "watch 'clear && npm run lint -s && npm run test -s' src" }, "repository": { "type": "git", "url": "git+https://github.com/bvaughn/react-highlight-words.git" }, "author": "Brian Vaughn", "license": "MIT", "bugs": { "url": "https://github.com/bvaughn/react-highlight-words/issues" }, "homepage": "https://github.com/bvaughn/react-highlight-words#readme", "keywords": [ "react", "reactjs", "react-component", "highlighter", "highlight", "text", "words", "matches", "substring", "occurrences", "search" ], "standard": { "parser": "babel-eslint", "ignore": [ "build", "dist", "node_modules" ], "global": [ "afterAll", "afterEach", "beforeAll", "beforeEach", "describe", "it", "jasmine" ] }, "devDependencies": { "babel": "^5.8.34", "babel-core": "^5.8.34", "babel-eslint": "^4.1.6", "babel-loader": "^5.4.0", "babel-plugin-react-transform": "^1.1.1", "cross-env": "^5.1.3", "css-loader": "^0.23.0", "cssnext": "^1.8.4", "cssnext-loader": "^1.0.1", "expect.js": "^0.3.1", "gh-pages": "^0.8.0", "html-webpack-plugin": "^1.7.0", "karma": "^0.13.15", "karma-junit-reporter": "^0.3.8", "karma-mocha": "^0.2.1", "karma-phantomjs2-launcher": "^0.3.2", "karma-sourcemap-loader": "^0.3.6", "karma-spec-reporter": "0.0.23", "karma-webpack": "^1.7.0", "latinize": "^0.2.0", "lodash": "^4.17.10", "mocha": "^2.3.4", "phantomjs2": "^2.0.2", "react": "^18.0.0", "react-dom": "^18.0.0", "react-transform-hmr": "^1.0.1", "rimraf": "^2.4.4", "standard": "^5.4.1", "style-loader": "^0.13.0", "watch": "^0.16.0", "webpack": "^1.12.9", "webpack-dev-server": "^1.14.0", "worker-loader": "^0.7.0" }, "dependencies": { "highlight-words-core": "^1.2.0", "memoize-one": "^4.0.0", "prop-types": "^15.5.8" }, "peerDependencies": { "react": "^0.14.0 || ^15.0.0 || ^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0" } }