I checked out a repo which uses yarn instead of npm as build tool.

in the package.json, it defines workspaces to deal with multiple sub-projects:

```
{
  "workspaces": [
    "packages/*"
  ],
  "dependencies": [],
  "devDependencies": [
    // long list
  ]
}

```

As a result, the root `package.json` does not contain any runtime dependency. Just the `packages/*/package.json` contain those.

To compile (and start in dev mode) I do:

```
yarn install
yarn start

```

I have found no documentation, that `workspaces` is also recognized and correctly used by npm. 

Is there a way to make it work with npm, too?