UNPKG

spotmark

Version:

A lightweight, customizable text highlighting library that illuminates matches in a content.

67 lines (66 loc) 1.71 kB
{ "name": "spotmark", "version": "1.1.1", "author": "Henning Löwe", "description": "A lightweight, customizable text highlighting library that illuminates matches in a content.", "keywords": [ "highlight", "text-highlight", "search", "match", "diacritics", "typescript", "regex", "string-matching", "lightweight", "zero-dependencies" ], "license": "MIT", "files": [ "dist" ], "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "repository": { "type": "git", "url": "git+https://github.com/ewice/spotmark.git" }, "homepage": "https://github.com/ewice/spotmark#readme", "bugs": { "url": "https://github.com/ewice/spotmark/issues" }, "scripts": { "build": "tsup", "format": "prettier --list-different --write ./", "format:check": "prettier --list-different ./", "lint": "eslint src/**/*.ts", "test": "jest", "prepare": "husky" }, "devDependencies": { "@eslint/js": "^9.18.0", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@semantic-release/release-notes-generator": "^14.0.3", "@types/jest": "^29.5.14", "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^9.18.0", "husky": "^9.1.7", "jest": "^29.7.0", "prettier": "^3.4.2", "semantic-release": "^24.2.1", "ts-jest": "^29.2.5", "tsup": "^8.3.5", "typescript": "^5.7.3", "typescript-eslint": "^8.19.1" } }