Skip to content

Commit

Permalink
Add 'npm start' script
Browse files Browse the repository at this point in the history
  • Loading branch information
Limon Monte committed Dec 20, 2018
1 parent ef3cd6e commit bf0bc79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ To use the Material theme, import the correspondent file from the `theme/materia

1. Make sure you have [polymer-cli](https://www.npmjs.com/package/polymer-cli) installed globally: `npm i -g polymer-cli`.

1. Run `polymer serve --open`, browser will automatically open the component API documentation.
1. Run `npm start`, browser will automatically open the component API documentation.

1. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example:

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
],
"scripts": {
"test": "wct",
"prestart": "polymer analyze vaadin-* > analysis.json",
"start": "polymer serve --open",
"preversion": "gulp version:update"
},
"devDependencies": {
Expand Down

0 comments on commit bf0bc79

Please sign in to comment.