diff --git a/README.md b/README.md index c8ae182..1a18882 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Showcasing QuaggaJS in combination with ReactJS ```bash > npm install -> webpack +> npm run build ``` Open `dist/index.html` in your browser. diff --git a/package.json b/package.json index fab86f7..13845d8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "An example of how to use quagga in combination with react and webpack", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "build": "webpack --config webpack.config.js" }, "keywords": [ "quagga", @@ -26,4 +27,4 @@ "webpack": "^1.12.2", "webpack-dev-server": "^1.12.0" } -} +} \ No newline at end of file