Socket
Socket
Sign inDemoInstall

gulp-react-templates

Package Overview
Dependencies
84
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-react-templates

Gulp plugin for react-templates - Light weight templates for react -> write html get valid react code


Version published
Weekly downloads
66
increased by312.5%
Maintainers
2
Install size
4.45 MB
Created
Weekly downloads
 

Readme

Source

NPM version build status This version simply updates the react-templates version so that it works with react 15.x

gulp-react-templates

Build react-templates

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-react-templates

Usage

var gulp = require('gulp');
var rt = require('gulp-react-templates');

gulp.task('rt', function() {
    gulp.src('src/**/*.rt')
        .pipe(rt({modules: 'amd'}))
        .pipe(gulp.dest('src'));
});

Options

  • modules

    Select modules system (amd|commonjs|es6|typescript|none).

See more here

Keywords

FAQs

Last updated on 10 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc