Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 793 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 793 Bytes

New York Time Search artical with Angular 2

nyt api : https://developer.nytimes.com/

npm scripts

  • npm start - runs the compiler and a server at the same time, both in "watch mode".
  • npm run tsc - runs the TypeScript compiler once.
  • npm run tsc:w - runs the TypeScript compiler in watch mode; the process keeps running, awaiting changes to TypeScript files and re-compiling when it sees them.
  • npm run lite - runs the lite-server, a light-weight, static file server, written and maintained with excellent support for Angular apps that use routing.

Here are the test related scripts:

  • npm test - compiles, runs and watches the karma unit tests
  • npm run e2e - run protractor e2e tests, written in JavaScript (*e2e-spec.js)