UNPKG

react-highlight-words

Version:

React component to highlight words within a larger body of text

101 lines (100 loc) 2.85 kB
{ "name": "react-highlight-words", "version": "0.1.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 && NODE_ENV=production webpack --config webpack.config.website.js -p --bail", "build:dist": "npm run clean:dist && NODE_ENV=production webpack --config webpack.config.dist.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", "prepublish": "npm run build", "start": "webpack-dev-server --hot --inline --config webpack.config.dev.js", "test": "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-text-highlighter.git" }, "author": "Brian Vaughn", "license": "MIT", "bugs": { "url": "https://github.com/bvaughn/react-text-highlighter/issues" }, "homepage": "https://github.com/bvaughn/react-text-highlighter#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", "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", "mocha": "^2.3.4", "phantomjs2": "^2.0.2", "react": "^0.14.3", "react-dom": "^0.14.3", "react-transform-catch-errors": "^1.0.0", "react-transform-hmr": "^1.0.1", "redbox-react": "^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": {}, "peerDependencies": { "react": "^0.14.0" } }