UNPKG

highlight-text

Version:

Highlight text case and accent insensitive

53 lines (52 loc) 1.48 kB
{ "name": "highlight-text", "version": "0.1.0", "description": "Highlight text case and accent insensitive", "author": "Daniel Steigerwald", "main": "lib/index.js", "jsnext:main": "src/index.js", "scripts": { "build": "npm run build:lib", "build:lib": "babel src --out-dir lib", "check": "npm run lint && npm run test", "clean": "rimraf lib", "lint": "eslint src test examples", "postversion": "git push && git push --tags && npm run clean", "prepublish": "npm run clean && npm run build", "preversion": "npm run clean && npm run check", "test": "mocha --compilers js:babel/register --recursive", "test:watch": "npm test -- --watch", "version": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/este/highlight-text.git" }, "keywords": [ "accent-insensitive", "case-insensitive", "highlight", "text" ], "license": "MIT", "bugs": { "url": "https://github.com/este/highlight-text/issues" }, "homepage": "https://github.com/este/highlight-text#readme", "dependencies": { "diacritics": "^1.2.2", "lodash.escape": "^3.0.0", "merge-ranges": "^1.0.2" }, "devDependencies": { "babel": "^5.8.23", "babel-core": "^5.8.25", "babel-eslint": "^4.1.3", "eslint": "^1.7.1", "eslint-config-airbnb": "^0.1.0", "eslint-plugin-react": "^3.5.1", "expect": "^1.12.2", "mocha": "^2.3.3", "rimraf": "^2.4.3" } }