Package Exports
- npm-run-message
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npm-run-message) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
npm-run-message
Create a log message when running npm run scripts. Useful as verbose separators in npm command chains to give users more context as to what's happening
Install
$ npm install npm-run-message --save-devUsage
$ npm-run-message
Usage
$ npm-run-message <options>
Options
--message, -m "[message]" Message to display
--color, -c [color] Color of message (only supports chalk colors)
--padding, -p Adds padding to top and bottom of message
Examples
$ npm-run-message -m "Hello World" -c yellow -p
package.json
"scripts": {
"hello": "npm-run-message -m "Hello World" -c yellow -p && jest"
},See supported colors.
Related
- chalk - API for this module