Install bower packages with npm install

This commit is contained in:
Oleg 2013-07-22 21:54:37 +04:00
parent 0600a29256
commit 806b0230cd
2 changed files with 9 additions and 10 deletions

View File

@ -49,23 +49,17 @@ Install the [grunt-cli](http://gruntjs.com/getting-started#installing-the-cli) a
npm install -g grunt-cli bower npm install -g grunt-cli bower
``` ```
Enter the jquery directory and install the Node dependencies, this time *without* specifying a global(-g) install:
```bash
cd jquery && npm install
```
Make sure you have `grunt` and `bower` installed by testing: Make sure you have `grunt` and `bower` installed by testing:
```bash ```bash
grunt -version grunt -version
bower --version bower -version
``` ```
Install `bower` dependencies: Enter the jquery directory and install the Node and Bower dependencies, this time *without* specifying a global(-g) install:
```bash ```bash
bower install cd jquery && npm install
``` ```
Then, to get a complete, minified (w/ Uglify.js), linted (w/ JSHint) version of jQuery, type the following: Then, to get a complete, minified (w/ Uglify.js), linted (w/ JSHint) version of jQuery, type the following:

View File

@ -34,5 +34,10 @@
"archiver": "~0.4.6", "archiver": "~0.4.6",
"grunt-jsonlint": "~1.0.0" "grunt-jsonlint": "~1.0.0"
}, },
"scripts": {
"install": "bower install"
},
"keywords": [] "keywords": []
} }