Skip to content

Commit

Permalink
fix: generate analysis.json on npm start
Browse files Browse the repository at this point in the history
Fixes error 'Could not load descriptor "analysis.json".' (404) which caused the whole documentation to be broken (no information) when running "polymer serve".
Also adds "--open" flag to polymer serve to align with vaadin-element-skeleton.
  • Loading branch information
Haprog authored and web-padawan committed Mar 15, 2019
1 parent ef817c3 commit ab4b283
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"vaadin-icons.js"
],
"scripts": {
"start": "polymer serve --port 3000"
"prestart": "polymer analyze vaadin-* > analysis.json",
"start": "polymer serve --port 3000 --open"
},
"homepage": "https://vaadin.com/icons",
"devDependencies": {
Expand Down

0 comments on commit ab4b283

Please sign in to comment.