env-sync
automates the process of syncing and saving examples of all your
env
files. No more manually updating env samples
$ npm install -g env-sync
Install as a dev dependency (recommended)
$ npm install -D env-sync
- Insert as script command
// package.json
{
"scripts": {
"env": "env-sync"
}
}
- Run it
$ npm run env