{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2346","repository_url":"https://api.github.com/repos/NativeScript/nativescript-cli","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2346/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2346/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2346/events","html_url":"https://github.com/NativeScript/nativescript-cli/pull/2346","id":195193952,"number":2346,"title":"delete all unnecessary keys from app/package.json","user":{"login":"Plamen5kov","id":5918351,"avatar_url":"https://avatars.githubusercontent.com/u/5918351?v=3","gravatar_id":"","url":"https://api.github.com/users/Plamen5kov","html_url":"https://github.com/Plamen5kov","followers_url":"https://api.github.com/users/Plamen5kov/followers","following_url":"https://api.github.com/users/Plamen5kov/following{/other_user}","gists_url":"https://api.github.com/users/Plamen5kov/gists{/gist_id}","starred_url":"https://api.github.com/users/Plamen5kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plamen5kov/subscriptions","organizations_url":"https://api.github.com/users/Plamen5kov/orgs","repos_url":"https://api.github.com/users/Plamen5kov/repos","events_url":"https://api.github.com/users/Plamen5kov/events{/privacy}","received_events_url":"https://api.github.com/users/Plamen5kov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Plamen5kov","id":5918351,"avatar_url":"https://avatars.githubusercontent.com/u/5918351?v=3","gravatar_id":"","url":"https://api.github.com/users/Plamen5kov","html_url":"https://github.com/Plamen5kov","followers_url":"https://api.github.com/users/Plamen5kov/followers","following_url":"https://api.github.com/users/Plamen5kov/following{/other_user}","gists_url":"https://api.github.com/users/Plamen5kov/gists{/gist_id}","starred_url":"https://api.github.com/users/Plamen5kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plamen5kov/subscriptions","organizations_url":"https://api.github.com/users/Plamen5kov/orgs","repos_url":"https://api.github.com/users/Plamen5kov/repos","events_url":"https://api.github.com/users/Plamen5kov/events{/privacy}","received_events_url":"https://api.github.com/users/Plamen5kov/received_events","type":"User","site_admin":false},"assignees":[{"login":"Plamen5kov","id":5918351,"avatar_url":"https://avatars.githubusercontent.com/u/5918351?v=3","gravatar_id":"","url":"https://api.github.com/users/Plamen5kov","html_url":"https://github.com/Plamen5kov","followers_url":"https://api.github.com/users/Plamen5kov/followers","following_url":"https://api.github.com/users/Plamen5kov/following{/other_user}","gists_url":"https://api.github.com/users/Plamen5kov/gists{/gist_id}","starred_url":"https://api.github.com/users/Plamen5kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plamen5kov/subscriptions","organizations_url":"https://api.github.com/users/Plamen5kov/orgs","repos_url":"https://api.github.com/users/Plamen5kov/repos","events_url":"https://api.github.com/users/Plamen5kov/events{/privacy}","received_events_url":"https://api.github.com/users/Plamen5kov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/45","html_url":"https://github.com/NativeScript/nativescript-cli/milestone/45","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/45/labels","id":2136053,"number":45,"title":"2.5.0","description":"","creator":{"login":"tzraikov","id":3244426,"avatar_url":"https://avatars.githubusercontent.com/u/3244426?v=3","gravatar_id":"","url":"https://api.github.com/users/tzraikov","html_url":"https://github.com/tzraikov","followers_url":"https://api.github.com/users/tzraikov/followers","following_url":"https://api.github.com/users/tzraikov/following{/other_user}","gists_url":"https://api.github.com/users/tzraikov/gists{/gist_id}","starred_url":"https://api.github.com/users/tzraikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzraikov/subscriptions","organizations_url":"https://api.github.com/users/tzraikov/orgs","repos_url":"https://api.github.com/users/tzraikov/repos","events_url":"https://api.github.com/users/tzraikov/events{/privacy}","received_events_url":"https://api.github.com/users/tzraikov/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":34,"state":"open","created_at":"2016-11-15T08:37:30Z","updated_at":"2016-12-19T07:38:04Z","due_on":"2017-11-18T08:00:00Z","closed_at":null},"comments":3,"created_at":"2016-12-13T08:49:41Z","updated_at":"2016-12-20T12:12:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/pulls/2346","html_url":"https://github.com/NativeScript/nativescript-cli/pull/2346","diff_url":"https://github.com/NativeScript/nativescript-cli/pull/2346.diff","patch_url":"https://github.com/NativeScript/nativescript-cli/pull/2346.patch"},"body":"See [issue](https://github.com/NativeScript/nativescript-cli/issues/2301) for more info.\r\n\r\n_Problem_\r\nPeople get confused because there are two `package.json` files, one in the root folder and one in `app/` folder. The two `package.json` files have the same dependencies and devDependencies, which is the main reason for the confusion.\r\n\r\n_Solution_ \r\nThe solution discussed with @valentinstoychev was to keep the `app/package.json` as simple as possible, and if possible to add some comments to each key in the `app/package.json` to explain what is the purpose of it. Because there are no comments in the `.json` format, IMO it's best to describe the functionality in the documentation.\r\n\r\nThis PR is not final and is only one possible solution. We can decide we want to apply different solution to the problem later on after a discussion. This is simply an easy fix.\r\n\r\nCurrently we keep only the `name`, `main`, `version` and `android` keys in the `app/package.json` if anyone thinks we should exclude or include more keys, please comment this PR or [this](https://github.com/NativeScript/nativescript-cli/issues/2301) issue."},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/268228419","html_url":"https://github.com/NativeScript/nativescript-cli/pull/2346#issuecomment-268228419","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/2346","id":268228419,"user":{"login":"Plamen5kov","id":5918351,"avatar_url":"https://avatars.githubusercontent.com/u/5918351?v=3","gravatar_id":"","url":"https://api.github.com/users/Plamen5kov","html_url":"https://github.com/Plamen5kov","followers_url":"https://api.github.com/users/Plamen5kov/followers","following_url":"https://api.github.com/users/Plamen5kov/following{/other_user}","gists_url":"https://api.github.com/users/Plamen5kov/gists{/gist_id}","starred_url":"https://api.github.com/users/Plamen5kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Plamen5kov/subscriptions","organizations_url":"https://api.github.com/users/Plamen5kov/orgs","repos_url":"https://api.github.com/users/Plamen5kov/repos","events_url":"https://api.github.com/users/Plamen5kov/events{/privacy}","received_events_url":"https://api.github.com/users/Plamen5kov/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T12:12:34Z","updated_at":"2016-12-20T12:12:34Z","body":"run CI"}}
{"actor":{"display_login":"Plamen5kov"}}