Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browserify-jide-template

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-jide-template

A Browserify transform for jide.js templates.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

browserify-jide-template

A Browserify transform for jide.js templates.

Starting with version 1.0.0-beta3, jide.js has full for Browserify. This transform will take care of transforming jide.js templates into Browserify modules. It is required if you intend to use is bindings (upgrading elements to jide.js Controls) within your application.

Install

$ npm install browserify-jide-template

Usage

Command Line

Bundle up all required modules, including AMD modules and jide.js templates into a single file using browserify with the deamdify and browserify-jide-template transform.

browserify -t 'browserify-jide-template,deamdify' main.js -o bundle.js

API

var browserify = require('browserify');
var fs = require('fs');

var b = browserify('main.js');
b.transform('browserify-jide-template');
b.transform('deamdify');

b.bundle().pipe(fs.createWriteStream('bundle.js'));

Gulp

var gulp = require('gulp'),
	browserify = require('gulp-browserify');

gulp.task('browserify', function() {
	gulp.src('./app/main.js')
		.pipe(browserify({
			transform: ['browserify-jide-template', 'deamdify']
		}))
		.pipe(gulp.dest('./build'));
});

Keywords

FAQs

Package last updated on 27 Jan 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc