@johanneshighspirits/env-setup
v0.0.5
Published
Keep track of required environment variables
Downloads
1
Readme
env-setup
Work in progress
Example usage
Create a configuration file
// config.js
module.exports = {
envFilePath: '.env',
vars: { testVariables: ['VAR_1', 'VAR_2'] }
}
Add npm script and pass the path to your config file as --config
argument
// package.json
{
"scripts": {
"prestart": "env-setup --config config.js"
}
}