{"id":22962862,"url":"https://github.com/thoughtbit/generator-fis","last_synced_at":"2026-07-22T14:32:56.249Z","repository":{"id":19386694,"uuid":"22627729","full_name":"thoughtbit/generator-fis","owner":"thoughtbit","description":"自动化的前端集成解决方案","archived":false,"fork":false,"pushed_at":"2014-09-28T16:17:37.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-22T14:32:53.787Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thoughtbit.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}},"created_at":"2014-08-05T02:43:40.000Z","updated_at":"2016-04-08T06:47:51.000Z","dependencies_parsed_at":"2022-08-24T02:50:09.589Z","dependency_job_id":null,"html_url":"https://github.com/thoughtbit/generator-fis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thoughtbit/generator-fis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fgenerator-fis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fgenerator-fis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fgenerator-fis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fgenerator-fis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoughtbit","download_url":"https://codeload.github.com/thoughtbit/generator-fis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fgenerator-fis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35766428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"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-12-14T19:18:30.191Z","updated_at":"2026-07-22T14:32:56.210Z","avatar_url":"https://github.com/thoughtbit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-fis [![Build Status](https://secure.travis-ci.org/moocss/generator-fis.png?branch=master)](https://travis-ci.org/moocss/generator-fis)\n\nA FIS generator for [Yeoman](http://yeoman.io)\n\n\n## Getting Started\n\n### What is Yeoman?\n\nTrick question. It's not a thing. It's this guy:\n\n![](http://i.imgur.com/JHaAlBJ.png)\n\nBasically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.\n\nNot every new computer comes with a Yeoman pre-installed. He lives in the [npm](https://npmjs.org) package repository. You only have to ask for him once, then he packs up and moves into your hard drive. *Make sure you clean up, he likes new and shiny things.*\n\n```\n$ npm install -g yo\n```\n\n### Yeoman Generators\n\nYeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.\n\nTo install generator-fis from npm, run:\n\n```\n$ npm install -g generator-fis\n```\nMake a new directory and `cd` into it:\n```\nmkdir my-new-project \u0026\u0026 cd $_\n```\nFinally, initiate the generator:\n\n```\n$ yo fis\n```\n\nAvailable generators:\n\n- fis              初始化一个 Project\n- fis:h            显示帮助\n- fis:h5           生成一个HTML5页面模板\n- fis:h4           生成一个HTML4页面模板\n- fis:webapp       生成一个完整的网站模板\n- fis:module       初始化一个模块单元\n- fis:page         生成一个Page\n- fis:widget       创建标准的组件\n        Example:   fis:widget 1.0.0\n\n### Typical workflow\n\n```\nyo fis #初始化一个 Project\nyo fis:page     生成一个Page\ngulp            构建项目\ngulp styles\t\tcss的检测、压缩和合并\ngulp scripts    js的检测、压缩和合并\ngulp html\ngulp images\t\t图片压缩和图片精灵\ngulp clean\t\t清除 tmp 和 dist 目录内容\ngulp wiredep\tInject bower components\ngulp build\t\t处理html、css、js等\ngulp watch\t\t自动监听文件的改变和F5刷新\ngulp publish    发布项目\n\n```\n\n### Options\n\n* `--skip-install`\n\n  Skips the automatic execution of `bower` and `npm` after\n  scaffolding has finished.\n\n* `--skip-install-message`\n\n   welcome message\n\n* `--test-framework=[framework]`\n\n  Defaults to `mocha`. Can be switched for\n  another supported testing framework like `jasmine`.\n\n\n### Getting To Know Yeoman\n\nYeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.\n\nIf you'd like to get to know Yeoman better and meet some of his friends, [Grunt](http://gruntjs.com) and [Bower](http://bower.io), check out the complete [Getting Started Guide](https://github.com/yeoman/yeoman/wiki/Getting-Started).\n\n## 项目目录规范\n```\nsite\n\tsrc\n\t    components  //来自网络的bower_components\n\t\tpage //模板文件目录\n\t\t\tpage-1\n\t\t\t\t/index.html\n\t\t\t\t/index.css\n\t\t\t\t/index.js\n\t\t\t...\n\t\tmodule //页面模块,增进页面结构(模板组件,CSS组件)\n\t\t    base\n\t\t\t\t/base.css\n\t\t\t\t/layout.css\n\t\t\t\t/modules.css\n\t\t\theader\n\t\t\t\t/index.js\n\t\t\t\t/index.css\n\t\t\t\t/index.html\n\t\t\tfooter\n\t\t\tcontent\n\t\t\tsidebar\n\t\t\tnav\n\t\t\tmenu\n\t\t\t...\n\n\t\twidget // JS组件\n\t\t\tdialog\n\t\t\t\t1.0.0\n\t\t\t\t\tsrc\n\t\t\t\t\t\t/*.js\n\t\t\t\t\t\t/*css\n\t\t\t\t\tdemo\n\t\t\t\t\t\t/index.html\n\t\t\t\t\ttest\n\t\t\t\t\tplugin (待定)\n\t\t\t\t1.0.1\n\t\t\t\t1.0.2\n\t\t\t\t...\n\tdoc\n\tdist\n\t    components\n\t\t1.0.0\n\t\t\timages\n\t\t\t\t/icon\n\t\t\t\t/_res\n\t\t\t\t/sp.png\n\t\t\t/js\n\t\t\t\t/libs\n\t\t\t\t/global.js\n\t\t\t/css\n\t\t\t\t/base.css\n\t\t\t\t/page.css\n\t\t\t\t/page-proj.css\n\t\t\t/index.html\n\t\t\t/page.html\n\t\t1.0.1\n\t\t1.0.2\n\t\t...\n\tstatic\n\t\t*.jpg\n\t\t*.png\n\ttest\n\nwebapp\n\tapp\n\t    js\n\t    scss | stylus | less | css\n\t    img\n\t    index.html\n    dist\n        js\n        css\n        img\n        index.html\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbit%2Fgenerator-fis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtbit%2Fgenerator-fis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbit%2Fgenerator-fis/lists"}