forked from kylestetz/CLNDR
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added grunt workflow for minification. added jquery plugin manifest file
- Loading branch information
Showing
7 changed files
with
502 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/node_modules | ||
.DS_Store |
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,39 @@ | ||
module.exports = function(grunt) { | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
uglify: { | ||
full_src: { | ||
options: { | ||
beautify: true, | ||
mangle: false, | ||
banner: '/*! ~ CLNDR v<%= pkg.version %> ~ \n' + | ||
' * ============================================== \n' + | ||
' * https://github.com/kylestetz/CLNDR \n' + | ||
' * ============================================== \n' + | ||
' * created by kyle stetz (github.com/kylestetz) \n' + | ||
' * &available under the MIT license \n' + | ||
' * http://opensource.org/licenses/mit-license.php \n' + | ||
' * ============================================== \n' + | ||
' */\n' | ||
}, | ||
files: { | ||
'./<%= pkg.name %>.js': 'src/<%= pkg.name %>.js' | ||
} | ||
}, | ||
mini_src: { | ||
options: { | ||
banner: '/*! <%= pkg.name %>.min.js v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' | ||
}, | ||
files: { | ||
'./<%= pkg.name %>.min.js': 'src/<%= pkg.name %>.js' | ||
} | ||
} | ||
} | ||
}); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
|
||
grunt.registerTask('default', ['uglify']); | ||
|
||
}; |
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,22 @@ | ||
The MIT License (MIT) | ||
--------------------- | ||
|
||
**Copyright (c) 2013 Kyle Stetz & P'unk Avenue LLC** | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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,33 @@ | ||
{ | ||
"name": "clndr", | ||
"title": "CLNDR", | ||
"description": "CLNDR is a calendar plugin that uses HTML templates, allowing you to write custom markup and styles that have access to useful calendar data.", | ||
"keywords": ["calendar", "ui", "date", "punkave"], | ||
"version": "1.0.0", | ||
"author": { | ||
"name": "Kyle Stetz", | ||
"url": "http:/github.com/kylestetz" | ||
}, | ||
"maintainers": [ | ||
{ | ||
"name": "Kyle Stetz", | ||
"email": "[email protected]", | ||
"url": "http:/punkave.com" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/kylestetz/CLNDR/LICENSE.md" | ||
} | ||
], | ||
"bugs": "https://github.com/kylestetz/CLNDR/issues", | ||
"homepage": "https://kylestetz.github.io/CLNDR/", | ||
"docs": "https://github.com/kylestetz/CLNDR", | ||
"download": "https://github.com/kylestetz/CLNDR", | ||
"dependencies": { | ||
"jquery": ">=1.9", | ||
"underscore": ">=1.4.4", | ||
"moment": ">=2.0.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "clndr", | ||
"version": "1.0.0", | ||
"description": "Development environment for clndr.js", | ||
"author": "Kyle Stetz", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"grunt": "*", | ||
"grunt-contrib-uglify": "~0.2.4" | ||
} | ||
} |
Oops, something went wrong.