mirror of https://github.com/masayuki0812/c3.git
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.
36 lines
868 B
36 lines
868 B
module.exports = (grunt) -> |
|
require('load-grunt-tasks') grunt, pattern: ['grunt-contrib-*', 'grunt-sass'] |
|
|
|
grunt.initConfig |
|
watch: |
|
sass: |
|
tasks: 'sass' |
|
files: ['src/scss/*.scss'] |
|
|
|
jshint: |
|
c3: 'src/**/*.js' |
|
spec: 'spec/**/*.js' |
|
options: |
|
reporter: require('jshint-stylish') |
|
jshintrc: '.jshintrc' |
|
|
|
uglify: |
|
c3: |
|
files: |
|
'c3.min.js': 'c3.js' |
|
|
|
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']
|
|
|