{"id":21575579,"url":"https://github.com/rangle/angular2-starter","last_synced_at":"2025-04-10T16:32:14.913Z","repository":{"id":54361475,"uuid":"55170377","full_name":"rangle/angular2-starter","owner":"rangle","description":"Angular 2 Starter Repo","archived":false,"fork":false,"pushed_at":"2021-02-23T08:03:52.000Z","size":743,"stargazers_count":60,"open_issues_count":100,"forks_count":36,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-24T14:13:29.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/rangle.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":"2016-03-31T17:35:35.000Z","updated_at":"2022-04-22T19:11:14.000Z","dependencies_parsed_at":"2022-08-13T13:20:47.249Z","dependency_job_id":null,"html_url":"https://github.com/rangle/angular2-starter","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/rangle%2Fangular2-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangle%2Fangular2-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangle%2Fangular2-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rangle%2Fangular2-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rangle","download_url":"https://codeload.github.com/rangle/angular2-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252690,"owners_count":21072700,"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-24T12:13:39.263Z","updated_at":"2025-04-10T16:32:14.876Z","avatar_url":"https://github.com/rangle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Circle CI](https://circleci.com/gh/rangle/angular2-starter.svg?style=svg)](https://circleci.com/gh/rangle/angular2-starter)\n\n# Angular 2/TypeScript/Webpack Starter\n\nThis is the initial version of our starter project using Angular 2.x, TypeScript and Webpack to tie it all together.\n\n## Getting Started\n\nUse our [starter script](http://npm.im/rangle-starter), with\n`angular2-starter` as the `techStack` argument.\n\n## npm scripts\n\n\u003e To see all available scripts:\n```bash\n$ npm run\n```\n\n### Dev\n```bash\n$ npm run dev\n```\n\nThis runs a development mode server with live reload etc.\n\nOpen `http://localhost:8080` in your browser.\n\n### Production\n\n```bash\n$ npm install\n$ npm start\n```\nor\n```bash\n$ npm run build\n$ npm start\n```\nThis runs a production-ready express server that serves up a bundled and\nminified version of the client.\n\nNote: AoT is enabled by default. To disable AoT, use `npm run build:jit`.\n\nOpen `http://localhost:8080` in your browser.\n\n### Tests\n\n#### Single Run (with linting and coverage)\n```bash\n$ npm test\n# or\n$ npm t\n```\n\n#### Watch Files\n```bash\n$ npm run test:watch\n```\n\n#### Coverage\n```bash\n$ npm run cover\n```\n\n## Webpack\n\nConfigurations:\n- For dev \u0026 jit: `webpack.config.js`\n- For production \u0026 AoT: `webpack-aot.config.js`\n\nThe webpack directory consists of:\n- `loaders.js`: definitions for all the loaders used in this project\n- `plugins.js`: definitions for all the plugins used in this project. These are grouped based on `process.env`.\n- `postcss.js`: configuration for the postcss plugin.\n\n### Bundle Profiling\n\nIf you want to analyze the contents and size of the production bundles you can run one of the following commands:\n- `npm run profile-build` for AoT builds\n- `npm run profile-build:jit` for JiT builds\n\nThese commands produce a `stats.json` manifest in the project root and also opens a web page using `webpack-bundle-analyzer` so that you can parse it visually.\n\n#### Connecting to remote APIs\n\nBoth the devmode and production servers provide a way to proxy requests to\nremote HTTP APIs.  This can be useful for working around CORS issues when\ndeveloping your software.\n\nEdit [this file](server/proxy-config.js) to mount such APIs at a given path.\n\n## Improvements\n\nThis is an initial version of this setup and will be expanded in the future. Refer to the [issues section](https://github.com/rangle/rangle-starter/issues) to see what needs to be done, or create a [new one](https://github.com/rangle/rangle-starter/issues/new).\n\nIssues for this particular starter project are tagged with the 'ng2' label.\n\n## If something doesn't work\n\nWe centralize issue management for all rangle starters in the [rangle-starter](https://github.com/rangle/rangle-starter) repository, to help us keep things consistent.\n\nRefer to the [issues section](https://github.com/rangle/rangle-starter/issues) to see if this has already been logged. Otherwise create a [new issue](https://github.com/rangle/rangle-starter/issues/new).\n\nBe sure to tag your new issue with the 'ng2' label so we can see which starter you're filing it for.\n\n## Example Application\n\nAn example app using this starter can be found [here](https://github.com/rangle/angular2-starter-example).\n\n## License\n\nCopyright (c) 2016 rangle.io\n\n[MIT License][MIT]\n\n[MIT]: ./LICENSE \"Mit License\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frangle%2Fangular2-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frangle%2Fangular2-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frangle%2Fangular2-starter/lists"}