{"action":"closed","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1138","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1138/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1138/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1138/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1138","id":57548907,"number":1138,"title":"Remove some dependencies to reduce node_modules size","user":{"login":"gmarziou","id":361007,"avatar_url":"https://avatars.githubusercontent.com/u/361007?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarziou","html_url":"https://github.com/gmarziou","followers_url":"https://api.github.com/users/gmarziou/followers","following_url":"https://api.github.com/users/gmarziou/following{/other_user}","gists_url":"https://api.github.com/users/gmarziou/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarziou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarziou/subscriptions","organizations_url":"https://api.github.com/users/gmarziou/orgs","repos_url":"https://api.github.com/users/gmarziou/repos","events_url":"https://api.github.com/users/gmarziou/events{/privacy}","received_events_url":"https://api.github.com/users/gmarziou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-13T01:58:35Z","updated_at":"2015-02-18T11:21:01Z","closed_at":"2015-02-18T11:21:01Z","body":"The `node_modules` folder of a jhipster app is quite big, it takes disk space and slows down installation.\r\nI looked at package.json and I don't understand why we depend on bower as it is installed globally and required by yo.\r\nI removed it from package.json and it seems it had no impact.\r\nI looked at the angular generator and they don't have it, it seems they removed it in this [PR](https://github.com/yeoman/generator/pull/201).\r\n\r\nSame thing for grunt-cli that must be installed globally.\r\n\r\nI don't understand also why we depend on generator-jhipster which in turn brings yo as dependency.\r\nI also removed it.\r\n\r\nFinally, my node_modules folder reduced from 399 MB to 173 MB !\r\n\r\nI just tested with maven/grunt, so please try other configurations"}}