{"id":18484151,"url":"https://github.com/jdf2e/yg_cli","last_synced_at":"2026-03-16T12:02:19.197Z","repository":{"id":57403662,"uuid":"139087283","full_name":"jdf2e/yg_cli","owner":"jdf2e","description":"云构平台-cli","archived":false,"fork":false,"pushed_at":"2018-11-08T11:36:19.000Z","size":164,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"dev","last_synced_at":"2025-03-21T18:02:08.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdf2e.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-29T01:45:27.000Z","updated_at":"2023-01-28T00:34:08.000Z","dependencies_parsed_at":"2022-09-04T08:01:03.084Z","dependency_job_id":null,"html_url":"https://github.com/jdf2e/yg_cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fyg_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fyg_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fyg_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fyg_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdf2e","download_url":"https://codeload.github.com/jdf2e/yg_cli/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247902746,"owners_count":21015508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T12:38:44.936Z","updated_at":"2026-03-16T12:02:19.116Z","avatar_url":"https://github.com/jdf2e.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 前端云构建平台\r\n\r\n云构平台(简称), 给前端代码工程提供了舒适独立的编译环境，它是一个基础服务, 你可以用它作\r\n\r\n  * 本地编码，云上编译\r\n  * 跨端实时调试预览\r\n  * 打开浏览器就可以编码的移动办公\r\n\r\n# yg-cli\r\n\r\n一个可以把本地工程（Vue、React）交由云构平台进行编译的Cli\r\n\r\n## 安装使用\r\n```\r\n    npm install yg-cli -g\r\n```\r\n  * cd 到 工程目录下（Vue、 React工程）,在服务端中安装依赖\r\n```\r\n    yg npm install\r\n```\r\n  * 安装完成后，直接启动（等同于本地 npm run dev 命令）\r\n```\r\n    yg start\r\n```\r\n  * 打开浏览输入 http://yg.jd.com:端口号 即可预览\r\n\r\n  * 支持 program api\r\n```\r\n  const yg = require('yg-cli/index')\r\n```  \r\n## 更多操作\r\n    详见 yg -h\r\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdf2e%2Fyg_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdf2e%2Fyg_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdf2e%2Fyg_cli/lists"}