UNPKG

vue-highlight-words

Version:

Vue component to highlight words within a larger body of text

77 lines (76 loc) 2.38 kB
{ "name": "vue-highlight-words", "version": "3.0.1", "description": "Vue component to highlight words within a larger body of text", "sideEffects": false, "source": "src/index.ts", "main": "dist/vue-highlight-words.cjs", "module": "dist/vue-highlight-words.esm.js", "jsdelivr": "dist/vue-highlight-words.global.js", "types": "dist/vue-highlight-words.d.ts", "unpkg": "dist/vue-highlight-words.global.js", "files": [ "dist/*.js", "dist/vue-highlight-words.d.ts", "README.md" ], "scripts": { "dev": "vite --config demo/vite.config.ts", "prebuild": "pnpm run lint", "build": "pnpm run build:demo && pnpm run build:dist && pnpm run build:dts", "build:demo": "vue-tsc --noEmit && vite build --config demo/vite.config.ts", "build:dist": "node ./scripts/build", "build:dts": "api-extractor run --local --verbose", "lint": "vue-cli-service lint", "deploy": "gh-pages -d dist-demo", "postpublish": "pnpm run deploy", "release": "bumpp --tag --commit --push" }, "repository": { "type": "git", "url": "git+https://github.com/Astray-git/vue-highlight-words.git" }, "keywords": [ "vue", "highlight" ], "author": "Yichang Liu", "license": "MIT", "homepage": "https://github.com/Astray-git/vue-highlight-words#readme", "dependencies": { "highlight-words-core": "^1.2.2" }, "devDependencies": { "@microsoft/api-extractor": "^7.25.0", "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-replace": "^2.4.2", "@rushstack/eslint-patch": "^1.1.0", "@types/highlight-words-core": "^1.2.1", "@types/node": "^16.11.36", "@vitejs/plugin-vue": "^2.3.3", "@vue/eslint-config-prettier": "^7.0.0", "@vue/eslint-config-typescript": "^10.0.0", "@vue/tsconfig": "^0.1.3", "bumpp": "^7.1.1", "chalk": "^2.4.2", "clone-deep": "^4.0.1", "eslint": "^8.5.0", "eslint-plugin-vue": "^8.2.0", "gh-pages": "^2.0.0", "merge": "^2.1.1", "prettier": "2.3.2", "rimraf": "^2.6.3", "rollup": "^2.52.7", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.32.1", "typescript": "^4.7.3", "vite": "^2.9.9", "vue": "3.2.26", "vue-tsc": "^0.35.2" }, "peerDependencies": { "vue": "^3.0.0" } }