twbs/bootstrap — pull request #13182 by tschaub (2014-03-25 23:30:45+00:00)
Title: Local install of grunt-cli to support `npm test`

Leveraging npm scripts can let people get more done without global installs. To support `npm install && npm test`, the `grunt-cli` package can be added as a dev dependency. Even the `grunt-cli` devs [have acknowledged](https://github.com/gruntjs/grunt-cli/commit/b4e6b3d9a7c2091e642711b5f3db4238530cca5b) the value in this.

I've only suggested a minor change here. If people are in favor of this direction, npm scripts could be added for common Grunt tasks. E.g. this would support `npm run build && npm start` (without a global Grunt install):

```diff
--- a/package.json
+++ b/package.json
@@ -14,7 +14,9 @@
"homepage": "http://getbootstrap.com",
"author": "Twitter, Inc.",
"scripts": {
- "test": "grunt test"
+ "test": "grunt test",
+ "build": "grunt dist",
+ "start": "grunt watch"
},
"style": "dist/css/bootstrap.css",
"less": "less/bootstrap.less",
```