karma-slim-preprocessor-with-binary-option

0.0.5 • Public • Published

karma-slim-preprocessor

Preprocessor for converting slim files to html templates.

It requires the slimrb binary to be on your path, which will be present if slim is installed by bundler.

npm install karma-slim-preprocessor --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    preprocessors: {
      '**/*.slim': ['slim']
    },
 
    files: [
      '**/*.js',
      '**/*.slim',
    ],
    slimPreprocessor: {
      // provide the location of a slimrb binary by uncommenting the next line.
      // slimrb: '/usr/local/bin/slimrb'
    }
  });
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1

Package Sidebar

Install

npm i karma-slim-preprocessor-with-binary-option

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • ark