@needle-ai/needlectl
Version:
CLI tool for syncing local files to Needle
68 lines (67 loc) • 1.75 kB
JSON
{
"name": "@needle-ai/needlectl",
"version": "1.2.2",
"description": "CLI tool for syncing local files to Needle",
"homepage": "https://github.com/needle-ai/needlectl",
"bugs": {
"url": "https://github.com/needle-ai/needlectl/issues"
},
"keywords": [
"needle",
"cli",
"local",
"client",
"sync",
"daemon",
"file-monitoring",
"rag",
"integration",
"data",
"connector",
"artificial intelligence",
"ai",
"llm"
],
"author": "Needle",
"license": "MIT",
"type": "module",
"main": "dist/cli.js",
"bin": {
"needlectl": "dist/bin.js"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"scripts": {
"build": "bun run lint && ./build.sh",
"lint": "prettier --check . && eslint src",
"postinstall": "npm install -g pm2",
"local:install": "bun run build && npm install -g .",
"local:uninstall": "needlectl daemon stop ; rm -f ~/node_modules/.bin/needlectl ; rm -rf ~/.bun/install/cache/@needle-ai ; npm uninstall -g @needle-ai/needlectl",
"format:fix": "prettier --write .",
"format:check": "prettier --check .",
"needlectl": "NEEDLE_ENV=dev bun run src/cli.ts"
},
"dependencies": {
"@needle-ai/needle": "^1.4.2",
"chalk": "^4.1.2",
"chokidar": "^4.0.3",
"commander": "^11.1.0",
"pm2": "^5.4.2"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"jiti": "^2.4.2",
"typescript-eslint": "^8.22.0",
"@commander-js/extra-typings": "^13.1.0",
"@types/node": "^20.11.5",
"typescript": "^5.7.3",
"@types/eslint": "^9.6.1",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"eslint": "^9.19.0",
"prettier": "^3.4.2"
}
}