Files
obsidian_ollama/package.json
T
fegger 4ea2734ade fix: move obsidian to devDependencies, improve shim export
- package.json: move obsidian from dependencies to devDependencies
  (it is a type stub — having it in dependencies risks shadowing
  Obsidian's built-in API if node_modules is present in the plugin folder)
- main.js: explicitly extract default export from dist/main.js so the
  shim works with both plugin.default and direct-export loader patterns
2026-05-19 18:21:17 +02:00

39 lines
858 B
JSON
Executable File

{
"name": "ollama-plugin",
"version": "1.0.0",
"description": "Ollama integration plugin for Obsidian",
"main": "dist/main.js",
"scripts": {
"test": "jest",
"build": "tsc",
"watch": "tsc --watch",
"lint": "eslint src --ext .ts",
"format": "prettier --write ."
},
"keywords": [
"obsidian",
"ollama",
"chat",
"ai",
"plugin"
],
"author": "Anonymous",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^8.59.2",
"@typescript-eslint/parser": "^8.59.2",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.3.0",
"obsidian": "^1.4.11",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"dependencies": {
"chromadb": "^1.5.3"
}
}