{"id":20538036,"url":"https://github.com/yoannmoinet/generator-maryeo","last_synced_at":"2025-10-30T14:13:47.150Z","repository":{"id":23052286,"uuid":"26405483","full_name":"yoannmoinet/generator-maryeo","owner":"yoannmoinet","description":":gift: Yeoman generator for scalable Marionette webapps.","archived":false,"fork":false,"pushed_at":"2015-09-20T16:23:41.000Z","size":359,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-16T14:32:32.682Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoannmoinet.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":"2014-11-09T18:55:17.000Z","updated_at":"2016-06-04T06:53:33.000Z","dependencies_parsed_at":"2022-08-24T16:31:20.946Z","dependency_job_id":null,"html_url":"https://github.com/yoannmoinet/generator-maryeo","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2Fgenerator-maryeo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2Fgenerator-maryeo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2Fgenerator-maryeo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannmoinet%2Fgenerator-maryeo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoannmoinet","download_url":"https://codeload.github.com/yoannmoinet/generator-maryeo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242144494,"owners_count":20078966,"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-16T00:43:57.132Z","updated_at":"2025-10-04T20:40:47.868Z","avatar_url":"https://github.com/yoannmoinet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generator Maryeo\n\n[![npm version](https://img.shields.io/npm/v/generator-maryeo.svg?style=flat-square)](https://www.npmjs.org/packages/generator-maryeo)\n[![Build Status](https://img.shields.io/travis/yoannmoinet/generator-maryeo.svg?style=flat-square)](https://travis-ci.org/yoannmoinet/generator-maryeo)\n[![Join the chat at https://gitter.im/yoannmoinet/generator-maryeo](https://img.shields.io/badge/gitter-join-brightgreen.svg?style=flat-square)](https://gitter.im/yoannmoinet/generator-maryeo?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[Yeoman](http://yeoman.io) generator for scalable Marionette webapps.\n\nTools requirement\n------------------\n\n- [nodejs](http://nodejs.org).\n- [Yeoman](http://yeoman.io).\n- [GruntCLI](https://github.com/gruntjs/grunt-cli).\n- [Bower](https://bower.io).\n\n#### For windows users :\n- [Python 2.7.9](https://www.python.org/downloads/windows/) needed for libsass.\n- [Visual Studio Express 2013](http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop) needed for libsass.\n\n### Getting Started\n\nIf you'd like to get to know Yeoman better and meet some of his friends, \n[Grunt](http://gruntjs.com) and [Bower](http://bower.io), check out the complete \n[Getting Started Guide](https://github.com/yeoman/yeoman/wiki/Getting-Started).\n\n### Overview\n\nThe generator comes with [jquery](http://jquery.com), [backbone](http://backbonejs.org/), \n[marionette](http://marionettejs.com/), [bootstrap](http://getbootstrap.com) \nand [font-awesome](http://fortawesome.github.io/Font-Awesome/).\n\n### Installing\n\ninstall generator-maryeo by running\n\n```shell\nnpm install -g generator-maryeo\n```\n\n### Usage\nScaffold the app in your folder of choice\n```shell\nyo maryeo\n```\n\n![Web App Folder Tree](generators/webapp_tree.png)\n\n### Create a subApp\n\nOnce your web app is scaffolded, you can scaffold sub-apps too.\n```shell\nyo maryeo:subapp [subappname]\n```\n\n![Web App Folder Tree](generators/subapp_tree.png)\n\nA sub-app will be created under [scripts/apps/[subappname]](generators/app/templates/app/scripts/apps).\n\n##### Examples\n\nSee the [**SubApp Example**](generators/app/templates/app/scripts/apps/Example/Example.js) and the [**SubAppView Example**](generators/app/templates/app/scripts/apps/Example/views/ExampleView.js) to better understand how to integrate your SubApp.\n\n### I18N\n\nYou can use the internationalization's helper inside Handlebars templates with `{{i18n 'my_key'}}` or `{{i18n context_variable}}`.\n\nAlso, inside your subApp you should listen to `Hub.on('change:lang', action)` to be able to re-render your views each time language changes.\n\n#### Register your strings\n\nYou just have to add your entries inside `scripts/apps/[YOUR_SUBAPP]/locales/[lng].json` :\n\n```javascript\n//fr.json\n{\n    \"my_key\": \"Mon texte traduit.\"\n}\n\n//en.json\n{\n    \"my_key\": \"My translated text.\"\n}\n```\n\nYou need to register your strings :\n\n```javascript\nvar en = require( 'json!apps/[YOUR_SUBAPP]/locales/en.json' );\ni18n.addLocales( 'en', en );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannmoinet%2Fgenerator-maryeo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoannmoinet%2Fgenerator-maryeo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannmoinet%2Fgenerator-maryeo/lists"}