{"action":"opened","issue":{"url":"https://api.github.com/repos/sourcejs/Source/issues/145","labels_url":"https://api.github.com/repos/sourcejs/Source/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/sourcejs/Source/issues/145/comments","events_url":"https://api.github.com/repos/sourcejs/Source/issues/145/events","html_url":"https://github.com/sourcejs/Source/issues/145","id":77044871,"number":145,"title":"Use SourceJS for describing separate UI components","user":{"login":"operatino","id":1260461,"avatar_url":"https://avatars.githubusercontent.com/u/1260461?v=3","gravatar_id":"","url":"https://api.github.com/users/operatino","html_url":"https://github.com/operatino","followers_url":"https://api.github.com/users/operatino/followers","following_url":"https://api.github.com/users/operatino/following{/other_user}","gists_url":"https://api.github.com/users/operatino/gists{/gist_id}","starred_url":"https://api.github.com/users/operatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operatino/subscriptions","organizations_url":"https://api.github.com/users/operatino/orgs","repos_url":"https://api.github.com/users/operatino/repos","events_url":"https://api.github.com/users/operatino/events{/privacy}","received_events_url":"https://api.github.com/users/operatino/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sourcejs/Source/labels/new%20feature","name":"new feature","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sourcejs/Source/milestones/5","html_url":"https://github.com/sourcejs/Source/milestones/0.6.x","labels_url":"https://api.github.com/repos/sourcejs/Source/milestones/5/labels","id":990442,"number":5,"title":"0.6.x","description":"","creator":{"login":"operatino","id":1260461,"avatar_url":"https://avatars.githubusercontent.com/u/1260461?v=3","gravatar_id":"","url":"https://api.github.com/users/operatino","html_url":"https://github.com/operatino","followers_url":"https://api.github.com/users/operatino/followers","following_url":"https://api.github.com/users/operatino/following{/other_user}","gists_url":"https://api.github.com/users/operatino/gists{/gist_id}","starred_url":"https://api.github.com/users/operatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operatino/subscriptions","organizations_url":"https://api.github.com/users/operatino/orgs","repos_url":"https://api.github.com/users/operatino/repos","events_url":"https://api.github.com/users/operatino/events{/privacy}","received_events_url":"https://api.github.com/users/operatino/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-02-22T23:27:54Z","updated_at":"2015-05-16T13:54:17Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-16T13:54:17Z","updated_at":"2015-05-16T13:54:17Z","closed_at":null,"body":"Currently SourceJS expects to have a basic set-up with custom configured `user` folder. This is great for building collaborative component libraries and Style Guides, but is a bit complicated for defining stand-alone component (or bundle) documentation.\r\n\r\n**Example usecase:**\r\nDeveloper creates a React Component to be shared with the open source community. In his team, he could add this component to common SourceJS set-up. But for those, who don't have this common SourceJS set-up, this component documentation won't be available. \r\n\r\nAny SourceJS compliant component should have an easy way of running visual documentation environment with few commands.\r\n\r\n**Intended workflow:**\r\n```\r\ngit clone <stand-alone-component> && cd stand-alone-component\r\nsourcejs run [or npm start]\r\nopen http://localhost:8080\r\n```\r\n\r\nThis feature will require an ability to install SourceJS as npm dependency, and use only default settings, without relying on any configuration. Preferably to have SourceJS CLI #144.\r\n\r\nIf SourceJS will always require some basic set-up, we can create a basic Gulp initialization plugin, which will prepare all default configs and run the engine."}}