parent
9b2852195a
commit
c821f7fbc4
@ -1,2 +1,3 @@
|
||||
.idea/
|
||||
.rvmrc
|
||||
.rvmrc
|
||||
node_modules
|
||||
|
@ -0,0 +1,46 @@
|
||||
module.exports = function( grunt ) {
|
||||
'use strict';
|
||||
//
|
||||
// Grunt configuration:
|
||||
//
|
||||
// https://github.com/cowboy/grunt/blob/master/docs/getting_started.md
|
||||
//
|
||||
grunt.initConfig({
|
||||
// specifying JSHint options and globals
|
||||
// https://github.com/cowboy/grunt/blob/master/docs/task_lint.md#specifying-jshint-options-and-globals
|
||||
jshint: {
|
||||
options: {
|
||||
boss: true,
|
||||
browser: true,
|
||||
curly: true,
|
||||
eqeqeq: true,
|
||||
eqnull: true,
|
||||
immed: true,
|
||||
latedef: true,
|
||||
newcap: true,
|
||||
noarg: true,
|
||||
sub: true,
|
||||
undef: true,
|
||||
globals: {
|
||||
jasmine: false,
|
||||
ajaxRequests: true,
|
||||
ajaxStubs: true,
|
||||
module: false,
|
||||
exports: true
|
||||
}
|
||||
},
|
||||
all: ['Gruntfile.js', 'lib/*.js', 'spec/*.js']
|
||||
},
|
||||
shell: {
|
||||
ctags: {
|
||||
command: 'ctags -R lib'
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-shell');
|
||||
|
||||
grunt.registerTask('default', ['jshint']);
|
||||
grunt.registerTask('ctags', 'Generate ctags', ['shell:ctags']);
|
||||
};
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "jasmine-ajax",
|
||||
"version": "2.0.0",
|
||||
"private": false,
|
||||
"dependencies": {
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "0.4.0"
|
||||
"grunt-contrib-jshint": "~0.1.1"
|
||||
}
|
||||
}
|
Loading…
Reference in new issue