{"id":15567790,"url":"https://github.com/yanghuanrong/relaxcli","last_synced_at":"2025-10-23T21:46:37.207Z","repository":{"id":88570585,"uuid":"93584189","full_name":"yanghuanrong/RelaxCli","owner":"yanghuanrong","description":"🛴 脚手架，基于webpack5，专注组件库快速搭建","archived":false,"fork":false,"pushed_at":"2021-10-16T14:41:01.000Z","size":89,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T00:04:37.782Z","etag":null,"topics":["cli","nodejs","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanghuanrong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-07T02:35:01.000Z","updated_at":"2023-11-30T11:47:14.000Z","dependencies_parsed_at":"2023-02-28T19:00:31.707Z","dependency_job_id":null,"html_url":"https://github.com/yanghuanrong/RelaxCli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanghuanrong/RelaxCli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghuanrong%2FRelaxCli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghuanrong%2FRelaxCli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghuanrong%2FRelaxCli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghuanrong%2FRelaxCli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanghuanrong","download_url":"https://codeload.github.com/yanghuanrong/RelaxCli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanghuanrong%2FRelaxCli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002359,"owners_count":26083357,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","nodejs","webpack"],"created_at":"2024-10-02T17:13:09.892Z","updated_at":"2025-10-10T00:34:02.193Z","avatar_url":"https://github.com/yanghuanrong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RelaxCli\n\n脚手架，基于webpack5，专注组件库快速搭建\n\n### 理念\n\n开发者只需关注组件本身的逻辑。编写维护组件代码、样式代码、示例文件。\n\n### 配置\n\n`cli.config.js` 是项目的配置文件，目前提供了几个选项进行配置\n\n| 参数     | 类型   | 必填 | 说明   |\n| -------- | ------ | ---- | ------ |\n| title | string | 是   | 页面标题 |\n| prefix | string | 是   | 组件名称前缀   |\n| autoFile | boolean | 否 | 默认`true`, 自动生成文件 |\n| webpack | object | 是 | webpack配置，会被合并进入配置中 |\n\n### 命令\n\n- [ ]  `create \u003cname\u003e` 创建项目\n- [x] `serve` 启动开发\n- [x] `build` 打包文档\n- [ ] `build:ui` 打包组件\n- [x] `help` 帮助信息\n- [x] `-V` 版本信息\n\n### 便捷\n\n`RelaxCli`会对`packages`目录进行监听，在`packages`下面创建新目录，当文件夹名称符合组件名要求的时候会在文件夹下面自动创建对应的`vue`,`js`,`md`,`less`文件。并且会自动注册路由，加载入组件菜单，会将样式文件自动导入到公有组件样式中。\n\n## 自由\n\n千人千面。`examples`示例是一个标准且极其简单的vue项目，可以由开发者自主定制符合自己组件视觉的文档\n\n## 期望\n\n预期支持vue2、vue3，目前支持vue2。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanghuanrong%2Frelaxcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanghuanrong%2Frelaxcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanghuanrong%2Frelaxcli/lists"}