mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-23 10:49:26 +08:00
26 lines
460 B
JavaScript
26 lines
460 B
JavaScript
|
module.exports = (grunt) => {
|
||
|
|
||
|
require('load-grunt-tasks')(grunt)
|
||
|
|
||
|
grunt.initConfig({
|
||
|
pkg: grunt.file.readJSON('package.json'),
|
||
|
jshint: {
|
||
|
options: {
|
||
|
jshintrc: '.jshintrc'
|
||
|
},
|
||
|
all: {
|
||
|
src: ['./js/bootstrap-datetimepicker.js']
|
||
|
}
|
||
|
},
|
||
|
versioncheck: {
|
||
|
target: {
|
||
|
options: {
|
||
|
hideUpToDate: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
|
||
|
grunt.registerTask('default', ['jshint', 'versioncheck'])
|
||
|
}
|