This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 16
16
"test" : " test.ts" ,
17
17
"tsconfig" : " tsconfig.json" ,
18
18
"prefix" : " app" ,
19
- "mobile " : false ,
19
+ "serviceWorker " : true ,
20
20
"styles" : [
21
21
" main.scss" ,
22
22
" highlightjs/material-light.css" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "external" : {
3
+ "urls" : [
4
+ {"url" : " https://fonts.googleapis.com/icon?family=Material+Icons" },
5
+ {"url" : " https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono" },
6
+ {"url" : " https://ajax.googleapis.com/ajax/libs/hammerjs/2.0.8/hammer.min.js" },
7
+ {"url" : " https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.2.5/web-animations.min.js" }
8
+ ]
9
+ }
10
+ }
Original file line number Diff line number Diff line change 9
9
"test" : " ng test" ,
10
10
"pree2e" : " webdriver-manager update" ,
11
11
"e2e" : " protractor" ,
12
+ "fetch-local" : " bash ./tools/fetch-assets-local.sh" ,
12
13
"build-themes" : " bash ./tools/build-themes.sh" ,
13
- "prod-build" : " npm run build-themes && ng build --aot --prod && npm run prerender && cp -r tmp/prerendered/* dist/ " ,
14
+ "prod-build" : " npm run build-themes && ng build --aot --prod" ,
14
15
"postinstall" : " webdriver-manager update && bash ./tools/fetch-assets.sh" ,
15
16
"publish-prod" : " npm run build-themes && ng build --aot --prod && firebase use material-angular-io && firebase deploy" ,
16
17
"publish-dev" : " npm run build-themes && ng build --aot --prod && firebase use material2-docs-dev && firebase deploy"
28
29
"@angular/platform-browser" : " ^4.0.0" ,
29
30
"@angular/platform-browser-dynamic" : " ^4.0.0" ,
30
31
"@angular/router" : " ^4.0.0" ,
32
+ "@angular/service-worker" : " ^1.0.0-beta.16" ,
31
33
"core-js" : " ^2.4.1" ,
32
34
"rxjs" : " ^5.1.0" ,
33
35
"zone.js" : " ^0.8.4"
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " Angular.io" ,
2
+ "name" : " Angular Material" ,
3
+ "short_name" : " Angular Material" ,
4
+ "theme_color" : " #FFFFFF" ,
5
+ "background_color" : " #3F51B5" ,
6
+ "start_url" : " /" ,
7
+ "display" : " standalone" ,
8
+ "orientation" : " portrait" ,
3
9
"icons" : [
4
10
{
5
11
"src" : " \/ android-chrome-36x36.png" ,
You can’t perform that action at this time.
0 commit comments