0.0.5 • Published 7 years ago
@johanneshighspirits/env-setup v0.0.5
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"
  }
}