1.0.4 • Published 2 years ago
@prescrire/cfg v1.0.4
Configuration files
package.json
development.env
production.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.json
file in project root (should be added to.gitignore
)cfg
property inpackage.json
package.json
for props:name