bootstrap-datepicker-year-offset
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,3 +6,2 @@ /*! | ||
*/ | ||
(function (factory) { | ||
@@ -98,3 +97,3 @@ | ||
yearOffSet = (this.o.thaiyear == true) ? 543 : 0; | ||
yearOffSet = (options.language === 'th-TH') ? 543 : 0; | ||
@@ -101,0 +100,0 @@ this.dates = new DateArray(); |
{ | ||
"name": "bootstrap-datepicker-year-offset", | ||
"version": "1.0.1", | ||
"description": "", | ||
"main": "index.js", | ||
"version": "1.0.2", | ||
"description": "Modified version of bootstrap-datepicker (Buddhist Era calendar support)", | ||
"scripts": { | ||
"build": "rm -rf dist && webpack --mode production" | ||
"build": "rm -rf dist && mkdir -p dist/js && cp ./js/*.js dist/js && cp package.json dist/" | ||
}, | ||
"author": "", | ||
"author": "tumit", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"jquery": "^3.3.1", | ||
"uglifyjs-webpack-plugin": "^1.2.3", | ||
"webpack": "^4.1.1", | ||
"webpack-cli": "^2.0.12" | ||
} | ||
"devDependencies": {} | ||
} |
@@ -12,12 +12,5 @@ ## Bootstrap Datepicker Year Offset | ||
"../node_modules/jquery/dist/jquery.min.js", | ||
"../node_modules/bootstrap-datepicker-year-offset/dist/js/bootstrap-datepicker-year-offset.min.js", | ||
"../node_modules/bootstrap-datepicker-year-offset/dist/js/bootstrap-datepicker-year-offset.js", | ||
"../node_modules/bootstrap-datepicker/dist/locales/bootstrap-datepicker.th.min.js" | ||
], | ||
``` | ||
## Development & Publish | ||
- pull source code | ||
- `npm install` | ||
- clear `dist` (if need) | ||
- webpack --mode production | ||
- npm publish dist |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
0
3720
2
0
129338
16