{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4931","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4931/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4931/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4931/events","html_url":"https://github.com/ember-cli/ember-cli/pull/4931","id":109620024,"number":4931,"title":"[Feature] Clean command","user":{"login":"beatle","id":875361,"avatar_url":"https://avatars.githubusercontent.com/u/875361?v=3","gravatar_id":"","url":"https://api.github.com/users/beatle","html_url":"https://github.com/beatle","followers_url":"https://api.github.com/users/beatle/followers","following_url":"https://api.github.com/users/beatle/following{/other_user}","gists_url":"https://api.github.com/users/beatle/gists{/gist_id}","starred_url":"https://api.github.com/users/beatle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beatle/subscriptions","organizations_url":"https://api.github.com/users/beatle/orgs","repos_url":"https://api.github.com/users/beatle/repos","events_url":"https://api.github.com/users/beatle/events{/privacy}","received_events_url":"https://api.github.com/users/beatle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-03T12:01:39Z","updated_at":"2015-10-20T22:07:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4931","html_url":"https://github.com/ember-cli/ember-cli/pull/4931","diff_url":"https://github.com/ember-cli/ember-cli/pull/4931.diff","patch_url":"https://github.com/ember-cli/ember-cli/pull/4931.patch"},"body":"Hi all,\r\n\r\nIdea originated from here #4819 \r\n\r\nYeah, it took more time than I could expect.\r\nNevertheless it looks like now we can use `npm run clean` to clean up our ember apps.\r\nThe `ember clean` command handles `--skip-npm` and `--skip-bower` flags.\r\nYou can also specify `--output-path` to customize dist/ folder path.\r\n\r\nCurrently we don't have any acceptance tests covering for npm/bower cache clean functionality.\r\nI've tried to set custom cache directory for `npm` to test `npm cache clean` feature. \r\nUnfortunately seems like nor `npm.load()` neither `lib/utilities/npm` takes in account `cache` setting in the project's `.npmrc`. under investigation"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/149716690","html_url":"https://github.com/ember-cli/ember-cli/pull/4931#issuecomment-149716690","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4931","id":149716690,"user":{"login":"elwayman02","id":1325482,"avatar_url":"https://avatars.githubusercontent.com/u/1325482?v=3","gravatar_id":"","url":"https://api.github.com/users/elwayman02","html_url":"https://github.com/elwayman02","followers_url":"https://api.github.com/users/elwayman02/followers","following_url":"https://api.github.com/users/elwayman02/following{/other_user}","gists_url":"https://api.github.com/users/elwayman02/gists{/gist_id}","starred_url":"https://api.github.com/users/elwayman02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwayman02/subscriptions","organizations_url":"https://api.github.com/users/elwayman02/orgs","repos_url":"https://api.github.com/users/elwayman02/repos","events_url":"https://api.github.com/users/elwayman02/events{/privacy}","received_events_url":"https://api.github.com/users/elwayman02/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T22:07:27Z","updated_at":"2015-10-20T22:07:27Z","body":"@beatle is the PR otherwise ready to go, or?"}}