builder-react

0.0.11 • Public • Published

builder-react

Facebook React plugin for component-builder2.

Example

var fs = require('fs');
var build = require('component-builder');
var react = require('builder-react');
 
build.scripts(nodes)
  .use('scripts', build.plugins.js())
  .use('scripts', react())
  .build(function (err, string) {
    if (err) throw err;
    fs.writeFileSync('build.js', string);
  })

You could put your jsx files in .scripts or create your own field like .jsx.

License

The MIT License (MIT)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.11
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.11
    5
  • 0.0.4
    1
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i builder-react

Weekly Downloads

6

Version

0.0.11

License

MIT

Last publish

Collaborators

  • pgherveou2