-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 4.82 KB
/
package.json
File metadata and controls
155 lines (155 loc) · 4.82 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "vectra",
"author": "Steven Ickman",
"description": "A lightweight, file-backed vector database for Node.js and browsers with Pinecone-compatible filtering and hybrid BM25 search.",
"version": "0.14.0",
"license": "MIT",
"keywords": [
"vector-database",
"embeddings",
"semantic-search",
"rag",
"retrieval-augmented-generation",
"openai",
"azure-openai",
"transformers",
"local-embeddings",
"cosine-similarity",
"bm25",
"hybrid-search",
"local-database",
"llm",
"ai",
"browser",
"electron"
],
"bugs": {
"url": "https://github.com/Stevenic/vectra/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Stevenic/vectra.git"
},
"homepage": "https://github.com/Stevenic/vectra#readme",
"main": "./lib/index.js",
"module": "./lib/index.js",
"browser": "./lib/browser.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"node": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js"
},
"browser": {
"types": "./lib/browser.d.ts",
"default": "./lib/browser.js"
},
"default": "./lib/index.js"
},
"./browser": {
"types": "./lib/browser.d.ts",
"default": "./lib/browser.js"
},
"./node": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js"
}
},
"bin": {
"vectra": "./bin/vectra.js"
},
"engines": {
"node": ">=22.x"
},
"typesVersions": {
"<3.9": {
"*": [
"_ts3.4/*"
]
}
},
"dependencies": {
"@grpc/grpc-js": "^1.14.3",
"@grpc/proto-loader": "^0.8.0",
"buffer": "^6.0.3",
"cheerio": "^1.0.0",
"dotenv": "^16.5.0",
"gpt-tokenizer": "^3.4.0",
"json-colorizer": "^3.0.1",
"openai": "^4.100.0",
"turndown": "^7.2.0",
"uuid": "^13.0.0",
"wink-bm25-text-search": "^3.1.2",
"wink-nlp": "^2.3.2",
"yargs": "^18.0.0"
},
"optionalDependencies": {
"protobufjs": "^8.0.0"
},
"resolutions": {
"undici": ">=6.24.0",
"form-data": ">=4.0.4"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@huggingface/transformers": "^3.8.1",
"@types/assert": "^1.5.11",
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.0",
"@types/sinon": "^21.0.0",
"@types/turndown": "^5.0.5",
"@types/uuid": "10.0.0",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"eslint": "^10.1.0",
"mocha": "11.7.5",
"nyc": "^17.1.0",
"rimraf": "^5.0.1",
"shx": "^0.4.0",
"sinon": "^21.0.1",
"ts-loader": "^9.5.4",
"ts-mocha": "11.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.8.3",
"webpack": "^5.104.1",
"webpack-cli": "^7.0.2",
"wink-bm25-text-search": "^3.1.2"
},
"peerDependencies": {
"@huggingface/transformers": "^3.8.1"
},
"peerDependenciesMeta": {
"@huggingface/transformers": {
"optional": true
}
},
"scripts": {
"build": "tsc -b && shx mkdir -p lib/codecs/schemas && shx cp src/codecs/schemas/*.proto lib/codecs/schemas/ && shx cp -r src/templates lib/templates",
"build:browser": "webpack --config webpack.browser.js",
"build:all": "yarn build && yarn build:browser",
"build:watch": "tsc -b --watch",
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
"clean:all": "rimraf _ts3.4 lib dist tsconfig.tsbuildinfo node_modules",
"clean:build": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint src/",
"test": "yarn build && yarn test:mocha",
"test:mocha": "nyc ts-mocha \"src/**/*.spec.ts\" --timeout 10000",
"test:watch": "ts-mocha \"src/**/*.spec.ts\" --timeout 10000 --watch",
"test:coverage": "nyc --reporter=html --reporter=text ts-mocha \"src/**/*.spec.ts\" --timeout 10000",
"prepublishOnly": "yarn run clean && yarn run build && yarn test",
"publish:check": "yarn run clean:build && yarn run build && yarn test && yarn publish --dry-run"
},
"files": [
"_ts3.4",
"lib",
"dist",
"bin",
"proto",
"src"
],
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}