@@ -12,56 +12,54 @@ npm_link_all_packages(name = "node_modules")
12
12
copy_to_bin (
13
13
name = "ng-base-config" ,
14
14
srcs = [
15
- "angular.json" ,
16
- "tsconfig .json" ,
17
- "package .json" ,
15
+ "angular.json" ,
16
+ "package .json" ,
17
+ "tsconfig .json" ,
18
18
],
19
19
)
20
20
21
21
# Test config files
22
22
copy_to_bin (
23
- name = "ng-base-test-config" ,
24
- srcs = [
25
- "karma-custom-launchers.js" ,
26
- ],
23
+ name = "ng-base-test-config" ,
24
+ srcs = [
25
+ "karma-custom-launchers.js" ,
26
+ ],
27
27
)
28
28
29
29
# Lint config files
30
30
copy_to_bin (
31
- name = "ng-base-lint-config" ,
32
- srcs = [
33
- ".eslintrc.json" ,
34
- ],
31
+ name = "ng-base-lint-config" ,
32
+ srcs = [
33
+ ".eslintrc.json" ,
34
+ ],
35
35
)
36
36
37
-
38
37
# The main application
39
38
ng_app (
40
39
name = "app" ,
41
40
project_name = "material-angular-io" ,
42
41
deps = [
43
- "//:node_modules/@angular/components-examples" ,
44
- "//:node_modules/@stackblitz/sdk" ,
45
- "//:node_modules/path-normalize " ,
46
- "//:node_modules/moment " ,
42
+ "//:node_modules/@angular/components-examples" ,
43
+ "//:node_modules/@stackblitz/sdk" ,
44
+ "//:node_modules/moment " ,
45
+ "//:node_modules/path-normalize " ,
47
46
],
48
47
)
49
48
50
-
51
49
js_test (
52
- name = "audit" ,
53
- entry_point = "tools/audit-docs.js" ,
54
- args = [
55
- "$(location //:build.production)" ,
56
- ],
57
- data = [
58
- "tools/lighthouse-audit.mjs " ,
59
- "//:build.production " ,
60
- "//:node_modules/lighthouse" ,
61
- "//:node_modules/lighthouse-logger" ,
62
- "//:node_modules/puppeteer" ,
63
- "//:node_modules/shelljs" ,
64
- "//:node_modules/light-server" ,
65
- ] ,
66
- tags = ["audit" ],
50
+ name = "audit" ,
51
+ args = [
52
+ "$(location //:build.production)" ,
53
+ ] ,
54
+ data = [
55
+ "tools/lighthouse-audit.mjs" ,
56
+ "//:build.production " ,
57
+ "//:node_modules/light-server " ,
58
+ "//:node_modules/lighthouse" ,
59
+ "//:node_modules/lighthouse-logger" ,
60
+ "//:node_modules/puppeteer" ,
61
+ "//:node_modules/shelljs" ,
62
+ ] ,
63
+ entry_point = "tools/audit-docs.js" ,
64
+ tags = ["audit" ],
67
65
)
0 commit comments