{"id":15388504,"url":"https://github.com/deebloo/generator-angular-blueprint","last_synced_at":"2025-07-23T06:06:17.347Z","repository":{"id":27045074,"uuid":"30510252","full_name":"deebloo/generator-angular-blueprint","owner":"deebloo","description":"Yeoman generator for the angular blueprint scaffolding. Easily override global templates with your own!","archived":false,"fork":false,"pushed_at":"2024-11-01T08:55:27.000Z","size":413,"stargazers_count":21,"open_issues_count":3,"forks_count":5,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-17T15:41:22.060Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deebloo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-08T23:38:01.000Z","updated_at":"2019-04-02T00:02:00.000Z","dependencies_parsed_at":"2024-06-21T15:22:54.253Z","dependency_job_id":"2425088a-f782-4fcc-9327-7202163f9834","html_url":"https://github.com/deebloo/generator-angular-blueprint","commit_stats":{"total_commits":336,"total_committers":6,"mean_commits":56.0,"dds":"0.22916666666666663","last_synced_commit":"f3c56866b6627d02323969a48c4a4f31cd5ffb69"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/deebloo/generator-angular-blueprint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fgenerator-angular-blueprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fgenerator-angular-blueprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fgenerator-angular-blueprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fgenerator-angular-blueprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deebloo","download_url":"https://codeload.github.com/deebloo/generator-angular-blueprint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fgenerator-angular-blueprint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265360478,"owners_count":23752719,"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-10-01T14:56:58.221Z","updated_at":"2025-07-14T22:33:15.744Z","avatar_url":"https://github.com/deebloo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-angular-blueprint ![Build Status](https://circleci.com/gh/deebloo/generator-angular-blueprint.png?style=shield\u0026circle-token=b5f2519075910369fd15a0cf28251f097f336ca5)\n\n\u003e [Yeoman](http://yeoman.io) generator\n\nAngular js Generator for large scale applications. \n\n##### Prerequisites\n\nInstall [NodeJs](https://nodejs.org/)\n```\nnpm i -g bower yo\n```\nIf you get permission errors run ```sudo !!```\n\nBased on [John Papa's AngularJS Style Guide](https://github.com/johnpapa/angularjs-styleguide). \nThe goal is to have an out of the box scaffolding that will scale well for large complex applications.\n\nTo see a sample generated project look [here](https://github.com/deebloo/angular-blueprint).\n\nGenerator Angular Blueprint introducing the idea of blueprints to an angular scaffolding. It is now very simple to overwrite generator templates in your local project.\nLots of Yeoman generators are out there, but what if you don't agree? You can fork the repo and make changes and install it on your own, OR, you can use generator-angular-blueprints.\nDon't like the style of comments we have chosen? Use your own! Simply run the 'blueprint' generator to customize your own templates.\n\n```\nnpm install -g generator-angular-blueprint\n```\n\n## Generators\n\n### App\n\nGenerates the main application scaffolding\n\n```\nyo angular-blueprint\n```\n\n### Blueprint\n\nGenerates a blueprint to be customized. The template file will be placed into your local project.\nFrom there you can customize the template any way that you like.\n\nExample:\n\n```\nyo angular-blueprint:blueprint\n[?] Which blueprint would you like to create?\n1)  controller\n2)  controller-spec\n3)  view\n4)  style\n5)  service\n6)  service-spec\n7)  factory\n8)  factory-spec\n9)  directive\n10) directive-html\n11) directive-html-spec\n12) directive-spec\n13) route\n```\n\nProduces:\n\n```\nblueprints/templates/controller/template.js\n```\n\nThe following template values are passed in to each template and are available for you to use:\n\n```\n\u003c%= appName %\u003e // myApp\n\u003c%= classedName %\u003e // ClassedName\n\u003c%= cameledName %\u003e // cameledName,\n\u003c%= dashedName %\u003e // dashed-name\n\u003c%= humanName %\u003e // human name\n\u003c%= type %\u003e // {controller|factory|service|directive}\n```\n\n### Route\n\nGenerates a new route and all of its components\n\nExample:\n\n```\nyo angular-blueprint:route home\n[?] Where should I generate \"home\"? (./client/app/views/home)\n```\n\nProduces:\n\n```\nclient/app/views/home/home.controller.js\nclient/app/views/home/home.controller.spec.js\nclient/app/views/home/home.route.js\nclient/app/views/home/home.view.html\nclient/app/views/home/home.view.scss\n```\n\n### Controller\n\nGenerates a new controller\n\nExample:\n\n```\nyo angular-blueprint:controller home\n[?] Where should I generate \"home\"? (./client/app/views/home)\n```\n\nProduces:\n\n```\nclient/app/views/home/home.controller.js\nclient/app/views/home/home.controller.spec.js\n```\n\n### Factory\n\nGenerates a new Angular Factory\n\nExample:\n\n```\nyo angular-blueprint:factory user\n[?] Where should I generate \"user\"? (./client/app/services/user)\n```\n\nProduces:\n\n```\nclient/app/services/user/user.factory.js\nclient/app/services/user/user.factory.spec.js\n```\n\n### Directive\n\nGenerates a new Angular Directive.\n\nExample:\n\n```\nyo angular-blueprint:directive nav\n[?] Where should I generate \"nav\"? (./client/app/components/nav)\n```\n\nProduces:\n\n```\nclient/app/components/nav/nav.directive.js\nclient/app/components/nav/nav.directive.spec.js\n```\n\n### Directive-html\n\nGenerates a new Angular Directive with an external template.\n\nExample:\n\n```\nyo angular-blueprint:directive-html nav\n[?] Where should I generate \"nav\"? (./client/app/components/nav)\n```\n\nProduces:\n\n```\nclient/app/components/nav/nav.directive.js\nclient/app/components/nav/nav.directive.html\nclient/app/components/nav/nav.directive.scss\nclient/app/components/nav/nav.directive.spec.js\n```\n\n### Service\n\nGenerates a new Angular Service\n\nExample:\n\n```\nyo angular-blueprint:service user\n[?] Where should I generate \"user\"? (./client/app/services/user)\n```\n\nProduces:\n\n```\nclient/app/services/user/user.service.js\nclient/app/services/user/user.service.spec.js\n```\n\n### Filter\n\nGenerates a new Angular Filter\n\nExample:\n\n```\nyo angular-blueprint:filter reverse\n[?] Where should I generate \"reverse\"? (./client/app/filters/reverse)\n```\n\nProduces:\n\n```\nclient/app/filters/reverse/user.filter.js\nclient/app/filters/reverse/user.filter.spec.js\n```\n\n### View\n\nGenerates a new Angular View\n\nExample:\n\n```\nyo angular-blueprint:view about\n[?] Where should I generate \"about\"? (./client/app/views/about)\n```\n\nProduces:\n\n```\nclient/app/views/about/user.view.html\nclient/app/views/about/user.view.scss\n```\n\n## Features\n\nTo start the development server\n\n```\nnpm start\n```\n\nTo run unit tests\n\n```\nnpm test\n```\n\nTo build app for deployment\n\n```\nnpm run build\n```\n\nTo build app for deployment with tests and docs\n\n```\nnpm run build-full\n```\n\nIf you are using the [JSDoc](http://usejsdoc.org/) style of comments (which you should!!!) you can generate your documentation with the following command. Documentation can be found under `docs/client/` (Hooray  for automated documentation!)\n\n```\nnpm run docs\n```\n\nAPI Proxying\n\nAngular-blueprint includes [grunt-connect-proxy](https://github.com/drewzboto/grunt-connect-proxy) to hit outside APIs for development. \n\nThe proxy is set up for the github API right now but can can be configured easily to hit your own api. (Yes I know Github's api does not require this).\n\nAngular Blueprint has a switch for proxying APIs. To turn it on set ```appConfig.proxy = true```\n\n```JS\nvar appConfig = {\n  app: require('./bower.json').appPath || 'app',\n  dist: 'dist',\n  proxy: false, // \u003c-- HERE HERE DO IT HERE!!!\n  proxyConfig: [{\n    context: '/api',\n    host: 'api.github.com',\n    port: 443,\n    https: true,\n    changeOrigin: true,\n    rewrite: {\n      '^/api': ''\n    }\n  }]\n};\n```\n\n## To contribute\n\n```\ngit clone https://github.com/deebloo/generator-angular-blueprint.git\n```\n\nTo run unit tests\n```\nnpm test\n```\n\nTo run the full test suite (runs the unit tests as well as testing the generator end to end).\nThis is the same tests that are run on circle ci\n```\nsh test.sh\n```\n\nTo install generator\n```\nnpm link\n```\n\nthis should allow you to run\n```\nyo angular-blueprint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Fgenerator-angular-blueprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeebloo%2Fgenerator-angular-blueprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Fgenerator-angular-blueprint/lists"}