@@ -67,10 +67,10 @@ View all the directives and components in action at [https://angular-material-ex
67
67
<a name =" peerDependencies " />
68
68
69
69
## Requirements (peer dependencies):
70
- - [ angular animations v7.0.2 ] ( https://www.npmjs.com/package/@angular/animations )
71
- - [ angular http v7.0.2 ] ( https://www.npmjs.com/package/@angular/http )
72
- - [ angular cdk v7.0.2 ] ( https://www.npmjs.com/package/@angular/cdk )
73
- - [ angular material v7.0.2 ] ( https://www.npmjs.com/package/@angular/material )
70
+ - [ angular animations v7.x ] ( https://www.npmjs.com/package/@angular/animations )
71
+ - [ angular http v7.x ] ( https://www.npmjs.com/package/@angular/http )
72
+ - [ angular cdk v7.x ] ( https://www.npmjs.com/package/@angular/cdk )
73
+ - [ angular material v7.x ] ( https://www.npmjs.com/package/@angular/material )
74
74
75
75
- [ angular material theme] ( https://material.angular.io/guide/getting-started#step-4-include-a-theme )
76
76
@@ -208,30 +208,22 @@ Please checkout the full documentation [here](https://angular-material-extension
208
208
$ git clone https://github.com/angular-material-extensions/link-preview.git
209
209
```
210
210
211
- - link the ** @angular-material-extensions/link-preview ** package
211
+ - setup the ** @angular-material-extensions/link-preview ** package
212
212
213
213
``` bash
214
- $ gulp link
214
+ $ gulp setup
215
215
```
216
216
217
217
- navigate to the demo app directory
218
218
``` bash
219
219
$ cd demo
220
220
```
221
221
222
- - install the dependencies
222
+ - install the dependencies and run the app
223
223
``` bash
224
- $ npm i
224
+ $ npm i && npm start
225
225
```
226
226
227
- - run/start/serve the app
228
- ``` bash
229
- $ npm run start
230
- ```
231
- or
232
- ``` bash
233
- $ ng serve --open
234
- ```
235
227
- the app is now hosted by ` http://localhost:4200/ `
236
228
237
229
@@ -241,22 +233,12 @@ $ ng serve --open
241
233
242
234
1 . clone this [ repo] ( https://github.com/angular-material-extensions/link-preview.git )
243
235
2 . Install the dependencies by running ` npm i `
244
- 3 . build the library ` npm run build ` or ` gulp build `
245
- To generate all ` *.js ` , ` *.d.ts ` and ` *.metadata.json ` files:
246
-
247
- ``` bash
248
- $ npm run build
249
- ```
250
-
251
- 4 . Link the library
252
- - on windows ` gulp link ` or locally ` npx gulp link `
253
- - on mac/linux ` sudo gulp link ` or locally ` sudo npx gulp link `
254
-
255
- 5 . Navigate to the demo app's directory
236
+ 3 . setup the library ` gulp setup `
237
+ 4 . Navigate to the demo app's directory
256
238
- ` cd demo `
257
- _ ` npm i `
258
- _ ` npm start `
259
-
239
+ _ ` npm i && npm start `
240
+
241
+ ---
260
242
261
243
262
244
<a name =" other-angular-libraries " />
0 commit comments