Closed jpsc closed 8 years ago
how would you write that down? Something like this?
...
scripts: {
tasks: {
build : '',
serve: ''
}
}
...
scripts: {
"build:js": "browserify",
"build:css": "postcss -u"
}
I'd put this guideline directly after "Write atomic tasks" and try to use the same example so that it makes most sense to the reader.
task:..
helps bundling for a specific tasknpm-run-all task:*
and all related tasks will run (specially important if add more tasks later there is no need for changing)