Sha256: e58f0e356f35a939f6f47bb2bd15cbc6156d8519a09564818a47238440b105fd

Contents?: true

Size: 937 Bytes

Versions: 10

Compression:

Stored size: 937 Bytes

Contents

/* 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'
				}
			}
		},
		ngdocs: {
			options: {
				startPage: '/',
				title: false,
				html5Mode: false
			},
			api: {
				src: 'angular-moment.js',
				title: 'angular-moment API Documentation'
			}
		}
	});

	grunt.registerTask('test', [
		'jshint',
		'karma'
	]);

	grunt.registerTask('build', [
		'jshint',
		'uglify'
	]);

	grunt.registerTask('default', ['build']);
};

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
active_record_survey_api-0.0.19 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.18 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.17 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.14 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.12 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.11 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.7 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
active_record_survey_api-0.0.6 spec/test_app/vendor/assets/bower_components/angular-moment/Gruntfile.js
puppet-herald-0.8.1 lib/puppet-herald/public/bower_components/angular-moment/Gruntfile.js
puppet-herald-0.8.0 lib/puppet-herald/public/bower_components/angular-moment/Gruntfile.js