{"action":"opened","number":1857,"pull_request":{"url":"https://api.github.com/repos/Tencent/wepy/pulls/1857","id":224338759,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MzM4NzU5","html_url":"https://github.com/Tencent/wepy/pull/1857","diff_url":"https://github.com/Tencent/wepy/pull/1857.diff","patch_url":"https://github.com/Tencent/wepy/pull/1857.patch","issue_url":"https://api.github.com/repos/Tencent/wepy/issues/1857","number":1857,"state":"open","locked":false,"title":"feat(cli): added before-parser hook","user":{"login":"dlhandsome","id":16918885,"node_id":"MDQ6VXNlcjE2OTE4ODg1","avatar_url":"https://avatars2.githubusercontent.com/u/16918885?v=4","gravatar_id":"","url":"https://api.github.com/users/dlhandsome","html_url":"https://github.com/dlhandsome","followers_url":"https://api.github.com/users/dlhandsome/followers","following_url":"https://api.github.com/users/dlhandsome/following{/other_user}","gists_url":"https://api.github.com/users/dlhandsome/gists{/gist_id}","starred_url":"https://api.github.com/users/dlhandsome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlhandsome/subscriptions","organizations_url":"https://api.github.com/users/dlhandsome/orgs","repos_url":"https://api.github.com/users/dlhandsome/repos","events_url":"https://api.github.com/users/dlhandsome/events{/privacy}","received_events_url":"https://api.github.com/users/dlhandsome/received_events","type":"User","site_admin":false},"body":"##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [ ] `npm run test` passes\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] cases or donate is changed or added\r\n- [ ] documentation is changed or added\r\n\r\n新增 parser 前置钩子，用于做一些parser前的预处理\r\n","created_at":"2018-10-19T16:10:28Z","updated_at":"2018-10-19T16:10:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tencent/wepy/pulls/1857/commits","review_comments_url":"https://api.github.com/repos/Tencent/wepy/pulls/1857/comments","review_comment_url":"https://api.github.com/repos/Tencent/wepy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tencent/wepy/issues/1857/comments","statuses_url":"https://api.github.com/repos/Tencent/wepy/statuses/ef118e66ce44eeac84571cf36c12fc1571ffcb67","head":{"label":"dlhandsome:2.0.x","ref":"2.0.x","sha":"ef118e66ce44eeac84571cf36c12fc1571ffcb67","user":{"login":"dlhandsome","id":16918885,"node_id":"MDQ6VXNlcjE2OTE4ODg1","avatar_url":"https://avatars2.githubusercontent.com/u/16918885?v=4","gravatar_id":"","url":"https://api.github.com/users/dlhandsome","html_url":"https://github.com/dlhandsome","followers_url":"https://api.github.com/users/dlhandsome/followers","following_url":"https://api.github.com/users/dlhandsome/following{/other_user}","gists_url":"https://api.github.com/users/dlhandsome/gists{/gist_id}","starred_url":"https://api.github.com/users/dlhandsome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlhandsome/subscriptions","organizations_url":"https://api.github.com/users/dlhandsome/orgs","repos_url":"https://api.github.com/users/dlhandsome/repos","events_url":"https://api.github.com/users/dlhandsome/events{/privacy}","received_events_url":"https://api.github.com/users/dlhandsome/received_events","type":"User","site_admin":false},"repo":{"id":89077087,"node_id":"MDEwOlJlcG9zaXRvcnk4OTA3NzA4Nw==","name":"wepy","full_name":"dlhandsome/wepy","private":false,"owner":{"login":"dlhandsome","id":16918885,"node_id":"MDQ6VXNlcjE2OTE4ODg1","avatar_url":"https://avatars2.githubusercontent.com/u/16918885?v=4","gravatar_id":"","url":"https://api.github.com/users/dlhandsome","html_url":"https://github.com/dlhandsome","followers_url":"https://api.github.com/users/dlhandsome/followers","following_url":"https://api.github.com/users/dlhandsome/following{/other_user}","gists_url":"https://api.github.com/users/dlhandsome/gists{/gist_id}","starred_url":"https://api.github.com/users/dlhandsome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlhandsome/subscriptions","organizations_url":"https://api.github.com/users/dlhandsome/orgs","repos_url":"https://api.github.com/users/dlhandsome/repos","events_url":"https://api.github.com/users/dlhandsome/events{/privacy}","received_events_url":"https://api.github.com/users/dlhandsome/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dlhandsome/wepy","description":"小程序组件化开发框架","fork":true,"url":"https://api.github.com/repos/dlhandsome/wepy","forks_url":"https://api.github.com/repos/dlhandsome/wepy/forks","keys_url":"https://api.github.com/repos/dlhandsome/wepy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlhandsome/wepy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlhandsome/wepy/teams","hooks_url":"https://api.github.com/repos/dlhandsome/wepy/hooks","issue_events_url":"https://api.github.com/repos/dlhandsome/wepy/issues/events{/number}","events_url":"https://api.github.com/repos/dlhandsome/wepy/events","assignees_url":"https://api.github.com/repos/dlhandsome/wepy/assignees{/user}","branches_url":"https://api.github.com/repos/dlhandsome/wepy/branches{/branch}","tags_url":"https://api.github.com/repos/dlhandsome/wepy/tags","blobs_url":"https://api.github.com/repos/dlhandsome/wepy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlhandsome/wepy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlhandsome/wepy/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlhandsome/wepy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlhandsome/wepy/statuses/{sha}","languages_url":"https://api.github.com/repos/dlhandsome/wepy/languages","stargazers_url":"https://api.github.com/repos/dlhandsome/wepy/stargazers","contributors_url":"https://api.github.com/repos/dlhandsome/wepy/contributors","subscribers_url":"https://api.github.com/repos/dlhandsome/wepy/subscribers","subscription_url":"https://api.github.com/repos/dlhandsome/wepy/subscription","commits_url":"https://api.github.com/repos/dlhandsome/wepy/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlhandsome/wepy/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlhandsome/wepy/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlhandsome/wepy/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlhandsome/wepy/contents/{+path}","compare_url":"https://api.github.com/repos/dlhandsome/wepy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlhandsome/wepy/merges","archive_url":"https://api.github.com/repos/dlhandsome/wepy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlhandsome/wepy/downloads","issues_url":"https://api.github.com/repos/dlhandsome/wepy/issues{/number}","pulls_url":"https://api.github.com/repos/dlhandsome/wepy/pulls{/number}","milestones_url":"https://api.github.com/repos/dlhandsome/wepy/milestones{/number}","notifications_url":"https://api.github.com/repos/dlhandsome/wepy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlhandsome/wepy/labels{/name}","releases_url":"https://api.github.com/repos/dlhandsome/wepy/releases{/id}","deployments_url":"https://api.github.com/repos/dlhandsome/wepy/deployments","created_at":"2017-04-22T14:48:27Z","updated_at":"2018-10-19T16:08:28Z","pushed_at":"2018-10-19T16:08:27Z","git_url":"git://github.com/dlhandsome/wepy.git","ssh_url":"git@github.com:dlhandsome/wepy.git","clone_url":"https://github.com/dlhandsome/wepy.git","svn_url":"https://github.com/dlhandsome/wepy","homepage":"https://wepyjs.github.io/wepy","size":6778,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.0.x"}},"base":{"label":"Tencent:2.0.x","ref":"2.0.x","sha":"fd932732c9da0f905756202e3a4f9b43eb12da11","user":{"login":"Tencent","id":18461506,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDYxNTA2","avatar_url":"https://avatars3.githubusercontent.com/u/18461506?v=4","gravatar_id":"","url":"https://api.github.com/users/Tencent","html_url":"https://github.com/Tencent","followers_url":"https://api.github.com/users/Tencent/followers","following_url":"https://api.github.com/users/Tencent/following{/other_user}","gists_url":"https://api.github.com/users/Tencent/gists{/gist_id}","starred_url":"https://api.github.com/users/Tencent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tencent/subscriptions","organizations_url":"https://api.github.com/users/Tencent/orgs","repos_url":"https://api.github.com/users/Tencent/repos","events_url":"https://api.github.com/users/Tencent/events{/privacy}","received_events_url":"https://api.github.com/users/Tencent/received_events","type":"Organization","site_admin":false},"repo":{"id":73681508,"node_id":"MDEwOlJlcG9zaXRvcnk3MzY4MTUwOA==","name":"wepy","full_name":"Tencent/wepy","private":false,"owner":{"login":"Tencent","id":18461506,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NDYxNTA2","avatar_url":"https://avatars3.githubusercontent.com/u/18461506?v=4","gravatar_id":"","url":"https://api.github.com/users/Tencent","html_url":"https://github.com/Tencent","followers_url":"https://api.github.com/users/Tencent/followers","following_url":"https://api.github.com/users/Tencent/following{/other_user}","gists_url":"https://api.github.com/users/Tencent/gists{/gist_id}","starred_url":"https://api.github.com/users/Tencent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tencent/subscriptions","organizations_url":"https://api.github.com/users/Tencent/orgs","repos_url":"https://api.github.com/users/Tencent/repos","events_url":"https://api.github.com/users/Tencent/events{/privacy}","received_events_url":"https://api.github.com/users/Tencent/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Tencent/wepy","description":"小程序组件化开发框架","fork":false,"url":"https://api.github.com/repos/Tencent/wepy","forks_url":"https://api.github.com/repos/Tencent/wepy/forks","keys_url":"https://api.github.com/repos/Tencent/wepy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tencent/wepy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tencent/wepy/teams","hooks_url":"https://api.github.com/repos/Tencent/wepy/hooks","issue_events_url":"https://api.github.com/repos/Tencent/wepy/issues/events{/number}","events_url":"https://api.github.com/repos/Tencent/wepy/events","assignees_url":"https://api.github.com/repos/Tencent/wepy/assignees{/user}","branches_url":"https://api.github.com/repos/Tencent/wepy/branches{/branch}","tags_url":"https://api.github.com/repos/Tencent/wepy/tags","blobs_url":"https://api.github.com/repos/Tencent/wepy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tencent/wepy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tencent/wepy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tencent/wepy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tencent/wepy/statuses/{sha}","languages_url":"https://api.github.com/repos/Tencent/wepy/languages","stargazers_url":"https://api.github.com/repos/Tencent/wepy/stargazers","contributors_url":"https://api.github.com/repos/Tencent/wepy/contributors","subscribers_url":"https://api.github.com/repos/Tencent/wepy/subscribers","subscription_url":"https://api.github.com/repos/Tencent/wepy/subscription","commits_url":"https://api.github.com/repos/Tencent/wepy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tencent/wepy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tencent/wepy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tencent/wepy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tencent/wepy/contents/{+path}","compare_url":"https://api.github.com/repos/Tencent/wepy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tencent/wepy/merges","archive_url":"https://api.github.com/repos/Tencent/wepy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tencent/wepy/downloads","issues_url":"https://api.github.com/repos/Tencent/wepy/issues{/number}","pulls_url":"https://api.github.com/repos/Tencent/wepy/pulls{/number}","milestones_url":"https://api.github.com/repos/Tencent/wepy/milestones{/number}","notifications_url":"https://api.github.com/repos/Tencent/wepy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tencent/wepy/labels{/name}","releases_url":"https://api.github.com/repos/Tencent/wepy/releases{/id}","deployments_url":"https://api.github.com/repos/Tencent/wepy/deployments","created_at":"2016-11-14T08:06:56Z","updated_at":"2018-10-19T15:39:51Z","pushed_at":"2018-10-19T15:01:54Z","git_url":"git://github.com/Tencent/wepy.git","ssh_url":"git@github.com:Tencent/wepy.git","clone_url":"https://github.com/Tencent/wepy.git","svn_url":"https://github.com/Tencent/wepy","homepage":"https://tencent.github.io/wepy/","size":6310,"stargazers_count":14636,"watchers_count":14636,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2090,"mirror_url":null,"archived":false,"open_issues_count":126,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2090,"open_issues":126,"watchers":14636,"default_branch":"2.0.x"}},"_links":{"self":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1857"},"html":{"href":"https://github.com/Tencent/wepy/pull/1857"},"issue":{"href":"https://api.github.com/repos/Tencent/wepy/issues/1857"},"comments":{"href":"https://api.github.com/repos/Tencent/wepy/issues/1857/comments"},"review_comments":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1857/comments"},"review_comment":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tencent/wepy/pulls/1857/commits"},"statuses":{"href":"https://api.github.com/repos/Tencent/wepy/statuses/ef118e66ce44eeac84571cf36c12fc1571ffcb67"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":27,"deletions":3,"changed_files":6}}
{"actor":{"display_login":"dlhandsome"}}