forked from lucaong/minisearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "slimsearch",
"version": "2.1.1",
"description": "Tiny but powerful full-text search engine for browser and Node",
"keywords": [
"search",
"full text",
"fuzzy",
"prefix",
"auto suggest",
"auto complete",
"index"
],
"homepage": "https://mister-hope.github.io/slimsearch/",
"bugs": "https://github.com/Mister-Hope/slimsearch/issues",
"repository": {
"type": "git",
"url": "https://github.com/Mister-Hope/slimsearch.git"
},
"license": "MIT",
"author": "Luca Ongaro, Mister Hope",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
},
"./SearchableMap": {
"types": "./dist/SearchableMap.d.ts",
"require": "./dist/SearchableMap.cjs",
"default": "./dist/SearchableMap.mjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"files": [
"dist"
],
"scripts": {
"benchmark": "vitest bench",
"benchmark:build": "BENCHMARK=true pnpm build",
"benchmark:legacy": "pnpm build-benchmark && NODE_ENV=production node --expose-gc benchmarks/dist/index.cjs",
"build": "rollup -c rollup.config.ts --configPlugin esbuild",
"clean": "rm -rf dist",
"coverage": "vitest --coverage",
"dev": "rollup -c rollup.config.ts --configPlugin esbuild -w",
"docs:build": "typedoc --options typedoc.json",
"lint": "eslint . --ext .js,.ts && prettier --check .",
"lint:fix": "eslint . --ext .js,.ts --fix && prettier --check --write .",
"prepare": "husky",
"prepublishOnly": "pnpm test && pnpm clean && pnpm build",
"test": "vitest"
},
"devDependencies": {
"@types/benchmark": "2.1.5",
"@types/node": "20.11.19",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2",
"@vitest/coverage-v8": "1.3.1",
"benchmark": "2.1.4",
"esbuild": "0.20.1",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"fast-check": "3.15.1",
"husky": "9.0.11",
"nano-staged": "0.8.0",
"prettier": "3.2.5",
"rollup": "4.12.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-esbuild": "6.1.1",
"tslib": "2.6.2",
"typedoc": "0.25.8",
"typescript": "5.3.3",
"vitest": "1.3.1"
},
"packageManager": "pnpm@8.15.3",
"nano-staged": {
"**/*": [
"prettier --check --write"
],
".{js,ts}": [
"eslint --fix"
]
},
"engines": {
"node": ">=18.18.0"
}
}