New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

karma-mincer-preprocessor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-mincer-preprocessor

A Karma plugin. Compile things using mincer.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

karma-mincer-preprocessor

Preprocessor to use http://github.com/nodeca/mincer for compilation.

Installation

The easiest way is to keep karma-mincer-preprocessor as a devDependency in your package.json.

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-coffee-preprocessor": "~0.0.1"
  }
}

You can simple do it by:

npm install karma-mincer-preprocessor --save-dev

Configuration

Following code shows the default configuration...

// karma.conf.js
module.exports = function(config) {
  config.set({
    preprocessors: {
      '**/*.js': ['mincer']
    },

    mincerPreprocessor: {
      options: {
        // paths mincer will use to search for assets in
        paths: [],
        // optionally define a function which will receive
        // the mincer environment to allow you to set further
        // configuration options or register helpers
        init: function (environment, options) {
          environment.registerHelper('value-to-be-used', function () {
            // see https://github.com/nodeca/mincer#using-helpers
          });
        }
      }
    }
  });
};

FAQs

Package last updated on 21 Sep 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

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