{"action":"created","issue":{"url":"https://api.github.com/repos/limonte/sweetalert2/issues/167","repository_url":"https://api.github.com/repos/limonte/sweetalert2","labels_url":"https://api.github.com/repos/limonte/sweetalert2/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/limonte/sweetalert2/issues/167/comments","events_url":"https://api.github.com/repos/limonte/sweetalert2/issues/167/events","html_url":"https://github.com/limonte/sweetalert2/issues/167","id":159420385,"number":167,"title":"Post-Install script incompatible with docker","user":{"login":"macpham","id":1777724,"avatar_url":"https://avatars.githubusercontent.com/u/1777724?v=3","gravatar_id":"","url":"https://api.github.com/users/macpham","html_url":"https://github.com/macpham","followers_url":"https://api.github.com/users/macpham/followers","following_url":"https://api.github.com/users/macpham/following{/other_user}","gists_url":"https://api.github.com/users/macpham/gists{/gist_id}","starred_url":"https://api.github.com/users/macpham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macpham/subscriptions","organizations_url":"https://api.github.com/users/macpham/orgs","repos_url":"https://api.github.com/users/macpham/repos","events_url":"https://api.github.com/users/macpham/events{/privacy}","received_events_url":"https://api.github.com/users/macpham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T14:22:12Z","updated_at":"2016-06-10T07:37:46Z","closed_at":"2016-06-10T07:33:13Z","body":"We're using your library in our app that is running in a docker container. The post-install script relies on a .git file shouldn't be in our container.\r\n\r\n```\r\n> sweetalert2@3.3.4 postinstall /usr/src/app/node_modules/sweetalert2\r\n> git ls-files dist | tr '\\n' ' ' | xargs git update-index --assume-unchanged\r\nfatal: Not a git repository (or any of the parent directories): .git\r\nfatal: Not a git repository (or any of the parent directories): .git\r\nnpm WARN optional Skipping failed optional dependency /chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12\r\n```\r\n\r\nCan you make this `postinstall` conditional so we can skip it for our usage please?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/limonte/sweetalert2/issues/comments/225113791","html_url":"https://github.com/limonte/sweetalert2/issues/167#issuecomment-225113791","issue_url":"https://api.github.com/repos/limonte/sweetalert2/issues/167","id":225113791,"user":{"login":"limonte","id":6059356,"avatar_url":"https://avatars.githubusercontent.com/u/6059356?v=3","gravatar_id":"","url":"https://api.github.com/users/limonte","html_url":"https://github.com/limonte","followers_url":"https://api.github.com/users/limonte/followers","following_url":"https://api.github.com/users/limonte/following{/other_user}","gists_url":"https://api.github.com/users/limonte/gists{/gist_id}","starred_url":"https://api.github.com/users/limonte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limonte/subscriptions","organizations_url":"https://api.github.com/users/limonte/orgs","repos_url":"https://api.github.com/users/limonte/repos","events_url":"https://api.github.com/users/limonte/events{/privacy}","received_events_url":"https://api.github.com/users/limonte/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T07:37:46Z","updated_at":"2016-06-10T07:37:46Z","body":"Hi @macpham and thank you for reporting this! Should be fixed in latest version."}}
{"actor":{"display_login":"limonte"}}