Code Monkey home page Code Monkey logo

angular2-helloworld's Introduction

Hello World Angular2 Project

Tooling in details

  • package.json file in a directory indicates that the directory is the root of a node project.

Step - 0 : Intialize a node project / npm project

npm init -y

Step - 1 - install angular2 core depedency

npm install @angular/common @angular/compiler @angular/core @angular/forms @angular/http @angular/platform-browser @angular/platform-browser-dynamic @angular/router --save

Step - 2 - install lib, Libraries that Angular2 is dependent on

npm install core-js rxjs systemjs zone.js reflect-metadata --save

ISC - License

  • Internet System Consortium - most frequently used license with nodejs project and npm

Step - 3 - Install Dev dependencies to run the project

npm install concurrently lite-server typescript typings systemjs-builder yargs --save-dev details - concurrently: Run multiple commands concurrently. Like npm run watch-js & npm run watch-less but better.

	- Lightweight development node server for serving a web app, 
	- providing a fallback for browser history API, 
	- loading in the browser, and injecting scripts on the fly.

- typescript JavaScript with Types Defined.

- typings - The TypeScript Definition Manager.

- Systemjs-builder Builds ES6 into ES5, CommonJS, AMD and globals into a single file in a way that supports the CSP SystemJS loader as well as circular references.

- Yargs - arguments handling for nodejs, Light-weight option parsing with an argv hash

tsconfig.json

#file in a directory indicates that the directory is the root of a TypeScript project.

typings.json

#Typings is the simple way to manage and install TypeScript definitions. It uses typings.json , which can resolve to the Typings Registry, GitHub, NPM, Bower,
## npm install -g typings
## https://github.com/typings/typings more detailed way of managing typings

jsconfig.json

## VS Code JavaScript Project

bs-config.json

##Lightweight development only node server that serves a web app, opens it in the browser, refreshes when html or javascript change, injects CSS changes using sockets, and has a fallback page when a route is not found.		

typings init

Intialize Typings.json

typings install dt~core-js --save --global install typings for core-js **dt - The repository for high quality TypeScript type definitions. http://definitelytyped.org/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.