Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
feat: add unified test runner and document testing commands
Abi Raja9fa886ca14ac
diff --git a/CLAUDE.md b/CLAUDE.mdindex ab46b216..cd20d10b 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -4,3 +4,9 @@- Ensure a trailing newline to any file that doesn't end with one- Use type hints in Python to improve code readability and catch potential type-related errors early.- We use poetry in the backend python project++# Testing++- Frontend tests: `yarn test` (from frontend directory) or `npm run test:frontend` (from root)+- Backend tests: `poetry run pytest` (from backend directory) or `npm run test:backend` (from root)+- Run all tests: `npm test` (from root directory)diff --git a/package.json b/package.jsonnew file mode 100644index 00000000..729377f8--- /dev/null+++ b/package.json@@ -0,0 +1,15 @@+{+ "name": "screenshot-to-code",+ "private": true,+ "version": "0.0.0",+ "type": "module",+ "scripts": {+ "test": "npm run test:frontend && npm run test:backend",+ "test:frontend": "cd frontend && yarn test",+ "test:backend": "cd backend && poetry run pytest"+ },+ "workspaces": [+ "frontend",+ "backend"+ ]+}\ No newline at end of file