module.exports = function (grunt) {

	grunt.initConfig({
		typescript: {
			base: {
				src: ['src/**/*.ts'],
				dest: 'bin',
				options: {
					module: 'commonjs', //or commonjs
					target: 'es5', //or es3
					base_path: 'src',
					sourcemap: false,
					fullSourceMapPath: false,
					declaration: false
				}
			}
		},
		copy: {
			main: {
				files: [
					{
						expand: true,
						cwd: 'src/plugins',
						src: ['**', '!**/*.ts'],
						dest: 'bin/plugins/'
					}
				]
			}
		}
	});

	grunt.loadNpmTasks('grunt-typescript');
	grunt.loadNpmTasks('grunt-contrib-copy');

	// Default task(s).
	grunt.registerTask('default', ['typescript','copy']);

};

module.exports = function (grunt) {

	grunt.initConfig({
		typescript: {
			base: {
				src: ['src/**/*.ts'],
				dest: 'bin',
				options: {
					module: 'commonjs', //or commonjs
					target: 'es5', //or es3
					basePath: 'src',
					sourcemap: false,
					fullSourceMapPath: false,
					declaration: false
				}
			}
		},
		copy: {
			main: {
				files: [
					{
						expand: true,
						cwd: 'src/plugins',
						src: ['**', '!**/*.ts'],
						dest: 'bin/plugins/'
					}
				]
			}
		}
	});

	grunt.loadNpmTasks('grunt-typescript');
	grunt.loadNpmTasks('grunt-contrib-copy');

	// Default task(s).
	grunt.registerTask('default', ['typescript','copy']);

};

Fix the deprecated "base_path" in Grunt
Fix the deprecated "base_path" in Grunt
