UNPKG

vue-json-search

Version:

Headless Vue (3.x) search component based on [Fuse.js](https://github.com/krisk/Fuse). Designed for static generators like [Hugo](https://github.com/gohugoio/hugo) but works with any site that's cabable of producing a JSON corpus.

84 lines 2.41 kB
{ "name": "vue-json-search", "version": "0.2.1", "main": "dist/index.es.js", "module": "dist/index.es.js", "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.umd.js" } }, "typings": "./dist/src/search.d.ts", "repository": "https://github.com/Uninen/vue-json-search", "author": "Ville Säävuori <ville@unessa.net>", "license": "MIT", "scripts": { "dev": "vite --config vite.site.config.ts", "sitebuild": "vite --config vite.site.config.ts build", "build": "vite build", "preview": "vite --config vite.site.config.ts build && vite --config vite.site.config.ts preview", "start": "yarn dev & wait-on tcp:3000 -v", "test": "cypress run-ct", "test:headed": "cypress open-ct" }, "dependencies": { "fuse.js": "^6.5.3" }, "devDependencies": { "@cypress/vite-dev-server": "~2.2", "@cypress/vue": "~3.1", "@tailwindcss/typography": "^0.5.0", "@typescript-eslint/eslint-plugin": "~5", "@typescript-eslint/parser": "~5", "@vitejs/plugin-vue": "~2", "@vue/eslint-config-standard": "~6.1", "@vue/eslint-config-typescript": "~10", "autoprefixer": "~10", "cypress": "~9.5", "eslint": "~8.10", "eslint-config-prettier": "~8.4", "eslint-plugin-import": "~2", "eslint-plugin-node": "~11.1", "eslint-plugin-promise": "~6.0", "eslint-plugin-vue": "~8", "postcss": "~8.4", "postcss-import": "~14.0", "postcss-nesting": "~10", "tailwindcss": "~3", "typescript": "~4.5", "vite": "~2.8", "vite-plugin-dts": "~0.9", "vue": "~3.2", "wait-on": "~6.0" }, "files": [ "dist/index.es.js", "dist/index.es.js.map", "dist/index.umd.js", "dist/index.umd.js.map", "dist/src/env.d.ts", "dist/src/types.d.ts", "dist/src/utils.d.ts", "dist/src/search.d.ts", "dist/src/components/JsonSearch.vue.d.ts", "dist/src/components/ResultList.vue.d.ts", "dist/src/components/ResultListItem.vue.d.ts", "dist/src/components/ResultTitle.vue.d.ts", "dist/src/components/SearchInput.vue.d.ts", "dist/src/components/SearchResults.vue.d.ts", "README.md", "LICENSE.md" ], "keywords": [ "vue", "json", "search", "hugo", "fuse" ], "bugs": { "url": "https://github.com/Uninen/vue-json-search/issues" }, "homepage": "https://github.com/Uninen/vue-json-search" }