mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-12-26 03:52:24 +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'])
|
||
|
}
|