-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
90 lines (90 loc) · 2.63 KB
/
package.json
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
{
"name": "@oramacloud/client",
"version": "1.3.20",
"description": "Orama SDK for Node.js, Deno, and Browsers",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"runkitExampleFilename": "./example/runkit.js",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": "./dist/index.global.js"
},
"./react": {
"require": "./dist/react/index.cjs",
"import": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
},
"./vue": {
"require": "./dist/vue/index.cjs",
"import": "./dist/vue/index.js",
"types": "./dist/vue/index.d.ts"
}
},
"scripts": {
"format": "bunx @biomejs/biome format src --write",
"build": "npm run build:lib && npm run build:react && npm run build:vue",
"dev": "run-p watch:lib watch:react watch:vue",
"watch:lib": "tsup --config tsup.lib.js --watch src",
"watch:react": "tsup --config tsup.react.js --watch",
"watch:vue": "tsup --config tsup.vue.js --watch",
"build:lib": "tsup --config tsup.lib.js",
"build:react": "tsup --config tsup.react.js",
"build:vue": "tsup --config tsup.vue.js",
"test": "glob -c \"node --import tsx --no-warnings --test\" \"./tests/**/*.test.ts\"",
"serve:example": "esbuild src/index.ts --bundle --outfile=example/out.js --format=esm --watch --servedir=example",
"prepare": "husky install"
},
"keywords": [
"orama",
"search engine",
"sdk"
],
"files": [
"dist",
"example/runkit.js"
],
"author": {
"name": "Michele Riva",
"email": "[email protected]",
"url": "https://github.com/MicheleRiva"
},
"license": "ISC",
"dependencies": {
"@orama/cuid2": "^2.2.3",
"@orama/orama": "^2.0.16",
"lodash": "^4.17.21",
"openai": "^4.24.1",
"react": "^18.2.0",
"vue": "^3.4.25"
},
"devDependencies": {
"@biomejs/biome": "1.8.1",
"@fastify/formbody": "^7.4.0",
"@types/lodash": "^4.14.202",
"@types/node": "^20.3.1",
"@types/react": "^18.2.14",
"dotenv": "^16.3.1",
"esbuild": "0.18.5",
"fastify": "^4.19.2",
"glob": "^11.0.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"ts-standard": "^12.0.2",
"tsup": "^8.3.0",
"tsx": "^4.7.0",
"typescript": "^5.1.3"
},
"ts-standard": {
"ignore": [
"dist",
"node_modules"
]
},
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
}