Skip to content

Instantly share code, notes, and snippets.

@yano3nora
Created December 29, 2021 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yano3nora/d81be7aa690b288a0e1c86b21fce1a21 to your computer and use it in GitHub Desktop.
Save yano3nora/d81be7aa690b288a0e1c86b21fce1a21 to your computer and use it in GitHub Desktop.
[dev: concurrently] Npm library for multiple npm run commands. #js #dev

https://github.com/open-cli-tools/concurrently

$ npm i -D concurrently
// next 開発サーバと docker-compose を同時に立ち上げて ... みたいな

{
  "scripts": {
    "dev": "concurrently -n nextjs,docker -c \"blue,yellow\" \"next dev\" \"dip up\"",
  },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment