{"action":"closed","issue":{"url":"https://api.github.com/repos/bahmutov/pre-git/issues/34","labels_url":"https://api.github.com/repos/bahmutov/pre-git/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/bahmutov/pre-git/issues/34/comments","events_url":"https://api.github.com/repos/bahmutov/pre-git/issues/34/events","html_url":"https://github.com/bahmutov/pre-git/issues/34","id":98423793,"number":34,"title":"package.json in a different folder ","user":{"login":"killanaca","id":157641,"avatar_url":"https://avatars.githubusercontent.com/u/157641?v=3","gravatar_id":"","url":"https://api.github.com/users/killanaca","html_url":"https://github.com/killanaca","followers_url":"https://api.github.com/users/killanaca/followers","following_url":"https://api.github.com/users/killanaca/following{/other_user}","gists_url":"https://api.github.com/users/killanaca/gists{/gist_id}","starred_url":"https://api.github.com/users/killanaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killanaca/subscriptions","organizations_url":"https://api.github.com/users/killanaca/orgs","repos_url":"https://api.github.com/users/killanaca/repos","events_url":"https://api.github.com/users/killanaca/events{/privacy}","received_events_url":"https://api.github.com/users/killanaca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bahmutov/pre-git/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T16:25:16Z","updated_at":"2015-11-09T15:09:41Z","closed_at":"2015-11-09T15:09:41Z","body":"hi\r\nit's possible to support a package.json file in a folder different from the folder that contains .git?\r\nsomething like this:\r\n\r\n.git\r\nextra\r\nproject_one/package.json\r\nproject_two\r\nlib\r\n\r\nBecause at the moment when i run git commit from the root folder, pre-common.js fails with this message:\r\npre-commit An Error was thrown: RangeError: Maximum call stack size exceeded\r\n(it cant find package.json in project_one i suppose)\r\n\r\nthanks"}}