51 lines
2.3 KiB
JSON
51 lines
2.3 KiB
JSON
{
|
|
"name": "jingrow",
|
|
"version": "1.0.0",
|
|
"description": "AI Agent Framework",
|
|
"scripts": {
|
|
"dev": "./dev.sh start",
|
|
"stop": "./dev.sh stop",
|
|
"restart": "./dev.sh restart",
|
|
"dev:simple": "concurrently \"npm run redis\" \"npm run worker\" \"npm run frontend\" \"npm run backend\"",
|
|
"redis": "redis-server ./redis.conf || echo 'Redis already running or not installed'",
|
|
"worker": "cd apps/jingrow && dramatiq jingrow.services.queue --processes 1 --threads 1",
|
|
"frontend": "cd apps/jingrow/frontend && npm run dev",
|
|
"backend": "cd apps/jingrow && uv run uvicorn jingrow.main:app --host 0.0.0.0 --port 9001 --reload",
|
|
"install": "npm run install:frontend && npm run install:backend",
|
|
"install:frontend": "cd apps/jingrow/frontend && npm install",
|
|
"install:backend": "bash -lc 'cd apps/jingrow && if [ -f pyproject.toml ]; then uv sync; elif [ -f requirements.txt ]; then uv pip install -r requirements.txt; else echo \"No dependency manifest found\"; fi'",
|
|
"build": "npm run build:frontend",
|
|
"build:frontend": "cd apps/jingrow/frontend && npm run build",
|
|
"start": "npm run start:frontend && npm run start:backend",
|
|
"start:frontend": "cd apps/jingrow/frontend && npm run preview",
|
|
"start:backend": "cd apps/jingrow && uv run uvicorn jingrow.main:app --host 0.0.0.0 --port 9001",
|
|
"clean": "npm run clean:frontend && npm run clean:backend",
|
|
"clean:frontend": "cd apps/jingrow/frontend && rm -rf node_modules dist",
|
|
"clean:backend": "cd apps/jingrow && find . -name '__pycache__' -type d -exec rm -rf {} +",
|
|
"test": "npm run test:frontend && npm run test:backend",
|
|
"test:frontend": "cd apps/jingrow/frontend && npm run test",
|
|
"test:backend": "cd apps/jingrow && python -m pytest",
|
|
"lint": "npm run lint:frontend && npm run lint:backend",
|
|
"lint:frontend": "cd apps/jingrow/frontend && npm run lint",
|
|
"lint:backend": "cd apps/jingrow && python -m flake8 app/",
|
|
"format": "npm run format:frontend && npm run format:backend",
|
|
"format:frontend": "cd apps/jingrow/frontend && npm run format",
|
|
"format:backend": "cd apps/jingrow && python -m black app/"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^8.2.2"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agent",
|
|
"workflow",
|
|
"automation"
|
|
],
|
|
"author": "jingrow",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=8.0.0"
|
|
}
|
|
}
|