{"action":"created","issue":{"url":"https://api.github.com/repos/benoror/better-npm-run/issues/18","labels_url":"https://api.github.com/repos/benoror/better-npm-run/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/benoror/better-npm-run/issues/18/comments","events_url":"https://api.github.com/repos/benoror/better-npm-run/issues/18/events","html_url":"https://github.com/benoror/better-npm-run/issues/18","id":113362601,"number":18,"title":"add ability to specify build tasks","user":{"login":"gorangajic","id":249310,"avatar_url":"https://avatars.githubusercontent.com/u/249310?v=3","gravatar_id":"","url":"https://api.github.com/users/gorangajic","html_url":"https://github.com/gorangajic","followers_url":"https://api.github.com/users/gorangajic/followers","following_url":"https://api.github.com/users/gorangajic/following{/other_user}","gists_url":"https://api.github.com/users/gorangajic/gists{/gist_id}","starred_url":"https://api.github.com/users/gorangajic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorangajic/subscriptions","organizations_url":"https://api.github.com/users/gorangajic/orgs","repos_url":"https://api.github.com/users/gorangajic/repos","events_url":"https://api.github.com/users/gorangajic/events{/privacy}","received_events_url":"https://api.github.com/users/gorangajic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benoror/better-npm-run/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/benoror/better-npm-run/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T14:08:08Z","updated_at":"2015-10-26T16:42:34Z","closed_at":null,"body":"in the Readme I have saw that you have this example? \r\n```javascript\r\n    \"build\": [\r\n        {\r\n            \"run\": \"build:dist\"\r\n        },\r\n        {\r\n            \"run\": \"build:prod\"\r\n        }\r\n    ],\r\n```\r\nis there some module to do this or it's just idea ?\r\n\r\nI would like to have same ability so I can queue tasks one by one for build process\r\n\r\nfor example\r\n\r\n```javascript\r\n   \"betterScripts\": {\r\n   \"build\": [\"clean\", \"webpack:production\", \"webpack:backend\", \"migrate\"],\r\n   \"clan\": {\r\n       \"command\": 'rm -rf ./dist',\r\n   },\r\n   \"wepback:production\": {\r\n        \"command\": \"webpack\",\r\n        \"env\": {\r\n            NODE_ENV: \"production\",\r\n        }\r\n   },\r\n   \"migrate\": {\r\n        \"command\": \"node ./bin/migrate\",\r\n        \"env\": {\r\n            \"NODE_ENV\": \"production\"\r\n        }\r\n   }\r\n   ..etc\r\n}\r\n```\r\nwith this and [concurrently](https://www.npmjs.com/package/concurrently) I can completely replace grunt/gulp :smile: "},"comment":{"url":"https://api.github.com/repos/benoror/better-npm-run/issues/comments/151203963","html_url":"https://github.com/benoror/better-npm-run/issues/18#issuecomment-151203963","issue_url":"https://api.github.com/repos/benoror/better-npm-run/issues/18","id":151203963,"user":{"login":"benoror","id":119117,"avatar_url":"https://avatars.githubusercontent.com/u/119117?v=3","gravatar_id":"","url":"https://api.github.com/users/benoror","html_url":"https://github.com/benoror","followers_url":"https://api.github.com/users/benoror/followers","following_url":"https://api.github.com/users/benoror/following{/other_user}","gists_url":"https://api.github.com/users/benoror/gists{/gist_id}","starred_url":"https://api.github.com/users/benoror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoror/subscriptions","organizations_url":"https://api.github.com/users/benoror/orgs","repos_url":"https://api.github.com/users/benoror/repos","events_url":"https://api.github.com/users/benoror/events{/privacy}","received_events_url":"https://api.github.com/users/benoror/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T16:42:34Z","updated_at":"2015-10-26T16:42:34Z","body":"I can't recall exactly why I did not implement it, but certainly that was the idea behind it.\r\n\r\nRegarding [kimmobrunfeldt/concurrently](https://github.com/kimmobrunfeldt/concurrently) I'm not sure how bad it impacts **readibility** (CI server output for example), is it worth it?"}}