Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
fixes #34
  • Loading branch information
sindresorhus committed Jun 4, 2015
1 parent 726daee commit 002052a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Expand Up @@ -7,7 +7,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[package.json]
[{package.json,*.yml}]
indent_style = space
indent_size = 2

Expand Down
1 change: 0 additions & 1 deletion .jshintrc
Expand Up @@ -2,7 +2,6 @@
"node": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"immed": true,
"newcap": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
"url": "sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Expand Up @@ -7,7 +7,7 @@

## Install

```sh
```
$ npm install --save-dev gulp-react
```

Expand All @@ -28,9 +28,9 @@ gulp.task('default', function () {

## API

### react(options)
### react([options])

Options are passed to react-tools' [`transform` method](https://github.com/facebook/react/tree/master/npm-react-tools#transforminputstring-options).
See the `react-tools` [options](https://github.com/facebook/react/tree/master/npm-react-tools#transforminputstring-options), except for `sourceMap` and `sourceFilename`, which are handled for you.


## Source Maps
Expand Down

0 comments on commit 002052a

Please sign in to comment.