{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/699","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/699/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/699/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/699/events","html_url":"https://github.com/jspm/jspm-cli/issues/699","id":69795990,"number":699,"title":"Wrong interpretation of \"directories\" in package.json","user":{"login":"smehrbrodt","id":3502738,"avatar_url":"https://avatars.githubusercontent.com/u/3502738?v=3","gravatar_id":"","url":"https://api.github.com/users/smehrbrodt","html_url":"https://github.com/smehrbrodt","followers_url":"https://api.github.com/users/smehrbrodt/followers","following_url":"https://api.github.com/users/smehrbrodt/following{/other_user}","gists_url":"https://api.github.com/users/smehrbrodt/gists{/gist_id}","starred_url":"https://api.github.com/users/smehrbrodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smehrbrodt/subscriptions","organizations_url":"https://api.github.com/users/smehrbrodt/orgs","repos_url":"https://api.github.com/users/smehrbrodt/repos","events_url":"https://api.github.com/users/smehrbrodt/events{/privacy}","received_events_url":"https://api.github.com/users/smehrbrodt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jspm/jspm-cli/labels/support","name":"support","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-21T09:33:38Z","updated_at":"2015-04-21T11:15:24Z","closed_at":"2015-04-21T11:15:24Z","body":"I tried to install CodeMirror with JSPM: `jspm install github:codemirror/CodeMirror`\r\nThis downloads only the \"lib/\" folder, all other folders are missing. When you remove the [directories property](https://github.com/codemirror/CodeMirror/blob/master/package.json#L8), it works perfectly.\r\n\r\nThis is not the expected behavior. `npm install codemirror` downloads the whole repository. The `directories` section should not limit the files which are downloaded."},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/94749413","html_url":"https://github.com/jspm/jspm-cli/issues/699#issuecomment-94749413","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/699","id":94749413,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T11:15:24Z","updated_at":"2015-04-21T11:15:24Z","body":"Actually this isn't supposed to happen at all. Posted a bug at https://github.com/jspm/npm/issues/59."}}