module.exports = function(grunt) {
	grunt.initConfig({
		aws: grunt.file.readJSON('aws.json'),
		aws_s3: {
			options: {
				accessKeyId: '<%= aws.AWSAccessKeyId %>', // Use the variables
				secretAccessKey: '<%= aws.AWSSecretKey %>', // You can also use env variables
				region: 'us-east-1',
				uploadConcurrency: 5, // 5 simultaneous uploads
				downloadConcurrency: 5 // 5 simultaneous downloads
			},
			production: {
				options: {
					bucket: 'openfdaviz'
				},
				files: [
					{
						dest: 'client/',
						action: 'delete'
					},
					{
						expand: true,
						cwd: 'dist/client/',
						src: ['**'],
						dest: '/client/',
						params: { CacheControl: '1000' }
					}
				]
			}
		},
		clean: {
			client: ['dist/client'],
			server: ['dist/server']
		},
		shell: {
			npmInstallClient: {
				command: 'cd client && npm install'
			},
			npmInstallServer: {
				command: 'cd server && npm install'
			},
			startClientDev: {
				command: 'cd client && npm run-script startDev'
			},
			startClientProd: {
				command: 'cd client && npm run-script startProd'
			},
			startServer: {
				command: 'cd server && npm start'
			}
		}
	});

	grunt.loadNpmTasks('grunt-aws-s3');
	grunt.loadNpmTasks('grunt-contrib-clean');
	grunt.loadNpmTasks('grunt-shell');

	grunt.registerTask('deploysubproject:client', function (){
		var done = this.async();
		grunt.util.spawn({
			grunt: true,
			args: ['deploy'],
			opts: {
				cwd: 'client'
			}
		}, function (err, result, code) {
			done();
		});

	});
	grunt.registerTask('deploysubproject:server', function (){
		var done = this.async();
		grunt.util.spawn({
			grunt: true,
			args: ['deploy'],
			opts: {
				cwd: 'server'
			}
		}, function (err, result, code) {
			done();
		});
	});
	grunt.registerTask('setup:all', ['setup:client', 'setup:server']);
	grunt.registerTask('setup:client', ['shell:npmInstallClient']);
	grunt.registerTask('setup:server', ['shell:npmInstallServer']);
	grunt.registerTask('deploy:client', ['clean:client', 'deploysubproject:client', 'aws_s3:production']);
	grunt.registerTask('deploy:server', ['clean:server', 'deploysubproject:server']);
	grunt.registerTask('deploy', ['deploy:client', 'deploy:server']);
	grunt.registerTask('start:clientDev', ['clean:client', 'deploysubproject:client', 'shell:startClientDev']);
	grunt.registerTask('start:clientProd', ['clean:client', 'deploysubproject:client', 'shell:startClientProd']);
	grunt.registerTask('start:server', ['setup:server', 'clean:server', 'deploysubproject:server', 'shell:startServer']);


	grunt.registerTask('start', ['clean:client', 'deploysubproject:client', 'clean:server', 'deploysubproject:server',
			'shell:startClientDev', 'shell:startServer']);
	grunt.registerTask('start:dev', ['start:clientDev', 'start:server'])
	grunt.registerTask('start:prod', ['start:clientDev', 'start:server'])
};
@@ -2812,35 +2812,36 @@
 , %5B'start:client
-Dev
+Prod
 ', 'start:server

fix for grunt command