0.5.5 • Published 2 years ago

env-reify v0.5.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Reify

Quick start

Install using npm:

npm i --save-dev env-reify

Or yarn:

yarn add -D env-reify

Write a template:

{
  "host": "{{hostname}}",
  "features": {
    "showBetaBadge": "{{showBetaBadge}}",
    "onlyBetaUsers": "{{onlyBetaUsers}}"
  }
}

Write a configuration file:

[[mounts]]
source = "templates/environment.json"
destination = "out/environment.json"
processor = "handlebars"

Add custom script in your package.json

{
  "scripts": {
    "reify": "env-reify -c reify.toml -e dev"
  }
}