Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1100717 committed Oct 26, 2014
1 parent 56420ab commit dd780e4
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 16 deletions.
25 changes: 19 additions & 6 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,25 @@ module.exports = (grunt) ->
}
}
uglify: {
options: {
banner: '<%= banner %>'
}
dist: {
src: 'dist/localdb.js'
dest: 'dist/localdb.min.js'
all: {
files: {
"dist/localdb.min.js": ["dist/localdb.js"]
}
options: {
banner: '<%= banner %>'
preserveComments: false
sourceMap: true
sourceMapName: "dist/localdb.min.map"
report: "min"
beautify: {
"ascii_only": true
}
compress: {
"hoist_funs": false
loops: false
unused: false
}
}
}
}
coveralls: {
Expand Down
25 changes: 19 additions & 6 deletions Gruntfile.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/localdb.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/*! LocalDB - v0.0.1 - 2014-10-25
* Copyright (c) 2014 Eric Wang; Licensed MIT */
(function( global, factory ) {

if ( typeof module === "object" && typeof module.exports === "object" ) {
Expand Down
6 changes: 4 additions & 2 deletions dist/localdb.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit dd780e4

Please sign in to comment.