Skip to content

Commit

Permalink
update nextprot dependency, minify dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
MatSchaeff committed Jun 27, 2016
1 parent ec25433 commit 1fc3776
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 20,435 deletions.
14 changes: 11 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(grunt) {
'bower_components/d3/d3.min.js',
'bower_components/bootstrap/js/tooltip.js',
'bower_components/bootstrap/js/popover.js',
'dist/feature-viewer.min.js'
'src/feature-viewer.js'
],
dest: 'dist/feature-viewer.bundle.js'
},
Expand Down Expand Up @@ -50,9 +50,17 @@ module.exports = function(grunt) {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
build: {
basic: {
src: 'src/feature-viewer.js',
dest: 'dist/feature-viewer.min.js'
},
nextprot: {
src: 'dist/feature-viewer.nextprot.js',
dest: 'dist/feature-viewer.nextprot.js'
},
bundle: {
src: 'dist/feature-viewer.bundle.js',
dest: 'dist/feature-viewer.bundle.js'
}
},
connect: {
Expand Down Expand Up @@ -84,7 +92,7 @@ module.exports = function(grunt) {
// Default task(s).
grunt.registerTask('default', ['uglify']);
grunt.registerTask('concating', ['concat']);
grunt.registerTask('prod', ['uglify','concat']);
grunt.registerTask('prod', ['concat','uglify']);
grunt.registerTask('serve', ['connect:server','watch']);

};
Loading

0 comments on commit 1fc3776

Please sign in to comment.