Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (46 sloc) 1.141 kB
module.exports = (grunt) ->
grunt.initConfig
pkgFile: 'package.json'
files:
adapter: ['src/adapter.js']
build:
adapter: '<%= files.adapter %>'
# JSHint options
# http://www.jshint.com/options/
jshint:
adapter:
files:
src: '<%= files.adapter %>'
options:
browser: true,
es5: true,
strict: false
undef: false
camelcase: false
options:
quotmark: 'single'
camelcase: true
strict: true
trailing: true
curly: true
eqeqeq: true
immed: true
latedef: true
newcap: true
noarg: true
sub: true
undef: true
boss: true
globals: {}
karma:
adapter:
configFile: 'karma.conf.js'
autoWatch: false
singleRun: true
reporters: ['dots']
grunt.loadTasks 'tasks'
# grunt.loadTasks '../karma/tasks'
grunt.loadNpmTasks 'grunt-contrib-jshint'
grunt.loadNpmTasks 'grunt-karma'
grunt.registerTask 'default', ['build', 'jshint', 'test']
grunt.registerTask 'test', ['karma']
Jump to Line
Something went wrong with that request. Please try again.