{"action":"created","issue":{"url":"https://api.github.com/repos/RyanMcG/lein-npm/issues/22","labels_url":"https://api.github.com/repos/RyanMcG/lein-npm/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/RyanMcG/lein-npm/issues/22/comments","events_url":"https://api.github.com/repos/RyanMcG/lein-npm/issues/22/events","html_url":"https://github.com/RyanMcG/lein-npm/issues/22","id":58164033,"number":22,"title":"Order packages by name","user":{"login":"binarykitchen","id":177641,"avatar_url":"https://avatars.githubusercontent.com/u/177641?v=3","gravatar_id":"","url":"https://api.github.com/users/binarykitchen","html_url":"https://github.com/binarykitchen","followers_url":"https://api.github.com/users/binarykitchen/followers","following_url":"https://api.github.com/users/binarykitchen/following{/other_user}","gists_url":"https://api.github.com/users/binarykitchen/gists{/gist_id}","starred_url":"https://api.github.com/users/binarykitchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarykitchen/subscriptions","organizations_url":"https://api.github.com/users/binarykitchen/orgs","repos_url":"https://api.github.com/users/binarykitchen/repos","events_url":"https://api.github.com/users/binarykitchen/events{/privacy}","received_events_url":"https://api.github.com/users/binarykitchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-19T03:35:57Z","updated_at":"2015-02-20T17:12:45Z","closed_at":null,"body":"Currently when you do a direct `npm install`, it sorts the dependencies by name in the package.json. Do you think you could do the same here? That would be great. Thanks"},"comment":{"url":"https://api.github.com/repos/RyanMcG/lein-npm/issues/comments/75277818","html_url":"https://github.com/RyanMcG/lein-npm/issues/22#issuecomment-75277818","issue_url":"https://api.github.com/repos/RyanMcG/lein-npm/issues/22","id":75277818,"user":{"login":"RyanMcG","id":272939,"avatar_url":"https://avatars.githubusercontent.com/u/272939?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanMcG","html_url":"https://github.com/RyanMcG","followers_url":"https://api.github.com/users/RyanMcG/followers","following_url":"https://api.github.com/users/RyanMcG/following{/other_user}","gists_url":"https://api.github.com/users/RyanMcG/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanMcG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanMcG/subscriptions","organizations_url":"https://api.github.com/users/RyanMcG/orgs","repos_url":"https://api.github.com/users/RyanMcG/repos","events_url":"https://api.github.com/users/RyanMcG/events{/privacy}","received_events_url":"https://api.github.com/users/RyanMcG/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T17:12:45Z","updated_at":"2015-02-20T17:12:45Z","body":"For all users who aren't adding a new dependency, this would modify their\n`project.clj` next time they run npm install.  There are other ways to sort\nthis list without adding unnecessary complexity to lein-npm.\n\nOn Thu, Feb 19, 2015 at 3:22 PM, Michael Heuberger <notifications@github.com\n> wrote:\n\n> Well, having the package list sorted alphabetically is very nice for the\n> developer's eyes. In our project we have over 40 npm packages. Scanning\n> through these when not sorted is a pain.\n>\n> If that list were sorted, we would save some seconds looking for packages.\n> Makes it easier to visually parse the file.\n>\n> In regards to modifying a source, I do not see a problem here because\n> adding a new npm package requires a new line in the project.clj and that\n> file has to be modified anyway.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/RyanMcG/lein-npm/issues/22#issuecomment-75160478>.\n>\n"}}