react-text-highlighter
Version:
Simple higher order component for React for text highlighting. Works nicely with React 0.14+ and stateless components
64 lines (63 loc) • 2.21 kB
JSON
{
"name": "react-text-highlighter",
"version": "0.0.5",
"description": "Simple higher order component for React for text highlighting. Works nicely with React 0.14+ and stateless components",
"main": "lib/index.js",
"jsnext:main": "source/index.js",
"watch": {
"dev": "*_test.js"
},
"scripts": {
"test": "NODE_ENV=test babel-node test/index.js",
"clean": "rm -rf dist && rm -rf lib",
"lint": "eslint source test",
"watch": "npm-watch",
"watch-test": "npm run watch -s",
"build:lib": "babel source --out-dir lib",
"build:umd": "webpack source/Highlighter.js dist/reactTextHighlighter.js --config webpack.config.production.js",
"build:umd:min": "webpack source/Highlighter.js dist/reactTextHighlighter.min.js --config webpack.config.production.js",
"build": "npm run build:lib && npm run build:umd",
"prepublish": "NODE_ENV=production npm run clean && npm run build",
"example": "NODE_ENV=development node ./example/devServer.js",
"dev": "NODE_ENV=test watch 'clear && export TAP_DIAG=1 && npm run -s lint && npm -s test' source test"
},
"repository": {
"type": "git",
"url": "https://github.com/swennemans/react-text-highlighter.git"
},
"author": "Sven Roeterdink <sven.roeterdink1@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/swennemans/react-text-highlighter/issues"
},
"homepage": "https://github.com/swennemans/react-text-highlighter",
"devDependencies": {
"babel-core": "^5.8.29",
"babel-eslint": "^4.1.3",
"babel-loader": "^5.3.2",
"babel-plugin-react-transform": "^1.1.1",
"eslint": "^1.7.3",
"eslint-plugin-react": "^3.6.3",
"express": "^4.13.3",
"react": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0",
"react-transform-hmr": "^1.0.1",
"skin-deep": "^0.11.0",
"tape": "^4.2.2",
"webpack": "^1.12.2",
"webpack-dev-middleware": "^1.2.0",
"webpack-dev-server": "^1.12.1",
"webpack-hot-middleware": "^2.4.1"
},
"peerDependencies": {
"react": "^0.14.0"
},
"keywords": [
"react",
"react-component",
"highlighter",
"text-highlight"
],
"readmeFilename": "readme.md"
}