This repository was archived by the owner on May 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -103,3 +103,13 @@ Use [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/
103
103
[ Node.js ] : http://nodejs.org/
104
104
[ npm ] : https://www.npmjs.com/
105
105
[ Protractor ] : https://github.com/angular/protractor
106
+
107
+ ## Project Analytics
108
+
109
+ ### Web Pack Bundle Analyzer
110
+ Produces analysis report on the project webpack bundles.
111
+
112
+ $ ng build --prod --stats-json
113
+ $ npm run bundle-report
114
+
115
+ You can view the results via your browser at: http://127.0.0.1:8888/
Original file line number Diff line number Diff line change 11
11
"e2e" : " ng e2e" ,
12
12
"install" : " napa pivotal-cf/pivotal-ui:pivotal-ui-git-clone" ,
13
13
"doc" : " ./node_modules/.bin/compodoc -p tsconfig.json -n \" Spring Cloud Data Flow Dashboard Documentation\" " ,
14
- "mavenbuild" : " node ./node_modules/@angular/cli/bin/ng test --code-coverage true --watch false --browsers PhantomJS && node ./node_modules/@angular/cli/bin/ng build --prod --output-path ./../src/main/resources/public/dashboard --base-href /dashboard/"
14
+ "mavenbuild" : " node ./node_modules/@angular/cli/bin/ng test --code-coverage true --watch false --browsers PhantomJS && node ./node_modules/@angular/cli/bin/ng build --prod --output-path ./../src/main/resources/public/dashboard --base-href /dashboard/" ,
15
+ "bundle-report" : " webpack-bundle-analyzer dist/stats.json"
15
16
},
16
17
"private" : true ,
17
18
"dependencies" : {
45
46
"@angular/cli" : " 1.3.0" ,
46
47
"@angular/compiler-cli" : " ^4.2.4" ,
47
48
"@angular/language-service" : " ^4.2.4" ,
49
+ "@compodoc/compodoc" : " ^1.0.0-beta.13" ,
48
50
"@types/d3" : " ^4.10.0" ,
49
51
"@types/jasmine" : " ~2.5.53" ,
50
52
"@types/jasminewd2" : " ~2.0.2" ,
58
60
"karma-coverage-istanbul-reporter" : " ^1.2.1" ,
59
61
"karma-jasmine" : " ~1.1.0" ,
60
62
"karma-jasmine-html-reporter" : " ^0.2.2" ,
63
+ "karma-phantomjs-launcher" : " ^1.0.4" ,
64
+ "napa" : " ^2.3.0" ,
61
65
"protractor" : " ~5.1.2" ,
62
66
"ts-node" : " ~3.2.0" ,
63
67
"tslint" : " ~5.3.2" ,
64
68
"typescript" : " ~2.4.2" ,
65
- "karma-phantomjs-launcher" : " ^1.0.4" ,
66
- "napa" : " ^2.3.0" ,
67
- "@compodoc/compodoc" : " ^1.0.0-beta.13"
69
+ "webpack-bundle-analyzer" : " ^2.9.0"
68
70
},
69
71
"napa-config" : {
70
72
"cache" : false
You can’t perform that action at this time.
0 commit comments