UNPKG

@llamafarm/llamafarm

Version:

🌾 Plant and harvest AI models, agents, and databases into single deployable binaries

132 lines (131 loc) • 3.41 kB
{ "name": "@llamafarm/llamafarm", "version": "0.1.0", "description": "🌾 Plant and harvest AI models, agents, and databases into single deployable binaries", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "llamafarm": "./dist/cli.js" }, "files": [ "dist", "templates", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "dev": "ts-node src/cli.ts", "prepare": "npm run build", "test": "jest", "lint": "eslint src --ext .ts", "format": "prettier --write \"src/**/*.ts\"", "package:mac": "pkg . -t node18-macos-arm64 -o binaries/llamafarm-mac", "package:linux": "pkg . -t node18-linux-x64 -o binaries/llamafarm-linux", "package:win": "pkg . -t node18-win-x64 -o binaries/llamafarm.exe", "package:all": "npm run package:mac && npm run package:linux && npm run package:win", "demo": "node scripts/demo.js", "postinstall": "node scripts/postinstall.js", "system-check": "node dist/utils/system-check.js", "plugins:list": "ts-node src/plugins/loader.ts", "plugins:test": "jest src/plugins --coverage", "plugin:create": "ts-node scripts/create-plugin.ts" }, "keywords": [ "ai", "llm", "ollama", "edge", "deployment", "binary", "local-ai", "harvest", "langchain", "vector-database", "rag", "chromadb" ], "author": "Harvest AI Team", "license": "MIT", "homepage": "https://github.com/llamafarm/llamafarm-cli#readme", "repository": { "type": "git", "url": "git+https://github.com/llamafarm/llamafarm-cli.git" }, "bugs": { "url": "https://github.com/llamafarm/llamafarm-cli/issues" }, "dependencies": { "archiver": "^6.0.1", "boxen": "^5.1.2", "chalk": "^4.1.2", "chromadb": "^1.7.3", "commander": "^11.1.0", "conf": "^10.2.0", "express": "^4.18.2", "extract-zip": "^2.0.1", "figlet": "^1.7.0", "fs-extra": "^11.2.0", "inquirer": "^8.2.6", "js-yaml": "^4.1.0", "node-fetch": "^2.7.0", "ollama": "^0.5.0", "ora": "^5.4.1", "portfinder": "^1.0.32", "update-notifier": "^5.1.0", "ws": "^8.16.0" }, "devDependencies": { "@types/archiver": "^6.0.2", "@types/express": "^4.17.21", "@types/figlet": "^1.5.8", "@types/fs-extra": "^11.0.4", "@types/inquirer": "^8.2.10", "@types/jest": "^29.5.14", "@types/js-yaml": "^4.0.9", "@types/node": "^20.11.0", "@types/node-fetch": "^2.6.11", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", "eslint": "^8.56.0", "jest": "^29.7.0", "pkg": "^5.8.1", "prettier": "^3.2.4", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "pkg": { "scripts": "dist/**/*.js", "assets": [ "dist/**/*", "templates/**/*", "node_modules/figlet/fonts/**/*" ], "targets": [ "node18-macos-arm64", "node18-linux-x64", "node18-win-x64" ], "outputPath": "binaries" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "roots": [ "<rootDir>/src" ], "testMatch": [ "**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts" ] } }