kolorobot / angular2-typescript-gulp

A basic Angular2 application with Gulp as build system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular2 with TypeScript and Gulp

A basic Angular2 application with Gulp as build system.

1. Prerequisites

nodejs must be installed on your system and the below global node packages must be installed:

  • gulp

npm i -g gulp

  • gulp-cli

npm i -g gulp-cli

  • typings

npm i -g typings@1.3.3

  • typescript

npm i -g typescript@2.0.2

  • ts-node

npm i -g ts-node@1.3.0

2. Cloning the repository

Clone the repository:

git clone https://github.com/kolorobot/angular2-typescript-gulp.git

Navigate to angular2-typescript-gulp directory:

cd angular2-typescript-gulp

3. Installing dependencies

Install dependencies by running the following command:

npm install

node_modules and typings directories will be created during the install.

4. Building the project

Build the project by running the following command:

npm run clean & npm run build

build directory will be created during the build

5. Starting the application

Start the application by running the following command:

npm start

The application will be displayed in the browser.

Resources

About

A basic Angular2 application with Gulp as build system.

License:MIT License


Languages

Language:TypeScript 63.5%Language:HTML 22.2%Language:JavaScript 13.8%Language:CSS 0.5%