doc.yeswiki.pro/node_modules/minisearch/package.json
2023-05-20 19:38:02 +03:00

104 lines
3 KiB
JSON

{
"name": "minisearch",
"version": "6.1.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",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.cjs",
"default": "./dist/es/index.js"
},
"./SearchableMap": {
"types": "./dist/types/SearchableMap.d.ts",
"require": "./dist/cjs/SearchableMap.cjs",
"default": "./dist/es/SearchableMap.js"
}
},
"unpkg": "./dist/umd/index.js",
"jsdelivr": "./dist/umd/index.js",
"types": "./dist/types/index.d.ts",
"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-terser": "^0.3.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/benchmark": "^2.1.1",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"benchmark": "^2.1.4",
"core-js": "^3.1.4",
"coveralls": "^3.0.2",
"eslint": "^8.16.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"fast-check": "^3.0.0",
"jest": "^29.3.1",
"regenerator-runtime": "^0.13.1",
"rollup": "^3.4.0",
"rollup-plugin-dts": "^5.0.0",
"snazzy": "^9.0.0",
"ts-jest": "^29.0.3",
"tslib": "^2.0.1",
"typedoc": "^0.19.1",
"typescript": "^4.0.2"
},
"files": [
"/dist/**/*",
"/src/**/*"
],
"jest": {
"testEnvironmentOptions": {
"url": "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.cjs",
"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
}