{
  "name": "my-universal-project",
  "version": "1.0.0",
  "description": "A project using multiple languages",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "dev": "nodemon index.js",
    "test": "jest",
    "build": "webpack",
    "python:test": "pytest",
    "python:lint": "black . && flake8",
    "ml:train": "python scripts/train.py",
    "ml:predict": "python scripts/predict.py"
  },
  "dependencies": {
    "express": "^4.18.0",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "axios": "^1.6.0",
    "numpy": "python:^1.24.0",
    "pandas": "python:^2.0.0",
    "scikit-learn": "python:^1.3.0",
    "tensorflow": "python:^2.13.0",
    "matplotlib": "python:^3.7.0"
  },
  "devDependencies": {
    "@types/node": "^18.0.0",
    "@types/react": "^18.0.0",
    "jest": "^29.0.0",
    "webpack": "^5.0.0",
    "webpack-cli": "^5.0.0",
    "nodemon": "^3.0.0",
    "pytest": "python:^7.0.0",
    "black": "python:^23.0.0",
    "flake8": "python:^6.0.0",
    "jupyterlab": "python:^4.0.0"
  },
  "engines": {
    "node": ">=16.0.0",
    "python": ">=3.8.0"
  },
  "upm": {
    "environments": {
      "production": {
        "languages": ["javascript", "python"],
        "freeze": true,
        "pythonVersion": "3.10",
        "nodeVersion": "18"
      },
      "development": {
        "languages": ["javascript", "python", "rust"],
        "pythonVersion": "3.11",
        "nodeVersion": "20"
      },
      "ml": {
        "languages": ["python"],
        "pythonVersion": "3.10",
        "cudaVersion": "11.8",
        "packages": {
          "tensorflow-gpu": "python:^2.13.0",
          "torch": "python:^2.0.0",
          "transformers": "python:^4.30.0"
        }
      }
    },
    "binary": {
      "tensorflow": {
        "platform": {
          "darwin": "tensorflow-macos",
          "linux": "tensorflow",
          "win32": "tensorflow-windows"
        }
      },
      "opencv": {
        "platform": {
          "darwin": "opencv4-macos",
          "linux": "opencv4",
          "win32": "opencv4-windows"
        }
      }
    },
    "scripts": {
      "postinstall": "upm run setup",
      "setup": "python -m pip install -e ./python && npm run build"
    }
  }
}