haberdashery
v2.1.2
Published
Node Application Manager
Downloads
6
Maintainers
Readme
Haberdashery
The node application manager
Haberdashery is a node application manager. It simplifies local development by allowing you to run all your project applications in one terminal. Run all your node API micro-services, plus your front end by simply configuring an RC file.
Not only can you start all the apps with one command, but all the output from each app gets logged in the one terminal tab, saving you time from cycling through tabs and windows trying to find which app has crashed or where your console log went.
Run locally
- npm install haberdashery -g
- Create an rc file
- run
haberdashery
ordash
RC File
create .dashrc
with your default start script and an array of directories you have your apps in
In this case, I am running npm run start
on the directories listed
{
"applications": [
{
"directory": "~/Projects/auth-service",
"script": "start"
},
{
"directory": "~/Projects/checkout-service",
"script": "start"
},
{
"directory": "~/Projects/search-service",
"script": "start"
}
]
}
You can specify to use yarn by adding the following to your .dashrc
file:
{
"packageManager": "yarn"
}