@@ -3,17 +3,31 @@ Angular2 with TypeScript and Gulp
3
3
4
4
A basic Angular2 application with Gulp as build system.
5
5
6
- Prerequisites
7
- -------------
6
+ #### 1. Prerequisites
7
+
8
+ * nodejs* must be installed on your system and the below global node packages must be installed:
9
+
10
+ - gulp
11
+
12
+ > npm i -g gulp
13
+
14
+ - gulp-cli
15
+
16
+ > npm i -g gulp-cli
8
17
9
- - nodejs
10
- - gulp and gulp-cli
11
18
- typings
12
- - typescrit
19
+
20
+
21
+
22
+ - typescript
23
+
24
+
25
+
13
26
- ts-node
14
27
15
- Running
16
- -------
28
+
29
+
30
+ #### 2. Cloning the repository
17
31
18
32
Clone the repository:
19
33
@@ -23,23 +37,31 @@ Navigate to `angular2-typescript-gulp` directory:
23
37
24
38
> cd angular2-typescript-gulp
25
39
26
- Install dependencies:
40
+ #### 3. Installing dependencies
41
+
42
+ Install dependencies by running the following command:
27
43
28
44
> npm install
29
45
30
- ` node_modules ` and ` typings ` directories should be created during the install.
46
+ ` node_modules ` and ` typings ` directories will be created during the install.
31
47
32
- Build the project:
48
+ #### 4. Building the project
49
+
50
+ Build the project by running the following command:
33
51
34
52
> npm run clean & npm run build
35
53
36
- ` build ` directory should be created during the build
54
+ ` build ` directory will be created during the build
55
+
56
+ #### 5. Starting the application
57
+
58
+ Start the application by running the following command:
37
59
38
60
> npm start
39
61
40
- The application should be displayed in the browser.
62
+ The application will be displayed in the browser.
41
63
42
64
Resources
43
65
---------
44
66
45
- - A step-by-step tutorial - http://blog.codeleak.pl/2016/03/quickstart-angular2-with-typescript-and.html
67
+ - [ A step-by-step tutorial] ( http://blog.codeleak.pl/2016/03/quickstart-angular2-with-typescript-and.html )
0 commit comments