Merge pull request #325 from malko/dependencies_extract

Dependencies extract
This commit is contained in:
Valeriy 2015-09-24 02:40:17 +05:00
commit 2aee1d70ff
7 changed files with 2800 additions and 45 deletions

5
.gitignore vendored
View File

@ -1,2 +1,3 @@
$ cat .gitignore
parse.php
parse.php
bower_components
node_modules

View File

@ -13,7 +13,9 @@
"**/*.md",
"**/*.html",
"**/*.tpl",
"**/jquery.js"
"**/jquery.js",
"bower_components",
"node_modules"
],
"keywords": [
"calendar",
@ -34,7 +36,9 @@
"touch"
],
"dependencies": {
"jquery": ">= 1.7.2"
"jquery": ">= 1.7.2",
"jquery-mousewheel": ">= 3.1.13",
"date-functions": "~0.0.1"
},
"authors": [
{

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

3
build/jquery.datetimepicker.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,11 @@
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
"main": "jquery.datetimepicker.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"concat": "bower update && cat jquery.datetimepicker.js bower_components/jquery-mousewheel/jquery.mousewheel.js bower_components/date-functions/date-functions.js > build/jquery.datetimepicker.full.js",
"minify": "uglifyjs jquery.datetimepicker.js -c -m -o build/jquery.datetimepicker.min.js",
"minifyconcat": "uglifyjs build/jquery.datetimepicker.full.js -c -m -o build/jquery.datetimepicker.full.min.js",
"build": "npm run minify && npm run concat && npm run minifyconcat"
},
"repository": {
"type": "git",
@ -24,5 +28,9 @@
"bugs": {
"url": "https://github.com/xdan/datetimepicker/issues"
},
"homepage": "https://github.com/xdan/datetimepicker"
"homepage": "https://github.com/xdan/datetimepicker",
"devDependencies": {
"bower": "^1.5.2",
"uglifyjs": "^2.4.10"
}
}