forked from enviPath/enviPy
Current Dev State
This commit is contained in:
31
static/js/ketcher2/node_modules/connect-pushstate/Gruntfile.js
generated
vendored
Normal file
31
static/js/ketcher2/node_modules/connect-pushstate/Gruntfile.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function(grunt) {
|
||||
grunt.initConfig({
|
||||
jshint: {
|
||||
all: [
|
||||
'**/*.js',
|
||||
'<%= mochaTest.test.src %>'
|
||||
],
|
||||
options: {
|
||||
jshintrc: '.jshintrc',
|
||||
ignores: ['node_modules/**']
|
||||
}
|
||||
},
|
||||
|
||||
mochaTest: {
|
||||
test: {
|
||||
options: {
|
||||
reporter: 'spec'
|
||||
},
|
||||
src: ['test/**/*-test.js']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-mocha-test');
|
||||
|
||||
grunt.registerTask('test', ['jshint', 'mochaTest']);
|
||||
grunt.registerTask('default', ['test']);
|
||||
};
|
||||
Reference in New Issue
Block a user