Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

react-brunch

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-brunch - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
+2
-0
lib/index.js

@@ -13,2 +13,4 @@ // Generated by CoffeeScript 1.6.3

ReactCompiler.prototype.pattern = /\.jsx/;
function ReactCompiler(config) {

@@ -15,0 +17,0 @@ var _ref, _ref1, _ref2;

+2
-2
{
"name": "react-brunch",
"version": "1.0.3",
"version": "1.0.4",
"description": "Adds React.js support to brunch.",

@@ -25,3 +25,3 @@ "author": "Matt McCray",

"dependencies": {
"react-tools": "~0.5.0"
"react-tools": "~0.8.0"
},

@@ -28,0 +28,0 @@ "devDependencies": {

@@ -5,2 +5,4 @@ ## react-brunch

### Optional
You can configure react-brunch to automatically insert a react header

@@ -27,2 +29,11 @@ (`/** @jsx React.DOM */`) into all `*.jsx` files. Disabled by default.

### Notes
react-brunch only supports compiling `*.jsx` files. It doesn't peek at `*.js` to
see if they have the React-ify comment header. I doubt it ever will. Here's why:
Any `.js` file should be browser loadable. Embedding JSX will break in any JS
environment. Therefore, I chose to have react-brunch only pre-processes `.jsx`
files.
## Usage

@@ -29,0 +40,0 @@ Install the plugin via npm with `npm install --save react-brunch`.