npm script command to run a script command from another package.json April 10, 2023 by Tarik well it turns out to be quite simple: "scripts": { test_projectA:"cd ../projectA && npm run-script test" }