Files
kankys 55626902fe docs: add collection guide and test:all:with-backend script
- Add docs/COLECTION_GUIDE.md with complete guide for creating new collections
- Add test:all:with-backend script for automatic backend + tests execution
- Update README.md with JsonPlaceholder reference and new script info

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-15 22:09:35 +02:00

35 lines
1.3 KiB
JSON

{
"name": "api-test-playground",
"version": "1.0.0",
"description": "Monorepo for API testing playground with Bruno and Vibe agents",
"private": true,
"workspaces": [
"backends/*",
"backends/*/frontend",
"apiTest/*"
],
"scripts": {
"setup": "npm install",
"start:all": "concurrently \"npm run start:backends\" \"npm run test:watch\"",
"start:backends": "cd backends/potter-api && npm start",
"start:potter-api": "cd backends/potter-api && npm start",
"start:potter-fe": "cd backends/potter-api/frontend && npm run serve",
"test:all": "for dir in $(find apiTest -mindepth 1 -maxdepth 1 -type d ! -name \"node_modules\" ! -name \".git\" | sort); do cd \"$dir\" && npx @usebruno/cli run -r && cd ../.. || exit 1; done",
"test:all:with-backend": "cd backends/potter-api && npm install 2>/dev/null; PORT=3000 node app.js > /tmp/bruno-server.log 2>&1 & sleep 3 && cd ../.. && npm run test:all && pkill -f \"node app.js\" 2>/dev/null || true",
"test:potter": "cd apiTest/PotterAPI && npx @usebruno/cli run -r",
"test:watch": "cd apiTest/PotterAPI && npx @usebruno/cli run -r --watch",
"lint": "echo \"Linting all workspaces\""
},
"devDependencies": {
"concurrently": "^8.2.2"
},
"keywords": [
"api-testing",
"bruno",
"monorepo",
"potter-api"
],
"author": "",
"license": "ISC"
}