cross-text-highlight
Version:
``` npm i cross-text-highlight ``` # 基于vue-search-highlight 的跨标签可标注序号的文本高亮插件
79 lines (78 loc) • 2.02 kB
JSON
{
"name": "cross-text-highlight",
"version": "0.1.7",
"private": false,
"keywords": [
"vue",
"关键字高亮",
"vue-search-highlight",
"匹配跨标签文本高亮并可带上标注序号",
"可以选中文本右键点击复制",
"也对外暴露方法提供位置信息和文本"
],
"license": "MIT",
"main": "dist/cross-text-highlight.common.js",
"unpkg": "dist/cross-text-highlight.min.js",
"author": {
"name": "pzc",
"email": "782120844@qq.com"
},
"repository": {
"type": "git",
"url": "https://github.com/pandabanya/cross-label-text-annotation"
},
"bugs": {
"url": "https://github.com/pandabanya/cross-label-text-annotation/issues"
},
"files": [
"dist"
],
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"build-bundle": "vue-cli-service build --target lib --name cross-text-highlight ./src/index.js",
"prepublishOnly": "git push && npm run build-bundle"
},
"dependencies": {
"core-js": "^3.8.3",
"element-ui": "^2.15.14",
"normalize.css": "^8.0.1",
"v-contextmenu": "^2.9.2",
"vue": "^2.6.14",
"vue-clipboard2": "^0.3.3"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.6.14",
"sass": "1.32.13",
"sass-loader": "10.1.1"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "@babel/eslint-parser"
},
"rules": {
"no-debugger": "off"
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}