prismafire
v2.0.1
Published
[](http://commitizen.github.io/cz-cli/) [](https://opensource.org/licenses/ISC) 
└── package.jsonInstallation
npm install -D prismafireOptions
input
If your prisma.yml is elsewhere, you can specify --input to indicate where to fetch the file.
output
If your prisma.yml should be elsewhere, you can specify --output to indicate where to write the file.
glob
You can also set a different glob to match your datamodels fils through the --glob option
how to use it
scripts
I suggest adding this script on the package json :
{
// ...
"scripts": {
// ...
"prisma:deploy":"prismafire && prisma deploy ", // you can pass options after prismafire
// or with options ( ex with --glob)
"prisma:deploy":"prismafire --glob custom/**.glob && prisma deploy ",
}
}or
then run prisma deploy via the script.
This way, you'll trigger the hook to generate the prisma file before asking for deployment
