diff --git a/README.md b/README.md index 1d73a8f9..b2ff9c1b 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,10 @@ 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`. - ## License Available under the [MIT License](http://mths.be/mit). 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": [