mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Install bower packages with npm install
This commit is contained in:
parent
0600a29256
commit
806b0230cd
12
README.md
12
README.md
@ -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:
|
||||||
|
@ -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": []
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user