{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/cooking/issues/66","repository_url":"https://api.github.com/repos/ElemeFE/cooking","labels_url":"https://api.github.com/repos/ElemeFE/cooking/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/cooking/issues/66/comments","events_url":"https://api.github.com/repos/ElemeFE/cooking/issues/66/events","html_url":"https://github.com/ElemeFE/cooking/issues/66","id":171805689,"number":66,"title":"支持将 cooking 安装在项目里","user":{"login":"QingWei-Li","id":7565692,"avatar_url":"https://avatars.githubusercontent.com/u/7565692?v=3","gravatar_id":"","url":"https://api.github.com/users/QingWei-Li","html_url":"https://github.com/QingWei-Li","followers_url":"https://api.github.com/users/QingWei-Li/followers","following_url":"https://api.github.com/users/QingWei-Li/following{/other_user}","gists_url":"https://api.github.com/users/QingWei-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/QingWei-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QingWei-Li/subscriptions","organizations_url":"https://api.github.com/users/QingWei-Li/orgs","repos_url":"https://api.github.com/users/QingWei-Li/repos","events_url":"https://api.github.com/users/QingWei-Li/events{/privacy}","received_events_url":"https://api.github.com/users/QingWei-Li/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ElemeFE/cooking/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-18T02:42:25Z","updated_at":"2016-08-18T03:53:54Z","closed_at":null,"body":"\r\n目前 cooking 只能全局安装，但是随着版本迭代，也出现了需要使用不同版本依赖的问题。因此从下一版开始将支持安装 cooking 在本地项目。\r\n\r\n\r\n\r\n## 支持版本 0.7.0 和 1.0.0\r\n\r\n计划是 1.0.0 只提供 webpack 2，0.7.x 只提供 webpack 1。同时如果安装在项目里的话，自动安装的 cooking 依赖将会保存在 `package.json` 中。**并不能使用全局的 cooking 依赖**。同时也可以自己管理依赖的其他版本。"},"comment":{"url":"https://api.github.com/repos/ElemeFE/cooking/issues/comments/240617429","html_url":"https://github.com/ElemeFE/cooking/issues/66#issuecomment-240617429","issue_url":"https://api.github.com/repos/ElemeFE/cooking/issues/66","id":240617429,"user":{"login":"QingWei-Li","id":7565692,"avatar_url":"https://avatars.githubusercontent.com/u/7565692?v=3","gravatar_id":"","url":"https://api.github.com/users/QingWei-Li","html_url":"https://github.com/QingWei-Li","followers_url":"https://api.github.com/users/QingWei-Li/followers","following_url":"https://api.github.com/users/QingWei-Li/following{/other_user}","gists_url":"https://api.github.com/users/QingWei-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/QingWei-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QingWei-Li/subscriptions","organizations_url":"https://api.github.com/users/QingWei-Li/orgs","repos_url":"https://api.github.com/users/QingWei-Li/repos","events_url":"https://api.github.com/users/QingWei-Li/events{/privacy}","received_events_url":"https://api.github.com/users/QingWei-Li/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T03:53:54Z","updated_at":"2016-08-18T03:53:54Z","body":"@furybean 我是使用 nvm 切换环境，来安装不同版本的 cooking。如果全局安装的话似乎没办法让两个版本共存，除非换不同的命令名？比如 cooking 和 cooking-next ?"}}
{"actor":{"display_login":"QingWei-Li"}}