Skip to content

Commit

Permalink
Add 'npm start' script
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Dec 20, 2018
1 parent aba708b commit 564762a
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 @@ -100,7 +100,7 @@ To use the Material theme, import the correspondent file from the `theme/materia

1. When in the `vaadin-button` directory, run `npm install` and then `bower install` to install dependencies.

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 @@ -24,6 +24,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 564762a

Please sign in to comment.