-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.48 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.48 KB
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
93
94
95
96
{
"name": "@devisfuture/mega-collection",
"version": "2.5.3",
"description": "High-performance search, filter & sort engine for 100K+ item collections in JavaScript/TypeScript",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"./search": {
"types": "./dist/search/index.d.ts",
"default": "./dist/search/index.mjs"
},
"./filter": {
"types": "./dist/filter/index.d.ts",
"default": "./dist/filter/index.mjs"
},
"./sort": {
"types": "./dist/sort/index.d.ts",
"default": "./dist/sort/index.mjs"
},
"./merge": {
"types": "./dist/merge/index.d.ts",
"default": "./dist/merge/index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*.mjs",
"dist/**/*.d.ts",
"dist/index.d.ts"
],
"sideEffects": false,
"scripts": {
"build:types": "rollup -c rollup.types.config.mjs",
"build": "vite build && npm run build:types",
"build:watch": "vite build --watch",
"dev": "vite build --watch",
"test": "vitest run",
"test:watch": "vitest",
"sort-bench": "npx tsx ./benchmarks/sorter.bench.ts",
"filter-bench": "npx tsx ./benchmarks/filter.bench.ts",
"filter-remove-bench": "npx tsx ./benchmarks/filter-remove.bench.ts",
"search-bench": "npx tsx ./benchmarks/search.bench.ts",
"controls-bench": "npx tsx ./benchmarks/controls.bench.ts",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run --coverage --reporter=verbose --reporter=json",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build",
"typecheck": "tsc --noEmit"
},
"keywords": [
"javascript",
"search",
"filter",
"sort",
"collection",
"performance",
"trigram",
"inverted-index",
"hashmap",
"large-dataset",
"big-data",
"typescript",
"zero-dependencies",
"tree-shakeable",
"esm",
"indexer",
"50k",
"100k",
"text-search",
"multi-filter",
"sort-engine",
"merge-engines",
"o1-lookup"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/trae-op/mega-collection.git"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.0",
"rollup": "^4.52.3",
"rollup-plugin-dts": "^6.2.3",
"terser": "^5.46.1",
"typescript": "^5.3.0",
"vite": "^8.0.0",
"vitest": "^4.1.0"
},
"license": "MIT"
}