mirror of https://github.com/ColorlibHQ/gentelella
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
669 B
31 lines
669 B
9 years ago
|
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']
|