Use npm to install pickadate instead of bower and remove the jquery dependency from bower

This commit is contained in:
Kevin MacMartin 2018-04-18 22:50:22 -04:00
parent 7f9b0ef09a
commit d09fa8fdec
4 changed files with 13 additions and 6 deletions

View file

@ -7,11 +7,9 @@
"description": "The Hypothetical website template", "description": "The Hypothetical website template",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"jquery": "~3.3.1",
"Sortable": "~1.6.0", "Sortable": "~1.6.0",
"simplemde": "~1.11.2", "simplemde": "~1.11.2",
"SpinKit": "~1.2.5", "SpinKit": "~1.2.5",
"list.js": "^1.5.0", "list.js": "^1.5.0"
"pickadate": "^3.5.6"
} }
} }

6
gulpfile.js vendored
View file

@ -57,11 +57,11 @@ const jsDashboard = [
// Javascript libraries for the dashboard // Javascript libraries for the dashboard
const jsDashboardLibs = [ const jsDashboardLibs = [
"bower_components/jquery/dist/jquery.js", "node_modules/jquery/dist/jquery.js",
"node_modules/bootstrap/dist/js/bootstrap.js", "node_modules/bootstrap/dist/js/bootstrap.js",
"node_modules/pickadate/lib/picker.js",
"node_modules/pickadate/lib/picker.date.js",
"bower_components/Sortable/Sortable.js", "bower_components/Sortable/Sortable.js",
"bower_components/pickadate/lib/picker.js",
"bower_components/pickadate/lib/picker.date.js",
"bower_components/list.js/dist/list.js", "bower_components/list.js/dist/list.js",
"bower_components/simplemde/dist/simplemde.min.js" "bower_components/simplemde/dist/simplemde.min.js"
]; ];

8
package-lock.json generated
View file

@ -6578,6 +6578,14 @@
"integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=", "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=",
"dev": true "dev": true
}, },
"pickadate": {
"version": "3.5.6",
"resolved": "https://registry.npmjs.org/pickadate/-/pickadate-3.5.6.tgz",
"integrity": "sha1-yZgwI0O3mhmVT8ScRcxwg0dgKAY=",
"requires": {
"jquery": "3.3.1"
}
},
"pify": { "pify": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",

View file

@ -29,6 +29,7 @@
"gulp-uglify": "^3.0.0", "gulp-uglify": "^3.0.0",
"jquery": "^3.3.1", "jquery": "^3.3.1",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"pickadate": "^3.5.6",
"popper.js": "^1.14.3", "popper.js": "^1.14.3",
"vinyl-buffer": "^1.0.1", "vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0", "vinyl-source-stream": "^2.0.0",