mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Add a 'npm run build' command
This commit is contained in:
parent
a9c7b81bf1
commit
f910a50ffd
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
$ cat .gitignore
|
||||
parse.php
|
||||
parse.php
|
||||
bower_components
|
||||
node_modules
|
||||
|
@ -13,7 +13,9 @@
|
||||
"**/*.md",
|
||||
"**/*.html",
|
||||
"**/*.tpl",
|
||||
"**/jquery.js"
|
||||
"**/jquery.js",
|
||||
"bower_components",
|
||||
"node_modules"
|
||||
],
|
||||
"keywords": [
|
||||
"calendar",
|
||||
@ -36,7 +38,7 @@
|
||||
"dependencies": {
|
||||
"jquery": ">= 1.7.2",
|
||||
"jquery-mousewheel": ">= 3.1.13",
|
||||
"date-functions": "https://gist.github.com/42ceeee96db98bf03b83.git"
|
||||
"date-functions": "~0.0.1"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
|
2752
build/jquery.datetimepicker.full.js
Normal file
2752
build/jquery.datetimepicker.full.js
Normal file
File diff suppressed because it is too large
Load Diff
3
build/jquery.datetimepicker.full.min.js
vendored
Normal file
3
build/jquery.datetimepicker.full.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
build/jquery.datetimepicker.min.js
vendored
Normal file
3
build/jquery.datetimepicker.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
* (c) 2014, Chupurnov Valeriy.
|
||||
*/
|
||||
/*global document,window,jQuery,setTimeout,clearTimeout,HighlightedDate,getCurrentValue*/
|
||||
(function (factory) {
|
||||
;(function (factory) {
|
||||
if ( typeof define === 'function' && define.amd ) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery', 'jquery-mousewheel'], factory);
|
||||
|
12
package.json
12
package.json
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user