UNPKG

autosuggest-highlight

Version:

Utilities for highlighting text in autosuggest and autocomplete components

101 lines (100 loc) 2.49 kB
{ "name": "autosuggest-highlight", "version": "3.3.4", "description": "Utilities for highlighting text in autosuggest and autocomplete components", "repository": { "type": "git", "url": "https://github.com/moroshko/autosuggest-highlight.git" }, "author": "Misha Moroshko <michael.moroshko@gmail.com>", "scripts": { "lint": "eslint src webpack.config.js", "prettier": "prettier --single-quote --write \".*.js\" \"*.js\" \"src/**/*.js\"", "test": "nyc mocha \"src/*.test.js\"", "dist": "rimraf match parse && mkdir match parse && cp src/match.js match/index.js && cp src/parse.js parse/index.js", "umd": "rimraf umd && webpack", "prebuild": "npm run lint && npm test", "build": "npm run dist && npm run umd && cp -R dist/umd/* .", "postversion": "git push && git push --tags", "prepublish": "npm run build", "precommit": "lint-staged" }, "dependencies": { "remove-accents": "^0.4.2" }, "devDependencies": { "@babel/core": "^7.18.6", "@babel/plugin-transform-runtime": "^7.18.6", "@babel/preset-env": "^7.18.6", "babel-loader": "^8.2.5", "chai": "^4.3.6", "core-js": "^3.23.4", "eslint": "^8.18.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^8.0.1", "lint-staged": "^13.0.3", "mocha": "^10.0.0", "nyc": "^15.1.0", "prettier": "2.7.1", "rimraf": "^3.0.2", "webpack": "^5.73.0", "webpack-cli": "^4.10.0" }, "files": [ "match", "parse", "umd", "ie11" ], "lint-staged": { ".*.js": [ "npm run prettier", "git add" ], "*.js": [ "npm run prettier", "git add" ], "src/**/*.js": [ "npm run prettier", "git add" ] }, "keywords": [ "autosuggest", "autocomplete", "auto suggest", "auto complete", "highlight autosuggest", "highlight autocomplete", "highlight auto suggest", "highlight auto complete", "autosuggest highlight", "autocomplete highlight", "auto suggest highlight", "auto complete highlight" ], "nyc": { "lines": 100, "statements": 100, "functions": 100, "branches": 100, "include": [ "src/*.js" ], "exclude": [ "src/*.test.js" ], "reporter": [ "lcov", "text-summary" ], "check-coverage": true }, "license": "MIT", "browserslist": [ "IE 11" ] }