UNPKG

insight-ui-alterdot

Version:

An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the Alterdot network and build your own services with it.

52 lines (45 loc) 750 B
/* License: MIT. * Copyright (C) 2013, 2014, 2015, Uri Shaked. */ 'use strict'; module.exports = function (grunt) { // Load grunt tasks automatically require('load-grunt-tasks')(grunt); grunt.initConfig({ karma: { unit: { configFile: 'karma.conf.js', singleRun: true } }, jshint: { options: { jshintrc: '.jshintrc' }, all: [ 'Gruntfile.js', 'angular-moment.js', 'tests.js' ] }, uglify: { dist: { options: { sourceMap: true }, files: { 'angular-moment.min.js': 'angular-moment.js' } } } }); grunt.registerTask('test', [ 'jshint', 'karma' ]); grunt.registerTask('build', [ 'jshint', 'uglify' ]); grunt.registerTask('default', ['build']); };