From be34998d68b6e23e093d85e52255897fe9e601d0 Mon Sep 17 00:00:00 2001 From: Thiago Zanetti Date: Wed, 26 Feb 2020 14:24:32 -0300 Subject: [PATCH] Adding instructions to run the new example (#70) --- README.md | 3 +-- package.json | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a95f2fe..22885a5 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index fdcd3de..722e982 100644 --- a/package.json +++ b/package.json @@ -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",