forked from longtao.wu/droboticflow
87 lines
4.7 KiB
JSON
87 lines
4.7 KiB
JSON
{
|
|
"name": "droboticflow",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "concurrently -k -n api,web \"npm:dev:api\" \"npm:dev:web\"",
|
|
"dev:full": "concurrently -k -n api,worker,web \"npm:dev:api\" \"npm:dev:worker\" \"npm:dev:web\"",
|
|
"dev:api": "go run ./cmd/api",
|
|
"dev:worker": "go run ./cmd/worker",
|
|
"dev:web": "vite",
|
|
"build": "npm run build:web && npm run build:go",
|
|
"build:web": "vite build",
|
|
"build:go": "mkdir -p build && go build -o build/droboticflow-api ./cmd/api && go build -o build/droboticflow-worker ./cmd/worker",
|
|
"start": "./build/droboticflow-api",
|
|
"start:api": "./build/droboticflow-api",
|
|
"start:worker": "./build/droboticflow-worker",
|
|
"start:operator-runner": "python3 backend/operator-runner/main.py",
|
|
"preview": "vite preview",
|
|
"clean": "rm -rf dist build",
|
|
"lint": "npm run lint:web && npm run lint:go && npm run lint:scripts",
|
|
"lint:web": "tsc --noEmit",
|
|
"lint:go": "bash -lc 'test -z \"$(gofmt -l cmd internal)\"'",
|
|
"lint:scripts": "bash -n scripts/*.sh scripts/lib/*.sh scripts/deploy-envs/*.env && node --check scripts/*.mjs scripts/lib/*.mjs && python3 -m py_compile scripts/*.py scripts/lib/*.py",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css}\" \"src/services/api/*.js\" \"tests/frontend/**/*.mjs\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\" \"src/services/api/*.js\" \"tests/frontend/**/*.mjs\"",
|
|
"test": "go test ./...",
|
|
"test:python": "python3 -m pytest backend/operator-runner tests/backend",
|
|
"test:frontend": "node --test tests/frontend/*.test.mjs",
|
|
"operators:manifests": "python3 scripts/generate_operator_repository_manifests.py --write",
|
|
"operators:manifests:check": "python3 scripts/generate_operator_repository_manifests.py --check",
|
|
"audit:moderate": "./scripts/npm-audit-retry.sh --audit-level=moderate",
|
|
"verify:local": "npm run lint && npm run format:check && npm test && npm run test:python && npm run test:frontend && npm run build && npm run k8s:validate",
|
|
"verify:security": "npm run audit:moderate",
|
|
"verify": "npm run verify:local && npm run verify:security",
|
|
"docker:build:api": "docker build -f Dockerfile.api -t droboticflow-api:local .",
|
|
"docker:build:worker": "docker build -f Dockerfile.worker -t droboticflow-worker:local .",
|
|
"docker:build:operator-runner": "docker build -f Dockerfile.operator-runner -t droboticflow-operator-runner:local .",
|
|
"images:poc-kaniko": "./scripts/build-poc-images-kaniko.sh",
|
|
"k8s:render": "./scripts/render-manifests.sh",
|
|
"k8s:validate": "API_IMAGE=droboticflow-api:validate WORKER_IMAGE=droboticflow-worker:validate OPERATOR_RUNNER_IMAGE=droboticflow-operator-runner:validate ./scripts/render-manifests.sh | kubectl apply --dry-run=client --validate=false -f -",
|
|
"k8s:deploy": "./scripts/deploy-k8s.sh",
|
|
"k8s:cleanup-jobs": "./scripts/cleanup-operator-jobs.sh",
|
|
"acceptance:gpu": "./scripts/gpu-acceptance-test.sh",
|
|
"acceptance:workflow": "./scripts/live-workflow-acceptance.sh",
|
|
"reconcile:data": "./scripts/reconcile-system-data.sh",
|
|
"acceptance:operators-preview": "node scripts/playwright-preview-operators-check.mjs",
|
|
"acceptance:poc-strict": "./scripts/poc-strict-full-acceptance.sh",
|
|
"acceptance:poc-operators": "./scripts/poc-operator-full-acceptance.sh",
|
|
"acceptance:poc-import-verify": "python3 scripts/verify_poc_acceptance_import.py",
|
|
"acceptance:poc-readiness": "./scripts/poc-acceptance-readiness.sh",
|
|
"acceptance:poc-gpu-capacity": "./scripts/poc-gpu-capacity-acceptance.sh",
|
|
"acceptance:poc-gpu-workflow": "./scripts/poc-gpu-workflow-blocked-acceptance.sh",
|
|
"acceptance:poc-fixtures": "./scripts/configure-poc-acceptance-fixtures.sh",
|
|
"acceptance:poc-fixtures:discover": "./scripts/poc-acceptance-fixture-discovery.sh",
|
|
"acceptance:object-storage": "node scripts/object-storage-acceptance.mjs",
|
|
"acceptance:xplatform": "python3 scripts/xplatform-live-acceptance.py",
|
|
"acceptance:poc-operator-workflows": "./scripts/poc-operator-workflow-acceptance.sh"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.1.14",
|
|
"@types/dagre": "^0.7.54",
|
|
"@vitejs/plugin-react": "^5.0.4",
|
|
"clsx": "^2.1.1",
|
|
"dagre": "^0.8.5",
|
|
"lucide-react": "^0.546.0",
|
|
"motion": "^12.23.24",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-router-dom": "^7.14.0",
|
|
"reactflow": "^11.11.4",
|
|
"recharts": "^3.8.1",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^4.1.11"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.14.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"concurrently": "^10.0.3",
|
|
"playwright": "^1.59.1",
|
|
"prettier": "^3.8.4",
|
|
"tailwindcss": "^4.1.14",
|
|
"typescript": "~5.8.2",
|
|
"vite": "^8.0.16"
|
|
}
|
|
}
|