Skip to content

Commit ac0ae0d

Browse files
committed
docs(readme): update gulp stuff, options, move injecting section
[skip ci]
1 parent 60b23bf commit ac0ae0d

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

readme.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Run `yo angular-fullstack`, optionally passing an app name:
2929
yo angular-fullstack [app-name]
3030
```
3131

32-
Run `grunt` for building, `grunt serve` for preview, and `grunt serve:dist` for a preview of the built app.
32+
Run `grunt`/`gulp build` for building, `grunt serve`/`gulp serve` for development, and `grunt serve:dist`/`gulp serve:dist` for a preview of the built app.
3333

3434
## Prerequisites
3535

@@ -50,6 +50,7 @@ Run `grunt` for building, `grunt serve` for preview, and `grunt serve:dist` for
5050
**Client**
5151

5252
* Scripts: `JavaScript (Babel)`, `TypeScript`
53+
* Module Systems: `Bower`, `Webpack` (soon), `SystemJS + JSPM` (planned)
5354
* Markup: `HTML`, `Jade`
5455
* Stylesheets: `CSS`, `Stylus`, `Sass`, `Less`
5556
* Angular Routers: `ngRoute`, `ui-router`
@@ -58,25 +59,14 @@ Run `grunt` for building, `grunt serve` for preview, and `grunt serve:dist` for
5859

5960
**Server**
6061

61-
* Scripts: `JavaScript (Babel)`
62+
* Scripts: `JavaScript (Babel)`, `TypeScript` (planned)
6263
* Database:
6364
* `None`,
6465
* `MongoDB`, `SQL`
6566
* Authentication boilerplate: `Yes`, `No`
6667
* oAuth integrations: `Facebook` `Twitter` `Google`
6768
* Socket.io integration: `Yes`, `No`
6869

69-
## Injection
70-
71-
A grunt/gulp task looks for new files in your `client/app` and `client/components` folder and automatically injects them in the appropriate places based on an injection block.
72-
73-
* `less` files into `client/app/app.less`
74-
* `scss` files into `client/app/app.scss`
75-
* `stylus` files into `client/app/app.styl`
76-
* `css` files into `client/index.html`
77-
* `js` files into `client/index.html`
78-
* `babel`/`typescript` temp `js` files into `client/index.html`
79-
* `typescript types` into `tsconfig.client.json` & `tsconfig.client.test.json`
8070

8171
## Generators
8272

@@ -125,6 +115,19 @@ These packages are installed optionally depending on your configuration:
125115

126116
All of these can be updated with `bower update` as new versions are released.
127117

118+
## Injection
119+
120+
A grunt/gulp task looks for new files in your `client/app` and `client/components` folder and automatically injects them in the appropriate places based on an injection block.
121+
122+
* `less` files into `client/app/app.less`
123+
* `scss` files into `client/app/app.scss`
124+
* `stylus` files into `client/app/app.styl`
125+
* `css` files into `client/index.html`
126+
* `js` files into `client/index.html`
127+
* `babel`/`typescript` temp `js` files into `client/index.html`
128+
* `typescript types` into `tsconfig.client.json` & `tsconfig.client.test.json`
129+
130+
128131
## Configuration
129132
Yeoman generated projects can be further tweaked according to your needs by modifying project files appropriately.
130133

0 commit comments

Comments
 (0)