An example dictator created with dictator-builder.
It can be used with any kind of repository, not only Node.
Example usage here.
You can let Haffaz dictate your source repository by adding it to package.json
like:
{
"scripts": {
"prepare": "haffaz"
},
"devDependencies": {
"haffaz": "a.b.c"
}
}
Or with npx
, in prepare
or preinstall
:
{
"scripts": {
"prepare": "npx haffaz@a.b.c"
}
}
It can be run from command line with: npx haffaz@latest
.