UNPKG

minisearch

Version:

Tiny but powerful full-text search engine for browser and Node

86 lines (85 loc) 2.52 kB
{ "name": "minisearch", "version": "3.2.0", "description": "Tiny but powerful full-text search engine for browser and Node", "main": "dist/umd/index.js", "module": "dist/es5m/index.js", "es2015": "dist/es/index.js", "author": "Luca Ongaro", "homepage": "https://lucaong.github.io/minisearch/", "bugs": "https://github.com/lucaong/minisearch/issues", "repository": { "type": "git", "url": "https://github.com/lucaong/minisearch.git" }, "keywords": [ "search", "full text", "fuzzy", "prefix", "auto suggest", "auto complete", "index" ], "license": "MIT", "dependencies": {}, "devDependencies": { "@rollup/plugin-typescript": "^8.2.0", "@typescript-eslint/eslint-plugin": "^4.1.1", "@typescript-eslint/parser": "^4.1.1", "benchmark": "^2.1.4", "core-js": "^3.1.4", "coveralls": "^3.0.2", "eslint": "^7.6.0", "eslint-config-standard": "^16.0.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.1.0", "fast-check": "^2.1.0", "jest": "^26.3.0", "regenerator-runtime": "^0.13.1", "rollup": "^2.2.0", "rollup-plugin-dts": "^4.0.0", "rollup-plugin-terser": "^7.0.0", "snazzy": "^9.0.0", "ts-jest": "^26.3.0", "tslib": "^2.0.1", "typedoc": "^0.19.1", "typescript": "^4.0.2" }, "files": [ "/dist/**/*", "/src/**/*" ], "jest": { "testURL": "http://localhost:3000/", "transform": { "\\.(js|ts)$": "ts-jest" }, "moduleFileExtensions": [ "ts", "js" ], "testRegex": "\\.test\\.(ts|js)$", "setupFilesAfterEnv": [ "<rootDir>/src/testSetup/jest.js" ] }, "scripts": { "test": "jest", "test-watch": "jest --watch", "coverage": "jest --coverage", "benchmark": "yarn build-benchmark && NODE_ENV=production node --expose-gc benchmarks/dist/index.js", "build-benchmark": "BENCHMARKS=true yarn build", "build": "yarn clean-build && NODE_ENV=production rollup -c", "clean-build": "rm -rf dist", "build-minified": "MINIFY=true yarn build", "build-docs": "typedoc --options typedoc.json && touch docs/.nojekyll && yarn build-examples", "build-examples": "yarn build && cd examples && yarn install && yarn build && cd ../", "lint": "eslint 'src/**/*.{js,ts}'", "lintfix": "eslint --fix 'src/**/*.{js,ts}'", "prepublishOnly": "yarn test && yarn build" }, "sideEffects": false, "types": "./dist/types/index.d.ts" }