You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed livereload on adding new files/deleting during development.
Added mirror delete.
Fixed broken reference to the latest version of AngularUI Router in bower.json.
Removed unused plugins from package.json.
Added comments to gulpfile.
Moved configuration to separate JSON file.
Updated README.md.
Copy file name to clipboardExpand all lines: README.md
+34-28Lines changed: 34 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,40 +1,40 @@
1
-
# ng-devstack v0.1.0
1
+
# ng-devstack v0.2.0
2
2
3
3
#### Everything a front-end developer needs to simplify building AngularJS applications.
4
4
5
5
## Why ng-devstack?
6
6
7
7
This project has been inspired by another great concept [ngBoilerplate](http://joshdmiller.github.io/ng-boilerplate/), allowing to create modern web applications in AngularJS. It follows all the best practices introduced in ngBoilerplate such as component/feature-oriented directory structure, intelligent build system, etc. However, I decided to improve it a little bit and create my own boilerplate from scratch since I missed some basic features like:
8
8
9
-
* applying changes in real-time on adding new files to project,
10
-
* image optimization,
11
-
* remove redundant code on compiling output HTML,
12
-
* plus ngBoilerplate hasn't been updated for months.
9
+
- applying changes in real-time on adding new files to project,
10
+
- image optimization,
11
+
- remove redundant code on compiling output HTML,
12
+
- plus ngBoilerplate hasn't been updated for months.
13
13
14
14
Now this all has been made possible. Please welcome **ng-devstack**!
15
15
16
16
## Features
17
17
18
-
* integration with gulp,
19
-
* package management with Bower,
20
-
* feature-oriented directory structure,
21
-
* Livereload fully handled server-side with NodeJS/Express (without installing additional extensions for browsers),
22
-
* real-time applying changes to website on adding new files (forget about manual rebuild the app),
23
-
* caching AngularJS templates to avoid additional server requests,
24
-
* pre-minifying AngularJS files to fix AngularJS' dependency injection upon minification,
25
-
* support for SASS (including Twitter Bootstrap official port to SASS),
26
-
* support for JSHint,
27
-
* minify JS/CSS/HTML,
28
-
* remove logging (`console.log()`, etc.) from compiled JS code,
29
-
* image optimization on build (see *Additional Info* for details),
30
-
*`html5Mode` support (see *Additional Info* for details),
31
-
* integration with AngularUI Router & AngularUI Bootstrap.
18
+
- integration with gulp,
19
+
- package management with Bower,
20
+
- feature-oriented directory structure,
21
+
- Livereload fully handled server-side with NodeJS/Express (without installing additional extensions for browsers),
22
+
- real-time applying changes to website on adding/deleting files (forget about manual rebuild the app),
23
+
- caching AngularJS templates to avoid additional server requests,
24
+
- pre-minifying AngularJS files to fix AngularJS' dependency injection upon minification,
25
+
- support for SASS (including Twitter Bootstrap official port to SASS),
26
+
- support for JSHint,
27
+
-JS/CSS/HTML minification,
28
+
- remove logging (`console.log()`, etc.) from compiled JS code,
29
+
- image optimization (see *Additional Info* for details),
30
+
-`html5Mode` support (see *Additional Info* for details),
31
+
- integration with AngularUI Router & AngularUI Bootstrap.
32
32
33
33
## Requirements
34
34
35
-
* Ruby
36
-
* NodeJS
37
-
* Bower
35
+
- Ruby
36
+
- NodeJS
37
+
- Bower
38
38
39
39
## Installation
40
40
@@ -83,15 +83,19 @@ $ gulp
83
83
```
84
84
85
85
## Additional info
86
+
87
+
Vendor files downloaded with Bower can be added manually by editing `'vendor_files'` section in `config.json` file.
88
+
86
89
If you would like to enable AngularJS HTML5 mode, you have to uncomment 2 lines in `src/app/app.js` and `server.js`:
87
-
*`src/app/app.js`:
90
+
91
+
-`src/app/app.js`:
88
92
89
93
>
90
94
```
91
95
// $locationProvider.html5Mode(true);
92
96
```
93
97
94
-
*`server.js`:
98
+
-`server.js`:
95
99
96
100
>
97
101
```
@@ -105,12 +109,14 @@ In addition, image optimization is turned off by default but in case you need it
- Outdated libsass in node-sass. This is a main cause of a bug with compiling Twitter Bootstrap SASS to CSS (see [this](https://github.com/andrew/node-sass/issues/233) thread and [this](https://github.com/dlmanning/gulp-sass/issues/1) for details). Not a gulp-sass issue! Temporarily using Ruby version (slower but stable).
115
+
108
116
## TODO
109
117
118
+
- replace Ruby SASS compiler with NodeJS equivalent
0 commit comments