{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron-docs-linter/issues/68","repository_url":"https://api.github.com/repos/electron/electron-docs-linter","labels_url":"https://api.github.com/repos/electron/electron-docs-linter/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron-docs-linter/issues/68/comments","events_url":"https://api.github.com/repos/electron/electron-docs-linter/issues/68/events","html_url":"https://github.com/electron/electron-docs-linter/pull/68","id":186582536,"number":68,"title":"Ignore vendor and tests when publish","user":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-01T16:40:58Z","updated_at":"2016-11-01T17:39:22Z","closed_at":"2016-11-01T17:39:13Z","pull_request":{"url":"https://api.github.com/repos/electron/electron-docs-linter/pulls/68","html_url":"https://github.com/electron/electron-docs-linter/pull/68","diff_url":"https://github.com/electron/electron-docs-linter/pull/68.diff","patch_url":"https://github.com/electron/electron-docs-linter/pull/68.patch"},"body":"This pull request switches the submodule update to be done on `prepublish` so it happens when running `npm install` with no arguments instead of a `postinstall` so that `npm install electron-docs-linter` does not recursively clone electron.\r\n\r\nCurrently in electron/electron `node_modules` folder:\r\n\r\n```sh\r\ndu -sh node_modules/electron-docs-linter\r\n297M\tnode_modules/electron-docs-linter\r\n```\r\n\r\nAlso adds an `.npmignore` file which shrinks the tarball generated via `npm pack .` from `58MB` to `10KB`.\r\n\r\n/cc @zeke "},"comment":{"url":"https://api.github.com/repos/electron/electron-docs-linter/issues/comments/257635653","html_url":"https://github.com/electron/electron-docs-linter/pull/68#issuecomment-257635653","issue_url":"https://api.github.com/repos/electron/electron-docs-linter/issues/68","id":257635653,"user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":true},"created_at":"2016-11-01T17:39:22Z","updated_at":"2016-11-01T17:39:22Z","body":"![orson_wells_slow-clap](https://cloud.githubusercontent.com/assets/2289/19900038/680630e6-a01f-11e6-87a7-78a9d68d8376.gif)\r\n"}}
{"actor":{"display_login":"zeke"}}