From aed3c2e271b19105396c8cd2f7906f915dd15e35 Mon Sep 17 00:00:00 2001 From: Olivier Lambert Date: Tue, 6 Oct 2015 12:42:22 +0200 Subject: [PATCH] add npm build script and update the doc accordingly --- README.md | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78e57b98..fc49bc4a 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ To run the app from source, just clone the code and run this in your terminal: ``` npm install -grunt -./index.js --port 8080 +npm run build +npm start -- --port 8080 ``` And if you don't have [grunt](http://gruntjs.com/getting-started) installed already, just run `npm install -g grunt-cli`. diff --git a/package.json b/package.json index 50684d23..3f06de0e 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "scripts": { "start": "node index", + "build": "grunt", "test": "HOME=test/fixtures mocha test/**/*.js" }, "keywords": [