{"id":16537905,"url":"https://github.com/acdcjunior/rem_angular2-webpack-extrato","last_synced_at":"2026-06-29T04:31:32.980Z","repository":{"id":144982246,"uuid":"52051113","full_name":"acdcjunior/rem_angular2-webpack-extrato","owner":"acdcjunior","description":null,"archived":false,"fork":false,"pushed_at":"2016-03-27T22:38:14.000Z","size":327,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-05T20:02:27.518Z","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/acdcjunior.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-19T01:05:26.000Z","updated_at":"2017-02-19T18:18:58.000Z","dependencies_parsed_at":"2023-04-20T10:01:11.017Z","dependency_job_id":null,"html_url":"https://github.com/acdcjunior/rem_angular2-webpack-extrato","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acdcjunior/rem_angular2-webpack-extrato","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Frem_angular2-webpack-extrato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Frem_angular2-webpack-extrato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Frem_angular2-webpack-extrato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Frem_angular2-webpack-extrato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acdcjunior","download_url":"https://codeload.github.com/acdcjunior/rem_angular2-webpack-extrato/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acdcjunior%2Frem_angular2-webpack-extrato/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34913586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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-11T18:43:57.718Z","updated_at":"2026-06-29T04:31:32.959Z","avatar_url":"https://github.com/acdcjunior.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![taylor swift](https://img.shields.io/badge/secured%20by-taylor%20swift-brightgreen.svg)](https://twitter.com/SwiftOnSecurity)\n[![volkswagen status](https://auchenberg.github.io/volkswagen/volkswargen_ci.svg?v=1)](https://github.com/auchenberg/volkswagen) [![GitHub version](https://badge.fury.io/gh/angularclass%2Fangular2-webpack-starter.svg)](https://badge.fury.io/gh/angularclass%2Fangular2-webpack-starter) [![Dependency Status](https://david-dm.org/angularclass/angular2-webpack-starter.svg)](https://david-dm.org/angularclass/angular2-webpack-starter)\n[![Issue Stats](http://issuestats.com/github/angularclass/angular2-webpack-starter/badge/pr?style=flat)](http://issuestats.com/github/angularclass/angular2-webpack-starter)\n[![Issue Stats](http://issuestats.com/github/angularclass/angular2-webpack-starter/badge/issue?style=flat)](http://issuestats.com/github/angularclass/angular2-webpack-starter) [![Stack Share](http://img.shields.io/badge/tech-stack-0690fa.svg?style=flat)](http://stackshare.io/angularclass/angular-2-webpack-starter)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://angularclass.com\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cloud.githubusercontent.com/assets/1016365/9863762/a84fed4a-5af7-11e5-9dde-d5da01e797e7.png\" alt=\"Webpack and Angular 2\" width=\"500\" height=\"320\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Angular2 Webpack Starter [![Join Slack](https://img.shields.io/badge/slack-join-brightgreen.svg)](https://angularclass.com/slack-join) [![Join the chat at https://gitter.im/angularclass/angular2-webpack-starter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angularclass/angular2-webpack-starter?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\n\u003e An Angular 2 starter kit featuring [Angular 2](https://angular.io) ([Router](https://angular.io/docs/js/latest/api/router/), [Forms](https://angular.io/docs/js/latest/api/forms/),\n[Http](https://angular.io/docs/js/latest/api/http/),\n[Services](https://gist.github.com/gdi2290/634101fec1671ee12b3e#_follow_@AngularClass_on_twitter),\n[Tests](https://angular.io/docs/js/latest/api/test/), [E2E](https://angular.github.io/protractor/#/faq#what-s-the-difference-between-karma-and-protractor-when-do-i-use-which-)), [Karma](https://karma-runner.github.io/), [Protractor](https://angular.github.io/protractor/), [Jasmine](https://github.com/jasmine/jasmine), [Istanbul](https://github.com/gotwarlost/istanbul), [TypeScript](http://www.typescriptlang.org/), [Typings](https://github.com/typings/typings), [TsLint](http://palantir.github.io/tslint/), [Ng2Lint](https://github.com/mgechev/ng2lint), [Hot Module Replacement](https://webpack.github.io/docs/hot-module-replacement-with-webpack.html), and [Webpack](http://webpack.github.io/) by [AngularClass](https://angularclass.com).\n\n\u003e If you're looking for Angular 1.x please use [NG6-starter](https://github.com/angularclass/NG6-starter)  \n\u003e If you're looking to learn about Webpack and ES6 Build Tools check out [ES6-build-tools](https://github.com/AngularClass/ES6-build-tools)  \n\u003e If you're looking to learn TypeScript see [TypeStrong/learn-typescript](https://github.com/TypeStrong/learn-typescript)  \n\u003e If you're looking for Webpack 2 version then see the experimental version [angular2-webpack2-starter](https://github.com/gdi2290/angular2-webpack2-starter) that will be merged\n\nThis seed repo serves as an Angular 2 starter for anyone looking to get up and running with Angular 2 and TypeScript fast. Using a [Webpack](http://webpack.github.io/) for building our files and assisting with boilerplate. We're also using Protractor for our end-to-end story and Karma for our unit tests.\n* Best practices in file and application organization for Angular 2.\n* Ready to go build system using Webpack for working with TypeScript.\n* Angular 2 examples that are ready to go when experimenting with Angular 2.\n* A great Angular 2 seed repo for anyone who wants to start their project.\n* Testing Angular 2 code with Jasmine and Karma.\n* Coverage with Istanbul and Karma\n* End-to-end Angular 2 code using Protractor.\n* Type manager with Typings\n* Hot Module Replacement with Webpack\n\n### Quick start\n**Make sure you have node version \u003e= 4.0**\n\u003e Clone/Download the repo then edit `app.ts` inside [`/src/app/app.ts`](/src/app/app.ts)\n\n```bash\n# clone our repo\n# --depth 1 removes all but one .git commit history\ngit clone --depth 1 https://github.com/angularclass/angular2-webpack-starter.git\n\n# change directory to our repo\ncd angular2-webpack-starter\n\n# add required global libraries\nnpm install typings webpack-dev-server rimraf webpack -g\n\n# install the repo with npm\nnpm install\n\n# start the server\nnpm start\n```\ngo to [http://0.0.0.0:3000](http://0.0.0.0:3000) or [http://localhost:3000](http://localhost:3000) in your browser\n\n# Nitrous Quickstart\n\nYou can quickly create a free development environment to get started using this\nstarter kit in the cloud on [Nitrous](https://www.nitrous.io/):\n\n\u003ca href=\"https://www.nitrous.io/quickstart?repo=https://github.com/nitrous-io/angular2-webpack-starter\"\u003e\n  \u003cimg src=\"https://nitrous-image-icons.s3.amazonaws.com/quickstart.png\" alt=\"Nitrous Quickstart\" width=142 height=34\u003e\n\u003c/a\u003e\n\nSimply run `HOST=0.0.0.0 npm start` from the terminal inside of\n`~/code/angular2-webpack-starter` and access your site via the \"Preview \u003e 3000\"\nlink in the IDE.\n\n# Table of Contents\n* [File Structure](#file-structure)\n* [Getting Started](#getting-started)\n    * [Dependencies](#dependencies)\n    * [Installing](#installing)\n    * [Running the app](#running-the-app)\n* [Contributing](#contributing)\n* [TypeScript](#typescript)\n* [Typings](#typings)\n* [Frequently asked questions](#frequently-asked-questions)\n* [Support, Questions, or Feedback](#support-questions-or-feedback)\n* [License](#license)\n\n\n## File Structure\nWe use the component approach in our starter. This is the new standard for developing Angular apps and a great way to ensure maintainable code by encapsulation of our behavior logic. A component is basically a self contained app usually in a single file or a folder with each concern as a file: style, template, specs, e2e, and component class. Here's how it looks:\n```\nangular2-webpack-starter/\n ├──config/                    * our configuration\n |   ├──helpers.js             * helper functions for our configuration files\n |   ├──spec-bundle.js         * ignore this magic that sets up our angular 2 testing environment\n |   ├──karma.conf.js          * karma config for our unit tests\n |   ├──protractor.conf.js     * protractor config for our end-to-end tests\n │   ├──webpack.dev.js         * our development webpack config\n │   ├──webpack.prod.js        * our production webpack config\n │   └──webpack.test.js        * our testing webpack config\n │\n ├──src/                       * our source files that will be compiled to javascript\n |   ├──main.browser.ts        * our entry file for our browser environment\n │   │\n |   ├──index.html             * Index.html: where we generate our index page\n │   │\n |   ├──polyfills.ts           * our polyfills file\n │   │\n |   ├──vendor.ts              * our vendor file\n │   │\n │   ├──app/                   * WebApp: folder\n │   │   ├──app.spec.ts        * a simple test of components in app.ts\n │   │   ├──app.e2e.ts         * a simple end-to-end test for /\n │   │   └──app.ts             * App.ts: a simple version of our App component components\n │   │\n │   └──assets/                * static assets are served here\n │       ├──icon/              * our list of icons from www.favicon-generator.org\n │       ├──service-worker.js  * ignore this. Web App service worker that's not complete yet\n │       ├──robots.txt         * for search engines to crawl your website\n │       └──human.txt          * for humans to know who the developers are\n │\n │\n ├──tslint.json                * typescript lint config\n ├──typedoc.json               * typescript documentation generator\n ├──tsconfig.json              * config that webpack uses for typescript\n ├──typings.json               * our typings manager\n └──package.json               * what npm uses to manage it's dependencies\n```\n\n# Getting Started\n## Dependencies\nWhat you need to run this app:\n* `node` and `npm` (`brew install node`)\n* Ensure you're running the latest versions Node `v4.1.x`+ and NPM `2.14.x`+\n\nOnce you have those, you should install these globals with `npm install --global`:\n* `webpack` (`npm install --global webpack`)\n* `webpack-dev-server` (`npm install --global webpack-dev-server`)\n* `karma` (`npm install --global karma-cli`)\n* `protractor` (`npm install --global protractor`)\n* `typings` (`npm install --global typings`)\n* `typescript` (`npm install --global typescript`)\n\n## Installing\n* `fork` this repo\n* `clone` your fork\n* `npm install` to install all dependencies\n* `typings install` to install necessary typings\n* `npm run server` to start the dev server in another tab\n\n## Running the app\nAfter you have installed all dependencies you can now run the app. Run `npm run server` to start a local server using `webpack-dev-server` which will watch, build (in-memory), and reload for you. The port will be displayed to you as `http://0.0.0.0:3000` (or if you prefer IPv6, if you're using `express` server, then it's `http://[::1]:3000/`).\n\n### server\n```bash\n# development\nnpm run server\n# production\nnpm run build:prod\nnpm run server:prod\n```\n\n## Other commands\n\n### build files\n```bash\n# development\nnpm run build:dev\n# production\nnpm run build:prod\n```\n\n### watch and build files\n```bash\nnpm run watch\n```\n\n### run tests\n```bash\nnpm run test\n```\n\n### watch and run our tests\n```bash\nnpm run watch:test\n```\n\n### run end-to-end tests\n```bash\n# make sure you have your server running in another terminal\nnpm run e2e\n```\n\n### run webdriver (for end-to-end)\n```bash\nnpm run webdriver:update\nnpm run webdriver:start\n```\n\n### run Protractor's elementExplorer (for end-to-end)\n```bash\nnpm run webdriver:start\n# in another terminal\nnpm run e2e:live\n```\n\n\n# Contributing\nYou can include more examples as components but they must introduce a new concept such as `Home` component (separate folders), and Todo (services). I'll accept pretty much everything so feel free to open a Pull-Request\n\n# TypeScript\n\u003e To take full advantage of TypeScript with autocomplete you would have to install it globally and use an editor with the correct TypeScript plugins.\n\n## Use latest TypeScript compiler\nTypeScript 1.7.x includes everything you need. Make sure to upgrade, even if you installed TypeScript previously.\n\n```\nnpm install --global typescript\n```\n\n## Use a TypeScript-aware editor\nWe have good experience using these editors:\n\n* [Visual Studio Code](https://code.visualstudio.com/)\n* [Webstorm 10](https://www.jetbrains.com/webstorm/download/)\n* [Atom](https://atom.io/) with [TypeScript plugin](https://atom.io/packages/atom-typescript)\n* [Sublime Text](http://www.sublimetext.com/3) with [Typescript-Sublime-Plugin](https://github.com/Microsoft/Typescript-Sublime-plugin#installation)\n\n# Typings\n\u003e When you include a module that doesn't include Type Definitions inside of the module you need to include external Type Definitions with Typings\n\n## Use latest Typings module\n```\nnpm install --global typings\n```\n\n## Custom Type Definitions\nWhen including 3rd party modules you also need to include the type definition for the module\nif they don't provide one within the module. You can try to install it with typings\n\n```\ntypings install node --save\n```\n\nIf you can't find the type definition in the registry we can make an ambient definition in\nthis file for now. For example\n\n```typescript\ndeclare module \"my-module\" {\n  export function doesSomething(value: string): string;\n}\n```\n\n\nIf you're prototyping and you will fix the types later you can also declare it as type any\n\n```typescript\ndeclare var assert: any;\n```\n\nIf you're importing a module that uses Node.js modules which are CommonJS you need to import as\n\n```typescript\nimport * as _ from 'lodash';\n```\n\nYou can include your type definitions in this file until you create one for the typings registry\nsee [typings/registry](https://github.com/typings/registry)\n\n# Frequently asked questions\n* What's the current browser support for Angular 2 Beta?\n  * Please view the updated list of [browser support for Angular 2](https://github.com/angularclass/awesome-angular2#current-browser-support-for-angular-2)\n* Why is my service, aka provider, is not injecting parameter correctly?\n  * Please use `@Injectable()` for your service for typescript to correctly attach the metadata (this is a TypeScript problem)\n* How do I run protractor with node 0.12.x?\n  * please check out this repo to use the old version of protractor [#146](https://github.com/AngularClass/angular2-webpack-starter/pull/146/files)\n* Where do I write my tests?\n  * You can write your tests next to your component files. See [`/src/app/home/home.spec.ts`](/src/app/home/home.spec.ts)\n* How do I start the app when I get `EACCES` and `EADDRINUSE` errors?\n  * The `EADDRINUSE` error means the port `3000` is currently being used and `EACCES` is lack of permission for webpack to build files to `./dist/`\n* How to use `sass` for css?\n * `loaders: ['raw-loader','sass-loader']` and `@Component({ styles: [ require('./filename.scss') ] })` see issue [#136](https://github.com/AngularClass/angular2-webpack-starter/issues/136)\n* How do I test a Service?\n * See issue [#130](https://github.com/AngularClass/angular2-webpack-starter/issues/130#issuecomment-158872648)\n* How do I add `vscode-chrome-debug` support?\n * The VS Code chrome debug extension support can be done via `launch.json` see issue [#144](https://github.com/AngularClass/angular2-webpack-starter/issues/144#issuecomment-164063790)\n* How do I make the repo work in a virtual machine?\n * You need to use `0.0.0.0` so revert these changes [#205](https://github.com/AngularClass/angular2-webpack-starter/pull/205/files)\n* What are the naming conventions for Angular 2?\n * please see issue [#185](https://github.com/AngularClass/angular2-webpack-starter/issues/185) and PR [196](https://github.com/AngularClass/angular2-webpack-starter/pull/196)\n* How do I include bootstrap or jQuery?\n * please see issue [#215](https://github.com/AngularClass/angular2-webpack-starter/issues/215) and [#214](https://github.com/AngularClass/angular2-webpack-starter/issues/214#event-511768416)\n* I'm getting an error about not finding my module that I installed?\n * please see [How to include or create custom type definitions](https://github.com/AngularClass/angular2-webpack-starter/wiki/How-to-include-or-create-custom-type-definitions) and [custom-typings.d.ts](https://github.com/AngularClass/angular2-webpack-starter/blob/master/src/custom-typings.d.ts)\n* How do I async load a component?\n * see wiki [How-do-I-async-load-a-component-with-AsyncRoute](https://github.com/AngularClass/angular2-webpack-starter/wiki/How-do-I-async-load-a-component-with-AsyncRoute)\n* Error: Cannot find module 'tapable'\n * Remove `node_modules/` and run `npm cache clean` then `npm install`\n* What about Webpack 2?\n * If you're looking for Webpack 2 version then see the [experimental version](https://github.com/gdi2290/angular2-webpack2-starter) that will be merged soon.\n\n# Support, Questions, or Feedback\n\u003e Contact us anytime for anything about this repo or Angular 2\n\n* [Chat: AngularClass.slack](http://angularclass.com/member-join/)\n* [Twitter: @AngularClass](https://twitter.com/AngularClass)\n* [Gitter: AngularClass/angular2-webpack-starter](https://gitter.im/angularclass/angular2-webpack-starter)\n\n___\n\nenjoy — **AngularClass**\n\n\u003cbr\u003e\u003cbr\u003e\n\n[![AngularClass](https://cloud.githubusercontent.com/assets/1016365/9863770/cb0620fc-5af7-11e5-89df-d4b0b2cdfc43.png  \"Angular Class\")](https://angularclass.com)\n##[AngularClass](https://angularclass.com)\n\u003e Learn AngularJS, Angular 2, and Modern Web Development from the best.\n\u003e Looking for corporate Angular training, want to host us, or Angular consulting? patrick@angularclass.com\n\n# License\n [MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facdcjunior%2Frem_angular2-webpack-extrato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facdcjunior%2Frem_angular2-webpack-extrato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facdcjunior%2Frem_angular2-webpack-extrato/lists"}