Now let's create a plugin that we can use to extend the functionality of the incidents application (and any other application).
In the incidents-app
folder, create a folder criticality and run npm init -y
in that folder:
mkdir criticality && cd criticality && npm init -y && cd ..
The command npm init -y
creates a package.json file in the new folder.
Note
Normally, you would create a plugin outside of the application's folder. In this tutorial, you do it inline though. This is simpler and avoids a monorepo setup.