{"action":"created","issue":{"url":"https://api.github.com/repos/tastejs/todomvc/issues/1218","labels_url":"https://api.github.com/repos/tastejs/todomvc/issues/1218/labels{/name}","comments_url":"https://api.github.com/repos/tastejs/todomvc/issues/1218/comments","events_url":"https://api.github.com/repos/tastejs/todomvc/issues/1218/events","html_url":"https://github.com/tastejs/todomvc/pull/1218","id":62892497,"number":1218,"title":"Convert TroopJS example","user":{"login":"mikaelkaron","id":478468,"avatar_url":"https://avatars.githubusercontent.com/u/478468?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelkaron","html_url":"https://github.com/mikaelkaron","followers_url":"https://api.github.com/users/mikaelkaron/followers","following_url":"https://api.github.com/users/mikaelkaron/following{/other_user}","gists_url":"https://api.github.com/users/mikaelkaron/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelkaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelkaron/subscriptions","organizations_url":"https://api.github.com/users/mikaelkaron/orgs","repos_url":"https://api.github.com/users/mikaelkaron/repos","events_url":"https://api.github.com/users/mikaelkaron/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelkaron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-03-19T06:24:00Z","updated_at":"2015-03-24T06:33:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tastejs/todomvc/pulls/1218","html_url":"https://github.com/tastejs/todomvc/pull/1218","diff_url":"https://github.com/tastejs/todomvc/pull/1218.diff","patch_url":"https://github.com/tastejs/todomvc/pull/1218.patch"},"body":"Hi.\r\n\r\nWe've started work on converting and think we have something we can share. Note that this is still preliminary code, but we think it's in a state where we are ready for feedback.\r\n\r\nThese are know issues:\r\n\r\n - bower used for packaging vs. npm. Hope this is not a problem.\r\n\r\nThese are outstanding tasks:\r\n\r\n- [X] Update \"completed count\" (pending tastejs/todomvc#1215) [_code is there to update text, hopefylly this will work in the future_]\r\n- [x] Add source comments\r\n- [x] Update readme\r\n- [x] Remove unused vendor files"},"comment":{"url":"https://api.github.com/repos/tastejs/todomvc/issues/comments/85363108","html_url":"https://github.com/tastejs/todomvc/pull/1218#issuecomment-85363108","issue_url":"https://api.github.com/repos/tastejs/todomvc/issues/1218","id":85363108,"user":{"login":"mikaelkaron","id":478468,"avatar_url":"https://avatars.githubusercontent.com/u/478468?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelkaron","html_url":"https://github.com/mikaelkaron","followers_url":"https://api.github.com/users/mikaelkaron/followers","following_url":"https://api.github.com/users/mikaelkaron/following{/other_user}","gists_url":"https://api.github.com/users/mikaelkaron/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelkaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelkaron/subscriptions","organizations_url":"https://api.github.com/users/mikaelkaron/orgs","repos_url":"https://api.github.com/users/mikaelkaron/repos","events_url":"https://api.github.com/users/mikaelkaron/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelkaron/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T06:33:57Z","updated_at":"2015-03-24T06:33:57Z","body":"@samccone If we were to use `napa` for this we'd have to create a `package.json` that looks something like this:\r\n\r\n```json\r\n{\r\n  \"dependencies\": {\r\n    \"jquery\": \"^2\",\r\n    \"when\": \"^3.4\",\r\n    \"poly\": \"git://github.com/cujojs/poly#0.6.0\",\r\n    \"requirejs\": \"^2.1\",\r\n    \"todomvc-app-css\": \"^2\",\r\n    \"todomvc-common\": \"^1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"napa\": \"^1.2.0\"\r\n  },\r\n  \"scripts\": {\r\n    \"install\": \"napa\"\r\n  },\r\n  \"napa\": {\r\n    \"mu-emitter\": \"mu-lib/mu-emitter#0.0.8\",\r\n    \"mu-getargs\": \"mu-lib/mu-getargs#0.0.3\",\r\n    \"mu-merge\": \"mu-lib/mu-merge#0.0.2\",\r\n    \"mu-selector-set\": \"mu-lib/mu-selector-set#1.1.0\",\r\n    \"mu-unique\": \"mu-lib/mu-unique#0.0.5\",\r\n    \"troopjs\": \"troopjs/troopjs#3.0.0-rc.5\",\r\n    \"troopjs-route-hash\": \"troopjs/troopjs-route-hash#1.0.0-rc.3\",\r\n    \"troopjs-widget\": \"troopjs/troopjs-widget#1.0.0-rc.4.2\"\r\n  }\r\n}\r\n```\r\n\r\nHowever it feels like all we're doing is to use `npm` as a fancy downloader and we may as well have created a `package.json` like this:\r\n\r\n```json\r\n{\r\n  \"devDependencies\": {\r\n    \"bower\": \"^1.3\"\r\n  },\r\n  \"scripts\": {\r\n    \"install\": \"bower install\"\r\n  }\r\n}\r\n```"}}