Skip to content

Commit

Permalink
Explicitly require grunt-cli and use an npm script to run it
Browse files Browse the repository at this point in the history
  • Loading branch information
spadgos committed Jan 27, 2016
1 parent 475236d commit b784e41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -45,7 +45,7 @@ Specification:
Build:
------

* To build EventSource, just install grunt and this project devDependencies and run it. It should generate a new version of eventsource.min.js.
* To build EventSource, just install npm modules (`npm install`) and then run the build (`npm run build`). It should generate a new version of eventsource.min.js.

Notes:
-----
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "A polyfill for http://www.w3.org/TR/eventsource/ ",
"main": "eventsource.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "grunt"
},
"repository": {
"type": "git",
Expand All @@ -25,6 +25,7 @@
"homepage": "https://github.com/Yaffle/EventSource",
"devDependencies": {
"grunt": "^0.4.4",
"grunt-cli": "^0.1.13",
"grunt-contrib-uglify": "~0.2.4"
}
}

0 comments on commit b784e41

Please sign in to comment.