peopledoc/broccoli-env

Name: broccoli-env

Owner: PeopleDoc

Description: Get the Broccoli build environment from BROCCOLI_ENV

Created: 2016-01-18 15:48:10.0

Updated: 2017-11-20 21:05:25.0

Pushed: 2016-02-05 07:49:38.0

Homepage:

Size: 8

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

broccoli-env

Get the environment (development or production) from the BROCCOLI_ENV environment variable.

Installation
install --save-dev broccoli-env
Usage
env = require('broccoli-env').getEnv();
ole.log(env) // => 'development' or 'production'
s
env = require('broccoli-env').setEnvs(['development','production', 'testing']).getEnv();
ole.log(env) // => 'development', 'production' or 'testing'

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.