env-reify

0.5.5 • Public • Published

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"
  }
}

/env-reify/

    Package Sidebar

    Install

    npm i env-reify

    Weekly Downloads

    1

    Version

    0.5.5

    License

    MIT

    Unpacked Size

    4.76 MB

    Total Files

    10

    Last publish

    Collaborators

    • dghila