Skip to content

Commit 8c61269

Browse files
committed
Use npm start to run examples
1 parent 27a4b6f commit 8c61269

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ always be in sync.
3535
### Development
3636

3737
- `npm test` will fire up a karma test runner and watch for changes
38-
- `npm run examples` fires up a webpack dev server that will watch
38+
- `npm start` fires up a webpack dev server that will watch
3939
for changes and build the examples
4040

4141
### Hacking

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ To run and development examples:
55

66
1. Clone this repo
77
2. Run `npm install`
8-
3. Start the development server with `npm run examples`
8+
3. Start the development server with `npm start`
99
4. Point your browser to http://localhost:8080

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build-umd": "NODE_ENV=production webpack modules/index.js lib/umd/History.js",
1515
"build-min": "NODE_ENV=production webpack -p modules/index.js lib/umd/History.min.js",
1616
"build-website": "scripts/build-website.sh",
17-
"examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples --inline",
17+
"start": "webpack-dev-server --config examples/webpack.config.js --content-base examples --inline",
1818
"test": "eslint modules && karma start",
1919
"prepublish": "npm run build"
2020
},

0 commit comments

Comments
 (0)