was.wm.js
/trunk/Gruntfile.js |
@@ -17,8 +17,8 @@ |
stripBanners: true |
}, |
dist: { |
src: ['lib/*.js'], |
dest: 'dist/<%= pkg.name %>.js' |
src: ['lib/**/*.js'], |
dest: 'dist/<%= pkg.name %>' // <%= pkg.name %>.js -> was.wm.js |
} |
}, |
uglify: { |
@@ -27,7 +27,7 @@ |
}, |
dist: { |
src: '<%= concat.dist.dest %>', |
dest: 'dist/<%= pkg.name %>.min.js' |
dest: 'dist/was.wm.min.js' // <%= pkg.name %>.min.js -> was.wm.min.js |
} |
}, |
jshint: { |
@@ -44,8 +44,16 @@ |
boss: true, |
eqnull: true, |
globals: { |
'$': false |
} |
'$': false, |
'module': false, |
'document' : false, |
'window' : false, |
'interact' : false, |
'Cookies' : false, |
jQuery: true |
}, |
// spread/rest operator |
esnext: true |
}, |
gruntfile: { |
src: 'Gruntfile.js' |
@@ -71,7 +79,7 @@ |
|
// These plugins provide necessary tasks. |
grunt.loadNpmTasks('grunt-contrib-concat'); |
grunt.loadNpmTasks('grunt-contrib-uglify'); |
grunt.loadNpmTasks('grunt-contrib-uglify-es'); |
//grunt.loadNpmTasks('grunt-contrib-nodeunit'); |
grunt.loadNpmTasks('grunt-contrib-jshint'); |
grunt.loadNpmTasks('grunt-contrib-watch'); |