diff --git a/README.md b/README.md index c3fff7f..4a1a625 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ jQuery.extend(verge) ```sh -$ ender build verge +ender build verge ``` ## Contribute @@ -158,8 +158,8 @@ $ ender build verge Contribute by making edits in [`/src`](./src) or reporting [issues](../../issues). ```sh -$ npm install -$ grunt jshint:src +npm install +npm test ``` ## Fund diff --git a/package.json b/package.json index 738b9e7..4cd092f 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,18 @@ "keywords": ["viewport", "dimensions", "responsive", "media queries", "ender"], "main": "./verge.js", "ender": "./src/ender.js", + "scripts": { + "preversion": "npm test", + "test": "grunt jshint:src" + }, "repository": { "type": "git", "url": "https://github.com/ryanve/verge.git" - }, + }, "devDependencies": { "grunt": "~0.4.2", "grunt-contrib-uglify": "~0.3.0", "grunt-contrib-concat": "~0.3.0", "grunt-contrib-jshint": "~0.8.0" } -} \ No newline at end of file +}