0.0.3 • Published 11 months ago

karma-include-jsraw v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Karma Include RAW JS file

Karma Include RAW JS file preprocessor plugin.

Installation

Add karma-include-jsraw to devDependencies of package.json

npm install karma-include-jsraw --save-dev

Add as a plugin to karma config.

{
  module.exports = 
  //...
  basePath: 'basePath', //this path is used for locate included scripts
  frameworks: ['include-jsraw', 'jasmine'...],
  //...
  plugins: [
    require('include-jsraw')
    //... other plugins
  ]
}

Usage

Add

/// <include path="path_to_file.js" />

Path is relative to karma basePath.

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago