{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9219","labels_url":"https://api.github.com/repos/npm/npm/issues/9219/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9219/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9219/events","html_url":"https://github.com/npm/npm/issues/9219","id":100017460,"number":9219,"title":"Propose a order convention for `package.json` properties.","user":{"login":"reggi","id":296798,"avatar_url":"https://avatars.githubusercontent.com/u/296798?v=3","gravatar_id":"","url":"https://api.github.com/users/reggi","html_url":"https://github.com/reggi","followers_url":"https://api.github.com/users/reggi/followers","following_url":"https://api.github.com/users/reggi/following{/other_user}","gists_url":"https://api.github.com/users/reggi/gists{/gist_id}","starred_url":"https://api.github.com/users/reggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reggi/subscriptions","organizations_url":"https://api.github.com/users/reggi/orgs","repos_url":"https://api.github.com/users/reggi/repos","events_url":"https://api.github.com/users/reggi/events{/privacy}","received_events_url":"https://api.github.com/users/reggi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"ACE1AF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-10T09:27:44Z","updated_at":"2015-08-18T01:58:54Z","closed_at":"2015-08-18T00:47:25Z","body":"I'd love an array of the standard conventional order a `package.json` should be in, or at-least the first couple.\r\n\r\n```\r\nvar packageOrder = [\r\n  'name',\r\n  'version',\r\n  'description',\r\n  'main',\r\n  'bin',\r\n  'scripts',\r\n  'keywords',\r\n  'homepage',\r\n  'bugs',\r\n  'license',\r\n  'author',\r\n  'contributors',\r\n  'files',\r\n  'man',\r\n  'directories',\r\n  'repository',\r\n  'config',\r\n  'devDependencies',\r\n  'dependencies',\r\n  'peerDependencies',\r\n  'bundledDependencies',\r\n  'optionalDependencies',\r\n  'engines',\r\n  'os',\r\n  'cpu',\r\n  'preferGlobal',\r\n  'private',\r\n  'publishConfig'\r\n]\r\n```\r\n\r\nNobody want's `name`, and `main` at the bottom somewhere, nobody..."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/132029888","html_url":"https://github.com/npm/npm/issues/9219#issuecomment-132029888","issue_url":"https://api.github.com/repos/npm/npm/issues/9219","id":132029888,"user":{"login":"reggi","id":296798,"avatar_url":"https://avatars.githubusercontent.com/u/296798?v=3","gravatar_id":"","url":"https://api.github.com/users/reggi","html_url":"https://github.com/reggi","followers_url":"https://api.github.com/users/reggi/followers","following_url":"https://api.github.com/users/reggi/following{/other_user}","gists_url":"https://api.github.com/users/reggi/gists{/gist_id}","starred_url":"https://api.github.com/users/reggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reggi/subscriptions","organizations_url":"https://api.github.com/users/reggi/orgs","repos_url":"https://api.github.com/users/reggi/repos","events_url":"https://api.github.com/users/reggi/events{/privacy}","received_events_url":"https://api.github.com/users/reggi/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T01:58:54Z","updated_at":"2015-08-18T01:58:54Z","body":"@othiym23 Thanks! I'd love a third-party util for cleaning up the package too!\r\n\r\n"}}