You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

karma-traceur-compiler-requirejs

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

karma-traceur-compiler-requirejs

A Karma plugin. Include the traceur compiler on the page

0.0.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

karma-traceur-compiler-requirejs

Experimental (not for general use).

Quick karma-framework to place traceur-compiler as the first dependency in karma (before requirejs). I will rename if more people find it useful.

Installation

Install karma-traceur-compiler as a devDependency for your project:

npm install karma --save-dev
npm install karma-traceur-compiler --save-dev

Usage

In karma.conf.js:

Make sure to place traceur-compiler-requirejs last in the frameworks array.

module.exports = function(config) {
  config.set({

    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',


    // frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['jasmine', 'requirejs', 'traceur-compiler-requirejs'],

Keywords

karma-plugin

FAQs

Package last updated on 13 May 2015

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