Skip to content

Commit 564762a

Browse files
author
Limon Monte
committed
Add 'npm start' script
1 parent aba708b commit 564762a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ To use the Material theme, import the correspondent file from the `theme/materia
100100

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

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

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

Diff for: package.json

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
],
2525
"scripts": {
2626
"test": "wct",
27+
"prestart": "polymer analyze vaadin-* > analysis.json",
28+
"start": "polymer serve --open",
2729
"preversion": "gulp version:update"
2830
},
2931
"devDependencies": {

0 commit comments

Comments
 (0)