gentelella/vendors/starrr/Gruntfile.coffee
christianesperar 6a6db2ea23 Put dependecy libraries to bower for easy updating
Update also fix some following problem:
- Switcher now working
- Datatable header fix example is now working
- Add missing starrr ratings
- Some mobile responsiveness on table.html page
2016-04-24 22:26:16 +08:00

31 lines
669 B
CoffeeScript

module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-contrib-sass')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.loadNpmTasks('grunt-release')
grunt.initConfig
pkg: '<json:package.json>'
coffee:
all:
src: 'src/starrr.coffee'
dest: 'dist/starrr.js'
options:
bare: true
sass:
all:
files:
'dist/starrr.css': 'src/starrr.scss'
options:
sourcemap: 'none'
watch:
all:
files: ['src/starrr.coffee', 'src/starrr.scss']
tasks: 'default'
grunt.registerTask 'default', ['coffee:all', 'sass:all']