{"id":19730519,"url":"https://github.com/begriffs/generator-omni-module","last_synced_at":"2025-02-27T20:22:32.389Z","repository":{"id":9746859,"uuid":"11710079","full_name":"begriffs/generator-omni-module","owner":"begriffs","description":"Write JS modules that run everywhere","archived":false,"fork":false,"pushed_at":"2013-10-11T18:22:12.000Z","size":196,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T20:06:15.794Z","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/begriffs.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":"2013-07-27T19:44:23.000Z","updated_at":"2015-05-12T17:38:59.000Z","dependencies_parsed_at":"2022-09-08T20:41:27.244Z","dependency_job_id":null,"html_url":"https://github.com/begriffs/generator-omni-module","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fgenerator-omni-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fgenerator-omni-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fgenerator-omni-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fgenerator-omni-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/begriffs","download_url":"https://codeload.github.com/begriffs/generator-omni-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241055945,"owners_count":19901688,"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-12T00:16:38.357Z","updated_at":"2025-02-27T20:22:32.371Z","avatar_url":"https://github.com/begriffs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Make a module you can use everywhere\n\n[![Build Status](https://travis-ci.org/begriffs/generator-omni-module.png)](https://travis-ci.org/begriffs/generator-omni-module)\n\nYou have written an amazing new JS library and now it's time\nto distribute it to the world. Use this Yeoman generator\nto make your module accessible on both the client side\n([RequireJS](http://requirejs.org/) + [Bower](http://bower.io/)) and\nthe server ([CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) +\n[NPM](https://npmjs.org/)).\n\nWith all the popularity your universally accessible module will gain\nyou'll want to be sure it's easy for you to maintain and others to\nimprove. That's why the boilerplate comes ready-made with a test\nsuite and [Travis](https://travis-ci.org/) hooks. It has a solid\n[JSHint](http://www.jshint.com/) config and includes a lint step as\npart of continuous integration so your codebase will stay fresh and\nconsistent no matter how many people modify it.\n\n## Getting started\n\n1. Create the boilerplate\n\n    ```\n    mkdir your-module \u0026\u0026 cd $_\n    npm install -g yo\n    npm install -g generator-omni-module\n    yo omni-module\n    ```\n\n2. Answer the questions it asks you.\n3. Add the Github upstream specified in `package.json`\n4. Write your lovely code and a README.\n\n## Testing your module\n\nYou will want both of these commands to be passing on stable code\nbranches.\n\n    grunt jshint  # run JSHint on all code and tests\n    grunt test    # run Mocha test suite\n\n## Publishing your module\n\n1. Register your module with Bower: `bower register \u003cmy-package-name\u003e \u003cgit-endpoint\u003e`\n2. Bump the version, tag the code, and publish with\n\n```sh\ngrunt bump\nnpm publish\n```\n(see more [options](https://github.com/vojtajina/grunt-bump) for version bumping)\n\n## License\n\nThe generator-omni-module is Copyright © 2013 Joe Nelson. It is free\nsoftware, and may be redistributed under the terms specified in the\nLICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fgenerator-omni-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbegriffs%2Fgenerator-omni-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fgenerator-omni-module/lists"}