-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
113 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.idea/ | ||
*.iml | ||
*.iml | ||
bower_components | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
module.exports = function (grunt) { | ||
// Project configuration. | ||
grunt.initConfig({ | ||
// Task configuration. | ||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
// License banner text | ||
banner: '/*\n' + | ||
' * <%= pkg.nativeName %> v<%= pkg.version %>\n' + | ||
' * <%= pkg.homepage %>\n' + | ||
' *\n' + | ||
' * Copyright 2014-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + | ||
' * Released under <%= pkg.license %> license\n' + | ||
' * <%= pkg.licenseUrl %>\n' + | ||
' */\n', | ||
uglify: { | ||
main: { | ||
options: { | ||
banner: '<%= banner %>', | ||
sourceMap: false, | ||
mangle: true, | ||
compress: true, | ||
beautify: false | ||
}, | ||
files: { | ||
'jquery.twbsPagination.min.js':'jquery.twbsPagination.js' | ||
} | ||
} | ||
}, | ||
// Run predefined tasks whenever watched file changed or deleted | ||
watch: { | ||
js: { | ||
options: { | ||
atBegin: true | ||
}, | ||
files: ['jquery.twbsPagination.js'], | ||
tasks: [ | ||
'build' | ||
] | ||
} | ||
} | ||
}); | ||
|
||
// These plugins provide necessary tasks. | ||
require('load-grunt-tasks')(grunt); | ||
|
||
// Default task. | ||
grunt.registerTask('default', ['watch:js']); | ||
// | ||
//// Custom tasks | ||
grunt.registerTask('build', ['uglify:main']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "twbs-pagination", | ||
"version": "1.2.5", | ||
"version": "1.3", | ||
"homepage": "https://github.com/esimakin/twbs-pagination", | ||
"authors": [ | ||
"Eugene Simakin <[email protected]>" | ||
|
@@ -24,7 +24,6 @@ | |
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.