Skip to content

A Karma plugin. Compile CSON files into JSON.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

aryeh-looker/karma-cson-preprocessor

 
 

Repository files navigation

karma-cson-preprocessor

A Karma plugin. Compile CSON files into JSON.

npm install karma-cson-preprocessor --save-dev

Configuration

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

    files: [
      '**/*.js',
      '**/*.json,
    ]
  });
};

Origin

I used karma-slim-preprocessor as a model for this code.

Travis status

About

A Karma plugin. Compile CSON files into JSON.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 96.1%
  • JavaScript 3.9%