1.0.4 • Published 4 years ago
@prescrire/cfg v1.0.4
Configuration files
package.jsondevelopment.envproduction.env.cfg.json
Secrets
Put to your .gitignore and (in some cases) .gockerignore following lines:
.cfg.json
.secrets/Configuration merge priority
The cfg reads its configuration in multiple places and merges them into one in accordance to a priority below:
.cfg.jsonfile in project root (should be added to.gitignore)cfgproperty inpackage.jsonpackage.jsonfor props:name