-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 1.71 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
{
"name": "ollama-js-client",
"version": "1.0.2",
"description": "JS fetch wrapper for consuming the Ollama API in node and the browser",
"repository": {
"type":"git",
"url":"https://github.com/dditlev/ollama-js.git"
},
"type": "module",
"module": "./dist/node/index.js",
"main": "./dist/node/index.js",
"exports": {
".": {
"import": "./dist/node/index.js",
"types": "./dist/node/types/index.d.ts"
},
"./JSONstore": {
"import": "./dist/node/json_store.js"
},
"./JSONparser": {
"import": "./dist/node/json_parser.js"
},
"./browser": {
"browser": "./dist/browser/index.js"
},
"./JSONstore/browser": {
"browser": "./dist/browser/json_store.js"
},
"./JSONparser/browser": {
"browser": "./dist/browser/json_parser.js"
}
},
"browser": "./dist/browser/index.js",
"types": "./dist/node/types/index.d.ts",
"directories": {
"example": "examples"
},
"files": [
"dist/**/*"
],
"scripts": {
"build": "rollup -c",
"node:test": "node examples/test/run_node.js"
},
"keywords": [
"ollama",
"ai",
"llama2"
],
"author": "Ditlev Tøjner",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.5",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"node-fetch": "^3.3.0"
}
}