Quite good looking graph derived from d3.js http://c3js.org
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.

37 lines
868 B

11 years ago
module.exports = (grunt) ->
require('load-grunt-tasks') grunt, pattern: ['grunt-contrib-*', 'grunt-sass']
11 years ago
grunt.initConfig
watch:
sass:
tasks: 'sass'
files: ['src/scss/*.scss']
11 years ago
jshint:
8 years ago
c3: 'src/**/*.js'
spec: 'spec/**/*.js'
options:
reporter: require('jshint-stylish')
jshintrc: '.jshintrc'
11 years ago
uglify:
c3:
files:
'c3.min.js': 'c3.js'
11 years ago
cssmin:
c3:
src: 'c3.css'
dest: 'c3.min.css'
sass:
options:
sourcemap: 'none'
c3:
files:
'c3.css': 'src/scss/main.scss'
grunt.registerTask 'lint', ['jshint']
grunt.registerTask 'build', ['concat', 'sass']
grunt.registerTask 'minify', ['cssmin', 'uglify']