{"id":13564516,"url":"https://github.com/fex-team/fis3","last_synced_at":"2025-05-14T04:07:58.662Z","repository":{"id":28427838,"uuid":"31942738","full_name":"fex-team/fis3","owner":"fex-team","description":"FIS3","archived":false,"fork":false,"pushed_at":"2024-02-03T05:24:05.000Z","size":31024,"stargazers_count":2790,"open_issues_count":528,"forks_count":689,"subscribers_count":188,"default_branch":"master","last_synced_at":"2025-05-04T09:34:19.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fis.baidu.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fex-team.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2015-03-10T06:53:39.000Z","updated_at":"2025-04-20T03:04:01.000Z","dependencies_parsed_at":"2024-06-18T12:26:05.627Z","dependency_job_id":"9c12da3c-ff0c-4b81-95e9-03d352cf752b","html_url":"https://github.com/fex-team/fis3","commit_stats":{"total_commits":1214,"total_committers":59,"mean_commits":"20.576271186440678","dds":0.5873146622734762,"last_synced_commit":"ae540445226df219a8c1ed54265536fe603f4010"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fex-team%2Ffis3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fex-team%2Ffis3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fex-team%2Ffis3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fex-team%2Ffis3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fex-team","download_url":"https://codeload.github.com/fex-team/fis3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253592890,"owners_count":21932900,"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-08-01T13:01:32.431Z","updated_at":"2025-05-14T04:07:53.625Z","avatar_url":"https://github.com/fex-team.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","NodeJS","{{ Builder }}"],"sub_categories":[],"readme":"![](https://raw.githubusercontent.com/fex-team/fis3/master/doc/logo.png)\n\n# FIS3\n![](https://img.shields.io/npm/v/fis3.svg) ![](https://img.shields.io/npm/dm/fis3.svg)\n[![Build Status](https://travis-ci.org/fex-team/fis3.svg?branch=master)](https://travis-ci.org/fex-team/fis3)\n[![Coverage Status](https://coveralls.io/repos/fex-team/fis3/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/fex-team/fis3?branch=master)\n[![](https://david-dm.org/fex-team/fis3/status.svg)](https://david-dm.org/fex-team/fis3)\n\nFIS3 面向**前端**的**工程构建系统**。解决前端工程中性能优化、资源加载（异步、同步、按需、预加载、依赖管理、合并、内嵌）、模块化开发、自动化工具、开发规范、代码部署等问题。\n\n\u003e 如果对FIS先有些了解，但理解不深的，可试着带着这句话去看文档 \u003cbr\u003e\n\u003e FIS3 会在配置文件中给文件添加相应属性，用于控制文件的编译、合并等各种操作；文件属性包括基本属性和插件属性，[详细请参考](https://github.com/fex-team/fis3/blob/master/doc/docs/api/config-props.md#文件属性)\n\n```bash\nnpm install -g fis3\n```\n\n**如果 Node 版本低于 4.x 请安装旧版本**\n\n```bash\nnpm install -g fis3@3.4.36\n```\n\n## 文档\n\n快速入门、配置、插件开发以及原理等文档 [doc/docs/INDEX.md](doc/docs/INDEX.md)\n\n## 例子\n\n```bash\nmkdir my-proj\ncd my-proj\nfis3 init\nfis3 release\nfis3 server start --type node\n```\n\n*fis-conf.js 的例子*\n\n```js\n// default settings. fis3 release\n\n// Global start\nfis.match('*.{js,css}', {\n  useHash: true\n});\n\nfis.match('::image', {\n  useHash: true\n});\n\nfis.match('*.js', {\n  optimizer: fis.plugin('uglify-js') // js 压缩\n});\n\nfis.match('*.css', {\n  optimizer: fis.plugin('clean-css') // css 压缩\n});\n\nfis.match('*.png', {\n  optimizer: fis.plugin('png-compressor') // png 图片压缩\n});\n\n// Global end\n\n// default media is `dev`\nfis.media('dev')\n  .match('*', {\n    useHash: false,\n    optimizer: null\n  });\n\n// extends GLOBAL config\nfis.media('production');\n```\n\n## 其他例子\n\nhttps://github.com/fex-team/fis3-demo\n\n## 常用插件\n\n### 优化类（插件属性：optimizer）\n- [fis-optimizer-uglify-js](https://www.npmjs.com/package/fis-optimizer-uglify-js) UglifyJS2 压缩插件\n- [fis-optimizer-clean-css](https://www.npmjs.com/package/fis-optimizer-clean-css) CleanCss  压缩插件\n- [fis-optimizer-png-compressor](https://www.npmjs.com/package/fis-optimizer-png-compressor) PNG 压缩插件\n\n### 预处理类（插件属性：parser）\n- [fis-parser-less](https://www.npmjs.com/package/fis-parser-less) less 解析插件\n- [fis-parser-node-sass](https://www.npmjs.com/package/fis-parser-node-sass) sass / scss 解析插件\n- [fis-parser-handlebars](https://www.npmjs.com/package/fis-parser-handlebars) handlebars 解析插件\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffex-team%2Ffis3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffex-team%2Ffis3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffex-team%2Ffis3/lists"}