Files
web-dev/fast-api/bower_components/Morphext/Gruntfile.coffee
2020-02-17 02:37:02 +00:00

20 lines
620 B
CoffeeScript

module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
uglify:
options:
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %> */'
dist:
files:
'dist/morphext.min.js': ['dist/morphext.js']
eslint:
all: ['dist/morphext.js']
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-eslint'
grunt.registerTask 'default', ['test', 'uglify']
grunt.registerTask 'test', ['eslint']