yarn run
instead of npm run
by default$ yarn global add unrun
With following contents in package.json
:
{
"scripts": {
"api": "node server.js",
"stats": "webpack-bundle-analyzer stats.json",
"size": "tree ./dist -L 1 -h"
},
"unrun": {
"api": "Start the API server",
"stats": "Represents bundle content as convenient interactive zoomable treemap",
"size": "Show bundle size"
}
}
$ unrun
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
unrun © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).
egoistian.com · GitHub @egoist · Twitter @_egoistlily