Created
January 21, 2016 10:57
-
-
Save rsp/ae6e6eb0885ff701b853 to your computer and use it in GitHub Desktop.
A proposed convention for npm scripts descriptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "npm-scripts-example", | |
"version": "1.0.0", | |
"description": "npm scripts example", | |
"scripts": { | |
"list?": "echo It lists all json files", | |
"list": "ls *.json", | |
"time?": "echo It prints current time in UTC", | |
"time": "date -uIs", | |
"numbers?": "echo It prints numbers from 1 to 10", | |
"numbers": "echo `seq 1 10`" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an example for my comment on Medium
inspired by Why I Left Gulp and Grunt for npm Scripts by @coryhouse
See also: https://gist.github.com/rsp/b97f05398a03f5740884