{"action":"created","issue":{"url":"https://api.github.com/repos/Nipher/gulp-npm-files/issues/2","labels_url":"https://api.github.com/repos/Nipher/gulp-npm-files/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Nipher/gulp-npm-files/issues/2/comments","events_url":"https://api.github.com/repos/Nipher/gulp-npm-files/issues/2/events","html_url":"https://github.com/Nipher/gulp-npm-files/issues/2","id":118306526,"number":2,"title":"Documentation?","user":{"login":"Grawl","id":846774,"avatar_url":"https://avatars.githubusercontent.com/u/846774?v=3","gravatar_id":"","url":"https://api.github.com/users/Grawl","html_url":"https://github.com/Grawl","followers_url":"https://api.github.com/users/Grawl/followers","following_url":"https://api.github.com/users/Grawl/following{/other_user}","gists_url":"https://api.github.com/users/Grawl/gists{/gist_id}","starred_url":"https://api.github.com/users/Grawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grawl/subscriptions","organizations_url":"https://api.github.com/users/Grawl/orgs","repos_url":"https://api.github.com/users/Grawl/repos","events_url":"https://api.github.com/users/Grawl/events{/privacy}","received_events_url":"https://api.github.com/users/Grawl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-23T02:06:05Z","updated_at":"2015-11-24T05:09:10Z","closed_at":null,"body":"It's hard to understand what does boolean argument\r\n\r\n```js\r\n  gulp.src(gnf(true), {base:'./'}).pipe(gulp.dest('./build'));\r\n---------------^ here\r\n```"},"comment":{"url":"https://api.github.com/repos/Nipher/gulp-npm-files/issues/comments/159151080","html_url":"https://github.com/Nipher/gulp-npm-files/issues/2#issuecomment-159151080","issue_url":"https://api.github.com/repos/Nipher/gulp-npm-files/issues/2","id":159151080,"user":{"login":"goodseller","id":1484676,"avatar_url":"https://avatars.githubusercontent.com/u/1484676?v=3","gravatar_id":"","url":"https://api.github.com/users/goodseller","html_url":"https://github.com/goodseller","followers_url":"https://api.github.com/users/goodseller/followers","following_url":"https://api.github.com/users/goodseller/following{/other_user}","gists_url":"https://api.github.com/users/goodseller/gists{/gist_id}","starred_url":"https://api.github.com/users/goodseller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodseller/subscriptions","organizations_url":"https://api.github.com/users/goodseller/orgs","repos_url":"https://api.github.com/users/goodseller/repos","events_url":"https://api.github.com/users/goodseller/events{/privacy}","received_events_url":"https://api.github.com/users/goodseller/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T05:09:10Z","updated_at":"2015-11-24T05:09:10Z","body":"@Nipher @Grawl \r\n\r\nI do not have strong opinion on the way of handling it, in either using associated array or array. The idea are both good on it's own.\r\n\r\nI have had a quick lookup from the [offical site](https://docs.npmjs.com/files/package.json#dependencies). And found these way of handling dependencies:\r\n - dependencies\r\n - devDependencies\r\n - peerDependencies\r\n - bundledDependencies / bundleDependencies\r\n - optionalDependencies\r\n\r\nIt might need to be aware that for [bundledDependencies](https://docs.npmjs.com/files/package.json#bundleddependencies):\r\n\r\n    If this is spelled \"bundleDependencies\", then that is also honored.\r\n\r\n\r\n**In short**, Do we need to handle it?\r\n\r\nIf so use `{}` is better. (npm file path can be also include in it)\r\nIf not, `[]` is good enough and can handle the need that if more kind of dependencies will be added to npm file in the future.\r\n\r\n\r\n\r\n**Last but not least**, is it nice to keep the default value of `gnf()` as loading `dependencies`?\r\n\r\nThanks."}}