UNPKG

detect-environment

Version:

Detect environments in JavaScript similar to the way Laravel does

20 lines (10 loc) 448 B
## [Simple](simple.md) Simple integration with [`gulp`](http://gulpjs.com). ## Base environment Respond to environments like `--env=production`. ## [Automatically set environment](auto.md) Respond to tasks like `gulp release`. ## [Using environment files](env-files.md) Using environment files to augment source files. ## [Working with travis](travis.md) Detecting [travis](https://travis-ci.org) and changing the environment accordingly.