react-highlight-words

v0.20.0
React component to highlight words within a larger body of text
react reactjs react-component highlighter highlight text words matches substring and 3 more...

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
npm i react-highlight-words

Metadata

  • MIT
  • Whatever
  • Brian Vaughn
  • released 1/22/2023

Downloads