forked from sqlite/sqlite-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.15 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.15 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
{
"name": "@dao-xyz/sqlite3-vec",
"version": "0.0.19",
"description": "Unified SQLite + sqlite-vec across browser (Wasm) and Node (native).",
"keywords": [
"sqlite",
"sqlite3",
"sqlite-wasm",
"sqlite3-wasm",
"webassembly",
"wasm",
"esm",
"opfs",
"origin-private-file-system",
"vec",
"vector",
"vector-search",
"sqlite-vec",
"vec0"
],
"main": "dist/unified-node.js",
"node": "dist/unified-node.js",
"type": "module",
"files": [
"index.d.ts",
"index.mjs",
"dist/",
"src/",
"sqlite-wasm/",
"scripts/postinstall.cjs",
"scripts/fetch-prebuilt.cjs",
"scripts/build-sqlite-vec.sh"
],
"types": "dist/unified.d.ts",
"exports": {
".": {
"types": "./dist/unified.d.ts",
"browser": "./dist/unified-browser.js",
"node": "./dist/unified-node.js",
"import": "./dist/unified-node.js",
"main": "./dist/unified-node.js"
},
"./unified": {
"types": "./dist/unified.d.ts",
"import": "./dist/unified.js"
},
"./wasm": {
"types": "./index.d.ts",
"import": "./index.mjs",
"browser": "./index.mjs"
},
"./native": {
"types": "./dist/native.d.ts",
"import": "./dist/native.js",
"node": "./dist/native.js"
},
"./package.json": "./package.json",
"./sqlite3.wasm": "./sqlite-wasm/jswasm/sqlite3.wasm"
},
"bin": {
"sqlite3-vec": "bin/index.js"
},
"scripts": {
"publint": "npx publint",
"check-types": "tsc",
"clean": "shx rm -rf sqlite-wasm",
"build": "node bin/index.js && tsc -p tsconfig.json",
"test:e2e": "playwright test",
"build:tests:node": "tsc -p tsconfig.tests.json",
"test:node": "npm run build:tests:node && node --test dist-tests/*.js",
"build:native-ext": "bash scripts/build-sqlite-vec.sh",
"start": "npm run build && node tests/server.cjs",
"start:dev": "npm run build && node tests/server.cjs",
"start:node": "npm run build && node demo/node.mjs",
"start:node:native": "npm run build && node demo/node-native.mjs",
"fix": "npx prettier . --write",
"postinstall": "node scripts/postinstall.cjs || true",
"prepublishOnly": "npm run build && node scripts/verify-wasm.cjs && npm run fix && npm run publint && npm run check-types",
"deploy": "npm run prepublishOnly && git add . && git commit -am 'New release' && git push && npm publish --access public"
},
"optionalDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/dao-xyz/sqlite3-vec.git"
},
"author": "Thomas Steiner (tomac@google.com)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/dao-xyz/sqlite3-vec/issues"
},
"homepage": "https://github.com/dao-xyz/sqlite3-vec#readme",
"devDependencies": {
"@playwright/test": "^1.55.0",
"@types/node": "^20.16.11",
"decompress": "^4.2.1",
"http-server": "github:vapier/http-server",
"module-workers-polyfill": "^0.3.2",
"node-fetch": "^3.3.2",
"prettier": "^3.5.3",
"prettier-plugin-jsdoc": "^1.3.2",
"publint": "^0.3.12",
"shx": "^0.4.0",
"typescript": "^5.8.3"
},
"dependencies": {
"better-sqlite3": ">=12"
}
}