Not Particularly Meaningful
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    karma-cjsx-preprocessorpublic

    karma-cjsx-preprocessor

    A karma-preprocessor for compiling React JSX within Coffee files using jsdf/coffee-react-transform.

    Version 0.1.x should be compatible with the 0.10.x version of Karma.

    How to use

    It is really simple: Add a preprocessor clause to the karma conf file, and it will automatically transform the .cjsx files.

    module.exports = function(config) {
      config.set({
        preprocessors: {
          '**/*.cjsx': [ 'cjsx' ]
        },
    
        // the rest of the config should be here
      })
    }
    

    install

    npm i karma-cjsx-preprocessor

    Downloadsweekly downloads

    20

    version

    4.0.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar