{"id":20152548,"url":"https://github.com/fe6/component-template","last_synced_at":"2026-03-04T02:01:14.521Z","repository":{"id":95245256,"uuid":"130169605","full_name":"fe6/component-template","owner":"fe6","description":"组件库模板","archived":false,"fork":false,"pushed_at":"2018-06-15T08:06:27.000Z","size":379,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-06T03:40:50.974Z","etag":null,"topics":[],"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/fe6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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":"2018-04-19T06:34:32.000Z","updated_at":"2018-10-09T11:48:46.000Z","dependencies_parsed_at":"2023-04-06T15:48:11.055Z","dependency_job_id":null,"html_url":"https://github.com/fe6/component-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fe6/component-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fcomponent-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fcomponent-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fcomponent-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fcomponent-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fe6","download_url":"https://codeload.github.com/fe6/component-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fe6%2Fcomponent-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30069219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","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":[],"created_at":"2024-11-13T23:12:26.168Z","updated_at":"2026-03-04T02:01:14.511Z","avatar_url":"https://github.com/fe6.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 组件库模板\n\n\u003e Vue.js 组件库模板\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/fe6/component-template.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/fe6/component-template.svg?branch=master)](https://travis-ci.org/fe6/component-template)\n[![Codecov 单元测试覆盖率](https://img.shields.io/codecov/c/github/fe6/component-template/master.svg?style=flat)](https://codecov.io/gh/fe6/component-template/branch/master)\n\n![GitHub language count](https://img.shields.io/github/languages/count/fe6/component-template.svg)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/fe6/component-template.svg)\n[![Fork component-template](https://img.shields.io/github/forks/fe6/component-template.svg?style=flat\u0026label=Fork)](https://github.com/fe6/component-template/fork) [![Star component-template](https://img.shields.io/github/stars/fe6/component-template.svg?style=flat\u0026label=Star)](https://github.com/fe6/component-template/stargazers)\n[![watchers in component-template](https://img.shields.io/github/watchers/fe6/component-template.svg?style=flat\u0026label=Watch)](https://github.com/fe6/component-template/watchers)\n\n[![Sauce Labs Test Status (for master branch)](https://badges.herokuapp.com/browsers?googlechrome=7\u0026firefox=7\u0026microsoftedge=10\u0026iexplore=9\u0026safari=10.10)](https://saucelabs.com/u/_wmhilton)\n\n\n## 特性\n\n- 提炼自企业级中后台产品的交互语言和视觉风格。\n- 开箱即用的高质量 Vue.js 组件。\n- 全链路开发和设计工具体系。\n- 按需加载系统。\n\n## 需要的环境\n\n- node.js \u003e= 9.0.0\n- npm \u003e= 5.0.0\n\n## 常用命令 ( package.json 的 scripts 中可以找到所有命令)\n\n``` bash\n# 安装依赖( package.json 中的 dependencies 部分 ) dependencies\nnpm install\n\n# development 环境的本地热加载服务，访问地址: localhost:8080\n# 在 config 中修改端口号\nnpm start\n\n# 利用 jest 单元测试\nnpm test\n\n# 打包组件库\nnpm run build\n\n# 打包官网\nnpm run build:site\n\n# 打包官网，打包并查看捆绑分析器报表\nnpm run build --report\n\n# JavaScript 的代码规范监测\nnpm run eslint\n\n# style 的代码规范监测\nnpm run stylelint\n\n# 进行 style 和 JavaScript 的规范检测\nnpm run lint-staged\n\n# 上传单元测试覆盖率报告\nnpm run codecov\n```\n\n## 说明\n\n本仓库是用脚手架 [fecli](https://github.com/fe6/fecli)，结合 [component-template](https://github.com/fe6/component-template) 模板生成的。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffe6%2Fcomponent-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffe6%2Fcomponent-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffe6%2Fcomponent-template/lists"}