Skip to content
DavidSouther edited this page Dec 4, 2014 · 2 revisions

Pass these options as a second parameter in require('rupert-grunt')(grunt, config). All paths, unless otherwise noted, are from the root of your Gruntfile; that is, usually the root of your project. Unless noted, configuration properties are optional.

server

Required. The path to a JS file that exports your Rupert server. See plain/app.js for an example.

jshint

Override JSHint settings.

rc

Path to JSHint configuration file. Default is .jshintrc. The file must be valid JSON.

files

Additional JSHint file globs. Default glob is ['src/**/*.js', 'Gruntfile.js'].

coffeelint

Override coffeelint settings.

rc

Path to a coffeelint configuration file. Default is .coffeelintrc. The file must be valid JSON.

files

Additional coffeelint file globs. Default glob is ['src/**/*.coffee', 'Gruntfile.coffee'].

client

files

Additional files to pass to Karma.

write

Control writeClient output.

dest

Directory to write client files to. Default ./www.

files

Additional files to request from the Rupert server.

Clone this wiki locally