{"id":18350479,"url":"https://github.com/dnakov/generator-spm-ng","last_synced_at":"2025-04-09T23:54:04.672Z","repository":{"id":75717396,"uuid":"20347292","full_name":"dnakov/generator-spm-ng","owner":"dnakov","description":null,"archived":false,"fork":false,"pushed_at":"2015-04-08T16:33:16.000Z","size":3950,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T23:53:11.642Z","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/dnakov.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-05-31T02:02:49.000Z","updated_at":"2015-04-08T16:33:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8c29d9d-e2dd-42bb-b18f-bdead61dab8b","html_url":"https://github.com/dnakov/generator-spm-ng","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnakov%2Fgenerator-spm-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnakov%2Fgenerator-spm-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnakov%2Fgenerator-spm-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnakov%2Fgenerator-spm-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnakov","download_url":"https://codeload.github.com/dnakov/generator-spm-ng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131453,"owners_count":21052819,"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-05T21:26:47.261Z","updated_at":"2025-04-09T23:54:04.641Z","avatar_url":"https://github.com/dnakov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a yeoman generator for an angularjs project that follows the [Best Practice Recommendations for Angular App Structure][1].\n\nIt takes advantage of the gulp build tool and makes use of bower and npm for dependency management.\n\n-----\n\n#### GENERATED DIRECTORY STRUCTURE ####\n\n    app/\n      components/\n        app_service.js\n        app_service_test.js\n      main/\n        main.html\n        main_controller.js\n        main_controller_test.js\n      app.css\n      app.js\n      app_controller.js\n      app_controller_test.js\n      index.html\n    bower_components/    \n    node_modules/\n    .bowerrc\n    .gitignore\n    README.md\n    bower.json\n    gulpgile.js\n    karma-unit.js\n    package.json\n\n-----\n\n#### FEAUTURES ####\n- follows the recommended best practice project structure for angularjs\n- all js files in the app folder are concatenated into build/app.js\n- all html files in the app folder except index.html are concatenated and compiled into a js file:build/templates.js and loaded into the angular templateCache\n- all css files in the app folder are concatenated into build/app.css\n- all js files in the bower_components folder are concatenated into build/lib.js\n- all css files in the bower_components folder are concatenated into build/lib.css\n- index.html is copied to build/index.html\n- a static server is run at port 9000 with livereload support\n- when any html, js or css file in the build folder changes, they are autoreloaded on the browser\n- karma test runner will automatically run unit tests when relevant files change\n\n-----\n\n#### Prerequisites ####\n- node.js [http://nodejs.org/][2]\n- npm [http://www.npmjs.org/][3]\n- bower [http://bower.io/][4]\n- gulp.js [http://gulpjs.com/][5]\n- karma-cli [http://karma-runner.github.io/][6]\n\n-----\n\n#### USAGE ####\n1) npm install -g generator-gulp-ng\n\n2) mkdir myApp \u0026\u0026 cd myApp \u0026\u0026 yo gulp-ng\n\n3) gulp\n\n4) karma start karma-unit.js\n\n5) open browser to http://localhost:9000\n\n6) start hacking\n\n----\n\n#### Support ####\nFor questions and issues: [https://github.com/henyojess/generator-gulp-ng/issues][7]\n\n\n  [1]: https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub\n  [2]: http://nodejs.org/\n  [3]: http://www.npmjs.org/\n  [4]: http://bower.io/\n  [5]: http://gulpjs.com/\n  [6]: http://karma-runner.github.io/\n  [7]: https://github.com/henyojess/generator-gulp-ng/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnakov%2Fgenerator-spm-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnakov%2Fgenerator-spm-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnakov%2Fgenerator-spm-ng/lists"}