52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "ollama",
|
|
"version": "0.5.9",
|
|
"description": "Ollama Javascript library",
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./browser": {
|
|
"require": "./dist/browser.cjs",
|
|
"import": "./dist/browser.mjs",
|
|
"types": "./dist/browser.d.ts"
|
|
},
|
|
"./*": "./*"
|
|
},
|
|
"scripts": {
|
|
"format": "prettier --write .",
|
|
"test": "jest --config=jest.config.cjs ./test/*",
|
|
"build": "unbuild",
|
|
"lint": "eslint ./src/*",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"homepage": "https://github.com/ollama/ollama-js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ollama/ollama-js.git"
|
|
},
|
|
"author": "Saul Boyd",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@swc/core": "^1.3.14",
|
|
"@types/jest": "^29.2.2",
|
|
"@types/whatwg-fetch": "^0.0.33",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
"@typescript-eslint/parser": "^5.42.1",
|
|
"eslint": "^8.29.0",
|
|
"eslint-plugin-jest": "^27.1.4",
|
|
"jest": "^29.3.0",
|
|
"prettier": "^3.2.4",
|
|
"ts-jest": "^29.0.3",
|
|
"typescript": "^5.3.2",
|
|
"unbuild": "^2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"whatwg-fetch": "^3.6.20"
|
|
}
|
|
}
|