{
  "name": "@jupyterlab/example-federated",
  "version": "2.1.1-alpha.10",
  "private": true,
  "scripts": {
    "install": "npm run install:core && npm run install:middle && npm run install:md && npm run install:phosphor",
    "install:core": "cd core_package && npm install",
    "install:md": "cd md_package && npm install",
    "install:middle": "cd middle_package && npm install",
    "install:phosphor": "cd phosphor_package && npm install",
    "build": "npm run build:core && npm run build:middle && npm run build:md && npm run build:phosphor",
    "build:core": "cd core_package && npm run build",
    "build:md": "cd md_package && npm run build",
    "build:middle": "cd middle_package && npm run build",
    "build:phosphor": "cd phosphor_package && npm run build"
  }
}

{
  "name": "@jupyterlab/example-federated",
  "version": "2.1.1-alpha.10",
  "private": true,
  "scripts": {
    "install:all": "npm run install:core && npm run install:middle && npm run install:md && npm run install:phosphor",
    "install:core": "cd core_package && npm install",
    "install:md": "cd md_package && npm install",
    "install:middle": "cd middle_package && npm install",
    "install:phosphor": "cd phosphor_package && npm install",
    "build": "npm run build:core && npm run build:middle && npm run build:md && npm run build:phosphor",
    "build:core": "cd core_package && npm run build",
    "build:md": "cd md_package && npm run build",
    "build:middle": "cd middle_package && npm run build",
    "build:phosphor": "cd phosphor_package && npm run build"
  }
}

Move federated install step to install:all
Move federated install step to install:all