-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.34 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.34 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
{
"name": "@thewoowon/vecx",
"version": "0.1.0",
"description": "Ultra-light Vector Similarity Engine for Browser & Node.js",
"keywords": [
"vector",
"similarity",
"cosine",
"embedding",
"dot-product",
"search",
"topk",
"machine-learning",
"ai"
],
"author": "thewoowon",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thewoowon/vecx"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && npm run postbuild",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:types": "tsc --project tsconfig.types.json",
"postbuild": "echo '{\"type\":\"module\"}' > dist/esm/package.json",
"clean": "rm -rf dist",
"test": "npm run build && node tests/run.mjs",
"prepublishOnly": "npm run build && npm test"
},
"devDependencies": {
"typescript": "^5.7.2"
},
"engines": {
"node": ">=14.0.0"
}
}