npm --workspace=@mrck-labs/module-b run start
npm --workspaces run test
npm --workspaces --if-present run test
Or other syntax:
npm run start -w=@mrck-labs/module-b
npm run test -ws (everywhere)
installing deps:
npm install lodash -ws (everywhere)
npm install lodash -w @mrck-labs/utils (in a specific package)
npm install lodash -W (in root of the project)
how to run concurently: https://egghead.io/lessons/npm-run-dev-scripts-for-all-packages-simultaniously