Commit 806b0230 authored by Oleg's avatar Oleg

Install bower packages with npm install

parent 0600a292
...@@ -49,23 +49,17 @@ Install the [grunt-cli](http://gruntjs.com/getting-started#installing-the-cli) a ...@@ -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:
...@@ -90,7 +84,7 @@ For example, an app that only used JSONP for `$.ajax()` and did not need to calc ...@@ -90,7 +84,7 @@ For example, an app that only used JSONP for `$.ajax()` and did not need to calc
- **css**: The `.css()` method plus non-animated `.show()`, `.hide()` and `.toggle()`. - **css**: The `.css()` method plus non-animated `.show()`, `.hide()` and `.toggle()`.
- **deprecated**: Methods documented as deprecated but not yet removed; currently only `.andSelf()`. - **deprecated**: Methods documented as deprecated but not yet removed; currently only `.andSelf()`.
- **dimensions**: The `.width()` and `.height()` methods, including `inner-` and `outer-` variations. - **dimensions**: The `.width()` and `.height()` methods, including `inner-` and `outer-` variations.
- **effects**: The `.animate()` method and its shorthands such as `.slideUp()` or `.hide("slow")`. - **effects**: The `.animate()` method and its shorthands such as `.slideUp()` or `.hide("slow")`.
- **event-alias**: All event attaching/triggering shorthands like `.click()` or `.mouseover()`. - **event-alias**: All event attaching/triggering shorthands like `.click()` or `.mouseover()`.
- **offset**: The `.offset()`, `.position()`, `.offsetParent()`, `.scrollLeft()`, and `.scrollTop()` methods. - **offset**: The `.offset()`, `.position()`, `.offsetParent()`, `.scrollLeft()`, and `.scrollTop()` methods.
- **wrap**: The `.wrap()`, `.wrapAll()`, `.wrapInner()`, and `.unwrap()` methods. - **wrap**: The `.wrap()`, `.wrapAll()`, `.wrapInner()`, and `.unwrap()` methods.
......
...@@ -34,5 +34,10 @@ ...@@ -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": []
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment