0.0.1 • Published 8 years ago

jenkins-react-js-builder v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

A simple way to do this is to include a build directive in npm:

 "gulp": "gulp default --gulpfile node_modules/react-js-builder/gulpfile.js --cwd .",
 "test": "gulp test --gulpfile node_modules/react-js-builder/gulpfile.js --cwd .",
 "build": "gulp default --gulpfile node_modules/react-js-builder/gulpfile.js --cwd .",
 "watch": "gulp watch --gulpfile node_modules/react-js-builder/gulpfile.js --cwd .",

"scripts": {
     "build": "react-js-builder build",
     "test": "react-js-builder test",
     "watch": "react-js-builder watch",
     "pack": "react-js-builder pack"
}

You can also just include this from a local gulpfile:

var gulp = require('gulp');
require('react-js-builder').libraryBundle(gulp);