Skip to content

Commit

Permalink
Adding instructions to run the new example (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagozanetti authored Feb 26, 2020
1 parent c33b38f commit be34998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export default BrlCurrencyComponent;
To run the example:

```sh
$ npm run example:build
$ npm run example:serve
$ npm run example:start
```

And a new browser window will open at [http://localhost:8080](http://localhost:8080)
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "react-intl-currency-input",
"version": "0.2.0",
"version": "0.2.1",
"description": "A React component for i18n currency input using the Intl API.",
"main": "dist/index.js",
"scripts": {
"build": "babel src --out-dir dist",
"prepublish": "npm run build"
"prepublish": "npm run build",
"example:start": "npm run build && cd example && npm start"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit be34998

Please sign in to comment.