diff --git a/README.md b/README.md index 327c316d..d6d99a81 100644 --- a/README.md +++ b/README.md @@ -290,7 +290,7 @@ Development guidelines After cloning, install dev dependencies with `npm install`. -* `npm run build`: compile timepicker and place updated output in `dist/` +* `npm run build`: compile timepicker and place updated output in the project root * `npm run watch`: rebuild every time one of the source files changes * `npm run format`: apply code formatting rules * `npm run test`: run the jest test suite diff --git a/bower.json b/bower.json index 52e3b09e..7a36b6b7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "jt.timepicker", - "version": "1.13.6", + "version": "1.13.7", "description": "A jQuery timepicker plugin inspired by Google Calendar.", "homepage": "http://jonthornton.github.com/jquery-timepicker", "main": ["./jquery.timepicker.js", "./jquery.timepicker.css"], diff --git a/index.html b/index.html index abee0c5f..9e040ea5 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ Timepicker for jQuery – Demos and Documentation - - + + diff --git a/dist/jquery.timepicker.css b/jquery.timepicker.css similarity index 100% rename from dist/jquery.timepicker.css rename to jquery.timepicker.css diff --git a/dist/jquery.timepicker.js b/jquery.timepicker.js similarity index 99% rename from dist/jquery.timepicker.js rename to jquery.timepicker.js index 54b564ba..2566e0fc 100644 --- a/dist/jquery.timepicker.js +++ b/jquery.timepicker.js @@ -1,5 +1,5 @@ /*! - * jquery-timepicker v1.13.6 - A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation. + * jquery-timepicker v1.13.7 - A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation. * Copyright (c) 2020 Jon Thornton - https://www.jonthornton.com/jquery-timepicker/ * License: MIT */ diff --git a/dist/jquery.timepicker.min.js b/jquery.timepicker.min.js similarity index 100% rename from dist/jquery.timepicker.min.js rename to jquery.timepicker.min.js diff --git a/jt.timepicker.jquery.json b/jt.timepicker.jquery.json index 0ae3506b..219df733 100644 --- a/jt.timepicker.jquery.json +++ b/jt.timepicker.jquery.json @@ -1,6 +1,6 @@ { "name": "jt.timepicker", - "version": "1.13.6", + "version": "1.13.7", "title": "jquery-timepicker", "description": "A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation.", "author": { diff --git a/package-lock.json b/package-lock.json index ecf0dd83..2e951661 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "timepicker", - "version": "1.13.6", + "version": "1.13.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ac7f9e86..42dc898c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "timepicker", - "version": "1.13.6", + "version": "1.13.7", "title": "jquery-timepicker", "author": { "name": "Jon Thornton", @@ -27,8 +27,12 @@ "rollup-plugin-copy": "^3.3.0", "rollup-plugin-terser": "^5.3.0" }, - "main": "dist/jquery.timepicker.min.js", - "files": "dist/", + "main": "jquery.timepicker.min.js", + "files": [ + "jquery.timepicker.min.js", + "jquery.timepicker.js", + "jquery.timepicker.css" + ], "description": "A jQuery timepicker plugin inspired by Google Calendar. It supports both mouse and keyboard navigation.", "keywords": [ "timepicker", diff --git a/rollup.config.js b/rollup.config.js index d345fc01..60e1ac53 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -12,12 +12,12 @@ export default { input: 'src/jquery.timepicker.js', output: [ { - file: 'dist/jquery.timepicker.js', + file: 'jquery.timepicker.js', format: 'iife', banner: banner }, { - file: 'dist/jquery.timepicker.min.js', + file: 'jquery.timepicker.min.js', format: 'iife', plugins: [terser()] } @@ -25,7 +25,7 @@ export default { plugins: [ copy({ targets: [ - { src: 'src/static/jquery.timepicker.css', dest: 'dist/' }, + { src: 'src/static/jquery.timepicker.css', dest: './' }, ] }) ]