Skip to content

Commit 6406d48

Browse files
author
Robin Thrift
committed
fixed readme
1 parent 53431e2 commit 6406d48

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ A small, simply, very easy wrapper around the [require.js optimizer](https://git
1818
</tr>
1919
</table>
2020

21+
22+
##Installation
23+
24+
Simply add `gulp-requirejs` as a dev-dependency in your package.json or run
25+
26+
```bash
27+
$ npm install --save-dev gulp-requirejs
28+
```
29+
2130
## Usage
2231

2332
Because the require.js optimizer (_r.js_) is a kind of build system in itself we can't use the `gulp.src([...])` syntax at the moment (I might add this in future), instead this wrapper itself emits a pipable stream, holding a 'virtual' file, in which the result of the r.js build process are saved.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gulp-requirejs",
33
"description": "Builds projects using require.js's optimizer",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"homepage": "http://github.com/robinthrift/gulp-requirejs",
66
"repository": "git://github.com/robinthrift/gulp-requirejs.git",
77
"author": "Robin Thrift <thrift.d.robin@googlemail.com> (http://webbrickworks.com/)",

0 commit comments

Comments
 (0)