node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

sabium-framework

OctopusFramework

Frameworks utilizados

  • AngularJs 2 (2.0.0)
  • AngularCli (1.0.0-beta.21)
  • Typescript (2..0.2)
  • DevExtreme (16.2.3)

1) Instalação do projeto

npm install

2) Compilar o projeto

ng lint ng build

3) Rodar o projeto e escuta alterações

ng serve

Navegar em: http://localhost:4200/

4) Compilar o projeto para produção

ng build --env=prod

Compilar e rodar os testes KARMA (JASMINE & COVERAGE)

ng test

Compilar e rodar os testes PROTRACTOR (JASMINE)

ng serve ng e2e

Gerar componentes dinamicamente

ng generate component diretorio/NomeDoComponente

Outras opções: 'directive, pipe, service, class'

Compilar projeto para produção

tsc -p src/tsconfig-prod.json copiar de /package.json para dist/app/package.json e mudar a versão

Referências

Terceiros utilizados

https://html-cleaner.com/

NG_VALUE_ACCESSOR http://blog.ng-book.com/the-ultimate-guide-to-forms-in-angular-2/ https://plnkr.co/edit/T3RgJTrUuDztkZUO6N0O?p=preview http://blog.rangle.io/how-angular-2-form-models-work/ https://embed.plnkr.co/nqKUSPWb6w5QXr8a0wEu/?show=preview https://medium.com/@paynoattn/custom-angular2-form-components-using-formbuilder-bb9068cd4057#.3gm5qt1xw http://stackoverflow.com/questions/34948961/angular-2-custom-form-input/37786142#37786142 http://www.it1me.com/it-answers?id=34948961&s=Template:Muslimmonths&ttl=Angular+2+custom+form+input http://blog.thoughtram.io/angular/2016/07/27/custom-form-controls-in-angular-2.html http://stackoverflow.com/questions/34948961/angular-2-custom-form-input https://codedump.io/share/m4HNzx4scoTO/1/how-to-register-a-dynamically-added-custom-component-as-a-form-control-within-a-formgroup

datepicker https://www.npmjs.com/package/ng2-datepicker#example-from-demo https://www.npmjs.com/package/ng2-datetime-picker
https://limonte.github.io/sweetalert2/

How to build and publish angular module

https://medium.com/@cyrilletuzi/how-to-build-and-publish-an-angular-module-7ad19c0b4464#.qocs49p6l