Skip to content

Commit

Permalink
Groundwork for using npm scripts (#31)
Browse files Browse the repository at this point in the history
* npm test

* preversion hook

* Remove $ from commands for easier copy and paste

* prefer running via npm
  • Loading branch information
ryanve authored May 29, 2017
1 parent 949ac6c commit 63556e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,16 @@ jQuery.extend(verge)


```sh
$ ender build verge
ender build verge
```

## Contribute

Contribute by making edits in [`/src`](./src) or reporting [issues](../../issues).

```sh
$ npm install
$ grunt jshint:src
npm install
npm test
```

## Fund
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}

0 comments on commit 63556e2

Please sign in to comment.