4
4
## Features
5
5
6
6
* [ Gulp] ( http://gulpjs.com/ ) for task automation
7
- * Compiles and concats your SASS
7
+ * Compiles and concats your sass
8
8
* Local development server with [ Apache Ripple] ( http://ripple.incubator.apache.org/ ) included
9
- * Providing custom Ionic changes in a seperate SASS file
9
+ * Providing custom Ionic changes in a seperate sass file
10
10
* [ ng-cordova] ( http://ngcordova.com/ ) is built in
11
11
12
12
## Installation
@@ -18,10 +18,10 @@ npm install -g yo
18
18
npm install -g generator-ionic-incubator
19
19
```
20
20
21
- Then generate your new project:
21
+ Then generate your new project inside your app directory :
22
22
23
23
``` bash
24
- yo generator- ionic-incubator
24
+ yo ionic-incubator
25
25
```
26
26
27
27
To run the application just run:
@@ -30,6 +30,86 @@ To run the application just run:
30
30
gulp
31
31
```
32
32
33
+ ## Workflow commands
34
+
35
+ ### ` gulp ` or ` gulp default `
36
+
37
+ Runs the following commands: ` clean, fonts, templates, styles, images, vendor, buildIndex, watchers, serve `
38
+
39
+ ### ` gulp -b ` or ` gulp default -b `
40
+
41
+ Runs the following commands: ` clean, fonts, templates, styles, images, vendor, buildIndex `
42
+
43
+ ### ` gulp -e ` or ` gulp default -e `
44
+
45
+ Runs the following commands: ` clean, fonts, templates, styles, images, vendor, buildIndex, ionic:emulate, watchers `
46
+ (Make sure you've added a platform before running this command)
47
+
48
+ ### ` gulp -r ` or ` gulp default -r `
49
+
50
+ Runs the following commands: ` clean, fonts, templates, styles, images, vendor, buildIndex, ionic:run `
51
+ (Make sure you've added a platform before running this command)
52
+
53
+ ### ` gulp clean `
54
+
55
+ Deletes the ` www ` folder.
56
+
57
+ ### ` gulp styles `
58
+
59
+ Concatenates, autoprefixes and strips comments from the scss files into a single main.css file.
60
+
61
+ ### ` gulp scripts `
62
+
63
+ Concatenates, and uglifies js files from the templates and scripts directories into a single app.js file.
64
+
65
+ ### ` gulp fonts `
66
+
67
+ Builds a webfont from the Ionicons webfont.
68
+
69
+ ### ` gulp templates `
70
+
71
+ Copies the templates directory from the ` src ` folder to the ` www ` folder.
72
+
73
+ ### ` gulp images `
74
+
75
+ Copies the images directory from the ` src ` folder to the ` www ` folder.
76
+
77
+ ### ` gulp jsHint `
78
+
79
+ Lints the js files based on the .jshintrc ruleset.
80
+
81
+ ### ` gulp vendor `
82
+
83
+ Concatenates and uglifies all the vendor scripts and places the vendor.js file in the ` www ` directory.
84
+
85
+ ### ` gulp buildIndex `
86
+
87
+ Injects the css and js files into the index.html file.
88
+
89
+ ### ` gulp karma `
90
+
91
+ Runs the [ Karma] ( http://karma-runner.github.io/ ) unit tests.
92
+
93
+ ### ` gulp protractor `
94
+
95
+ Runs the [ Protractor] ( http://www.protractortest.org/ ) E2E tests.
96
+
97
+ ### ` gulp watchers `
98
+
99
+ Starts watching the scss, fonts, images and template files.
100
+
101
+ ### ` gulp ripple `
102
+
103
+ Launches [ Apache Ripple] ( http://ripple.incubator.apache.org/ ) (make sure you've added a platform before running this command).
104
+
105
+ ## Changelog
106
+
107
+ ### 0.1.0
108
+
109
+ * Update to [ Ionic 1.2.0] ( https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#120-zirconium-zeren-2015-12-09 ) .
110
+ * Update the readme.
111
+ * Change the tilde into a carret for angular-mocks.
112
+
33
113
## License
34
114
35
115
MIT © [ Pieter Bogaerts] ( http://www.goedonthouden.com/ )
0 commit comments