package.json 1006 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "type": "module",
  3. "name": "ollama",
  4. "version": "0.2.1",
  5. "description": "Interface with an ollama instance over HTTP.",
  6. "main": "dist/index.js",
  7. "types": "dist/index.d.ts",
  8. "scripts": {
  9. "test": "jest --config=jest.config.cjs ./test/*",
  10. "build": "mkdir -p dist && touch dist/cleanup && rm dist/* && tsc -b",
  11. "lint": "eslint ./src/* ./test/*",
  12. "prepublishOnly": "npm run build"
  13. },
  14. "homepage": "https://code.organicdesign.nz/organicdesign/node-ollama",
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/organicdesign/node-ollama.git"
  18. },
  19. "author": "Saul Boyd",
  20. "license": "MIT",
  21. "devDependencies": {
  22. "@swc/core": "^1.3.14",
  23. "@types/jest": "^29.2.2",
  24. "@typescript-eslint/eslint-plugin": "^5.42.1",
  25. "@typescript-eslint/parser": "^5.42.1",
  26. "eslint": "^8.29.0",
  27. "eslint-plugin-jest": "^27.1.4",
  28. "jest": "^29.3.0",
  29. "ts-jest": "^29.0.3",
  30. "typescript": "^4.8.4"
  31. },
  32. "dependencies": {
  33. "node-fetch": "^3.3.2"
  34. }
  35. }