gradient-parser/gruntfile.js
Rafael Caricio 129101533e Stringify
2014-09-19 19:40:56 +02:00

36 lines
672 B
JavaScript

'use strict';
module.exports = function (grunt) {
var config = {
app: '.',
dist: '.'
};
grunt.initConfig({
config: config,
mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['spec/**/*.js']
}
},
concat: {
release: {
files: {
'build/node.js': ['lib/stringify.js', 'lib/parser.js', 'index.js'],
'build/web.js': ['webify.js', 'lib/parser.js', 'lib/stringify.js']
}
}
}
});
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.registerTask('default', [
'concat',
'mochaTest'
]);
};