npm i
npm start
npm install bootstrap@4.0.0-alpha.5 --save
npm install --save @ng-bootstrap/ng-bootstrap
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
and including in the import array
npm install immutable --save ->To install immutable
npm install -g json-server
json-server https://jsonplaceholder.typicode.com/db
npm install -g typings --save
typings install --global --save dt~underscore
npm install @types/circular-json --save
npm install redux ng2-redux --save npm install tassign --save -> type safe version of assign object npm install immutable --save
##Removed Commands from package.json ng build --prod ng build --test ng lint ng lint --fix "test": "ng test --code-coverage", "e2e": "ng e2e", "deploy:gh": "ng build --prod --base-href='https://ybanda.github.io/Angular4App/' && ngh"
- Auto import and TSLint plugins for better development in VS.Code
- npm i -g angular-cli-ghpages
- ng build --prod --base-href="https://ybanda.github.io/Angular4App/"
- ngh --no-silent
- npm i -g firebase-tools
- firebase login
- firebase init
- Db
- Functions
- Hosting
- firebase deploy
-
heroku --version
-
heroku login
-
heroku create ybanda-angular4app
-
heroku open
-
npm i express --save
"start": "ng serve -o", "postinstall": "ng build --prod",
"start": "node server.js", "postinstall": "ng build --prod",
-
git add .
-
git commit -m "heroku deploy"
-
git push heroku master