AlbertHernandez / concurrently-npm-scripts-demo

Project to show how we can run multiple npm scripts concurrently

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Concurrently npm script demo

Example of a project where we can use concurrently package to improve npm scripts that can run concurrently

nodejs

Table of Contents

Developing

The project is fully dockerized, if we want to start the app in development mode, we just need to run:

make start-dev

Now, you should be able to start debugging configuring using your IDE. For example, if you are using vscode, you can create a .vscode/launch.json file with the following config:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "attach",
      "name": "Attach to docker",
      "restart": true,
      "port": 9229,
      "remoteRoot": "/project"
    }
  ]
}

If you want to stop developing, you can stop the service running:

make stop

Building

make build

Testing

Jest with Testing Library

make test

Linting

Run the linter

make lint

Fix lint issues automatically

make lint-fix

About

Project to show how we can run multiple npm scripts concurrently

License:MIT License


Languages

Language:TypeScript 52.0%Language:Dockerfile 27.3%Language:JavaScript 7.3%Language:Makefile 6.9%Language:Shell 6.5%