{"action":"opened","issue":{"url":"https://api.github.com/repos/bower/bower/issues/2024","labels_url":"https://api.github.com/repos/bower/bower/issues/2024/labels{/name}","comments_url":"https://api.github.com/repos/bower/bower/issues/2024/comments","events_url":"https://api.github.com/repos/bower/bower/issues/2024/events","html_url":"https://github.com/bower/bower/issues/2024","id":117677742,"number":2024,"title":"`devIgnore`/`prodIgnore`","user":{"login":"David-Mulder","id":46602,"avatar_url":"https://avatars.githubusercontent.com/u/46602?v=3","gravatar_id":"","url":"https://api.github.com/users/David-Mulder","html_url":"https://github.com/David-Mulder","followers_url":"https://api.github.com/users/David-Mulder/followers","following_url":"https://api.github.com/users/David-Mulder/following{/other_user}","gists_url":"https://api.github.com/users/David-Mulder/gists{/gist_id}","starred_url":"https://api.github.com/users/David-Mulder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/David-Mulder/subscriptions","organizations_url":"https://api.github.com/users/David-Mulder/orgs","repos_url":"https://api.github.com/users/David-Mulder/repos","events_url":"https://api.github.com/users/David-Mulder/events{/privacy}","received_events_url":"https://api.github.com/users/David-Mulder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T20:46:06Z","updated_at":"2015-11-18T20:46:06Z","closed_at":null,"body":"So, there is a beautiful way to tell bower that we depend on different stuff on production and development, because on development we need more stuff than on production, but why can't we (as far as I know) tell bower to ignore/include different files/directories depending on whether we are in development/production?\r\n\r\nTo give an extremely common real world example, when developing Web Components it's incredibly common to include a `demo` directory, a directory which one would definitely wish to pull in on development, but not on production. It would be great if we could thus specify files/directories which should only be ignored if `--production`."}}