This repository was archived by the owner on Feb 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.2 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.2 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@photostructure/sqlite-diskann",
"version": "0.1.2",
"description": "SQLite extension for DiskANN approximate nearest neighbor vector search",
"homepage": "https://photostructure.github.io/sqlite-diskann/",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/photostructure/sqlite-diskann.git"
},
"license": "MIT",
"private": false,
"keywords": [
"sqlite",
"diskann",
"ann",
"vector-search",
"nearest-neighbor",
"embeddings",
"clip",
"similarity-search"
],
"engines": {
"node": ">=20.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"scripts": {
"build": "make all",
"build:release": "make release",
"build:dist": "tsup",
"docs": "typedoc",
"pretest": "npm run build:release",
"test": "run-p test:c test:ts",
"test:all": "run-p test:c test:ts",
"test:c": "make test-native",
"test:ts": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"test:asan": "make asan",
"test:valgrind": "make valgrind",
"test:memory": "make asan",
"clean": "make clean",
"clean:bench": "rm -rf benchmarks/datasets benchmarks/results-*.json",
"clean:all": "run-s clean clean:bench",
"rebuild": "make clean all",
"bear": "make bear",
"lint": "run-p lint:*",
"lint:benchmark": "cd benchmarks && tsc --noEmit",
"lint:eslint": "eslint",
"lint:ts": "tsc --noEmit",
"lint:native": "make lint",
"fmt": "run-p fmt:prettier fmt:native",
"fmt:prettier": "prettier --cache --write .",
"fmt:native": "make fmt",
"bench": "run-s clean build:release && npm -C benchmarks run prepare && npm -C benchmarks run bench",
"update": "run-p update:*",
"update:deps": "ncu -u",
"install:pinact": "go install github.com/suzuki-shunsuke/pinact/cmd/pinact@latest",
"update:actions": "pinact run -u || echo \"problem with pinact\"",
"precommit": "run-s update rebuild bear fmt lint test:all test:asan clean test:valgrind || npm run clean",
"prepare-release": "npm run build:dist"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@photostructure/sqlite": "^0.5.0",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.2.3",
"@vitest/coverage-v8": "^4.0.18",
"better-sqlite3": "^12.6.2",
"eslint": "^9.28.0",
"eslint-plugin-regexp": "^3.0.0",
"eslint-plugin-security": "^3.0.1",
"globals": "^17.3.0",
"npm-check-updates": "^19.3.2",
"npm-run-all2": "^8.0.4",
"prettier": "^3.8.1",
"prettier-plugin-organize-imports": "^4.3.0",
"tsup": "^8.5.1",
"typedoc": "^0.28.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.55.0",
"vitest": "^4.0.18"
},
"files": [
"dist/",
"prebuilds/",
"README.md",
"LICENSE"
]
}