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 1315cdd commit 8c30225
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 @@ -116,7 +116,7 @@ To use the Material theme, import the correspondent file from the `theme/materia

1. When in the `vaadin-combo-box` 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 @@ -27,6 +27,8 @@
},
"scripts": {
"test": "wct",
"prestart": "polymer analyze vaadin-* > analysis.json",
"start": "polymer serve --open",
"preversion": "gulp version:update"
}
}

0 comments on commit 8c30225

Please sign in to comment.