{"id":15994273,"url":"https://github.com/pixelhandler/js-lib-blueprint","last_synced_at":"2025-09-10T10:35:48.230Z","repository":{"id":20035499,"uuid":"23303622","full_name":"pixelhandler/js-lib-blueprint","owner":"pixelhandler","description":"Blueprint for building a JavaScript library with using broccoli and testem","archived":false,"fork":false,"pushed_at":"2014-08-25T06:39:13.000Z","size":116,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T00:15:53.410Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelhandler.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-08-25T06:09:51.000Z","updated_at":"2014-09-11T10:14:28.000Z","dependencies_parsed_at":"2022-08-21T16:21:03.513Z","dependency_job_id":null,"html_url":"https://github.com/pixelhandler/js-lib-blueprint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pixelhandler/js-lib-blueprint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fjs-lib-blueprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fjs-lib-blueprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fjs-lib-blueprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fjs-lib-blueprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelhandler","download_url":"https://codeload.github.com/pixelhandler/js-lib-blueprint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelhandler%2Fjs-lib-blueprint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274447533,"owners_count":25287114,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"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-10-08T07:08:01.174Z","updated_at":"2025-09-10T10:35:48.207Z","avatar_url":"https://github.com/pixelhandler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS Lib Blueprint\n\nA blueprint for creating a JavaScript library or micro-library using\n[broccoli] and [testem].\n\n[broccoli]: https://github.com/joliss/broccoli \"Broccoli\"\n[testem]: https://github.com/airportyh/testem \"Test'em 'Scripts!\"\n\n\n## Get Started\n\n1. Clone this repository and rename for your project\n1. Switch (`cd`) into your (renamed) project directory\n1. Find and replace `js-lib-blueprint` with your name\n1. Setup the Namespace (global) you will use in a browser app ()\n   * Edit output.js\n   * Find and replace `JLB` with your variable name\n1. If adding dependencies, modify package.json and/or bower.json files\n   * If adding [bower] dependencies, search for `bower_components` \n     as examples of using vendor dependencies\n1. Install all dependencies with [npm] and [bower] using `npm install`\n\n[bower]: http://bower.io \"Bower\"\n[npm]: https://www.npmjs.org \"NPM\"\n\n## Get to Work\n\nTo begin development and testing:\n\n```\n$ ./testem\n```\n\nThe `testem` command launches a watcher for both your lib and test directories. Any browsers you list in the testem.json file will launch.\n\nYour tests and [example page] will reload automatically when you save \nchanges to your code, see http://localhost:4200/examples/\n\nCreate an example of implmenting your library in the `examples` directory.\n\n[example page]: http://localhost:4200/examples/\n\n### Development\n\nAuthor your library using ES6 modules, for distribution in various\nmodule formats, AMD, CJS, globals, etc.\n\n* Your library code goes in the `lib` directory\n* See the main.js and example.js files as an example\n\n### Testing\n\n* Your test code goes in the `tests` directory (use `spec.js` as a suffix for filenames that should be included in the test runner)\n* Add any custom test setup or helpers in the `tests/support/setup.js` directory\n* See the main.spec.js file as an example unit test.\n\n## Tooling\n\n* Broccoli is used for building and distrubiting amd, cjs, global\n  versions\n* Testem is used for the test runner (local and ci)\n  * Testem config is setup to use the named-amd dist directory for your\n    library code\n\n\n## Distribution\n\n* The default [grunt] task will build to a `dist` directory (ignored by\n  git); use `grunt` to build\n* Use [es6-module-transpiler] for various module formats, AMD, CJS,\n  globals\n\n[grunt]: http://gruntjs.com \"Grunt\"\n[es6-module-transpiler]: https://github.com/esnext/es6-module-transpiler\n\n\n## Thanks\n\n* [Jo Liss][joliss] - [broccoli]\n* [Ryan Florence][rpflorence] - [broccoli-dist-es6-module] \n* Dana Franklin [emberella-component-blueprint] - The example this is\n  based on\n\n[joliss]: https://github.com/joliss \"Jo Liss on GitHub\"\n[rpflorence]: https://github.com/rpflorence \"Ryan Florence on GitHub\"\n[broccoli-dist-es6-module]: https://github.com/rpflorence/broccoli-dist-es6-module \"broccoli-dist-es6-module\"\n[emberella-component-blueprint]: https://github.com/realityendshere/emberella-component-blueprint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelhandler%2Fjs-lib-blueprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelhandler%2Fjs-lib-blueprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelhandler%2Fjs-lib-blueprint/lists"}