blum
Version:
A cli tool for generating manifest config.json files. Ideal as a prestart script.
22 lines (11 loc) • 627 B
Markdown
from the command line. You will see a `manifest.config.json` file is generated in this directory with the output contents.
$ ../bin/blum -c criteria.js -m manifest.js
Run as a package script:
$ npm install
$ npm start
To generate the alternative config available in this example add an environment variable before calling **blum**.
$ ENVIRONMENT=production npm start
You will see that this time a `manifest.config.json` file is generated with a server port of `3000` instead of `8080` and a view options for pretty are set to `false` as opposed to `true`.
Use it straight