mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Update the traditional-bootstrap files to reflect changes to the base template
This commit is contained in:
parent
d09fa8fdec
commit
1fa5d6c804
2 changed files with 12 additions and 5 deletions
16
traditional-bootstrap/gulpfile.js
vendored
16
traditional-bootstrap/gulpfile.js
vendored
|
@ -56,11 +56,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",
|
||||||
"bower_components/bootstrap-sass/assets/javascripts/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"
|
||||||
];
|
];
|
||||||
|
@ -120,6 +120,11 @@ gulp.task("sass-dashboard", () => {
|
||||||
return processSass("dashboard");
|
return processSass("dashboard");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Task for error page styles
|
||||||
|
gulp.task("sass-error", () => {
|
||||||
|
return processSass("error");
|
||||||
|
});
|
||||||
|
|
||||||
// Task for public javascript
|
// Task for public javascript
|
||||||
gulp.task("js-public", () => {
|
gulp.task("js-public", () => {
|
||||||
return processJavaScript("app", jsPublic, true);
|
return processJavaScript("app", jsPublic, true);
|
||||||
|
@ -171,13 +176,14 @@ gulp.task("watch", () => {
|
||||||
gulp.watch([ "app/**/*.php", "routes/**/*.php", "resources/views/**/*.blade.php" ], gulp.series(browserSyncReload));
|
gulp.watch([ "app/**/*.php", "routes/**/*.php", "resources/views/**/*.blade.php" ], gulp.series(browserSyncReload));
|
||||||
gulp.watch(jsPublic, gulp.series("js-public", browserSyncReload));
|
gulp.watch(jsPublic, gulp.series("js-public", browserSyncReload));
|
||||||
gulp.watch(jsDashboard, gulp.series("js-dashboard", browserSyncReload));
|
gulp.watch(jsDashboard, gulp.series("js-dashboard", browserSyncReload));
|
||||||
gulp.watch("resources/assets/sass/**/*.scss", gulp.parallel("sass-public", "sass-dashboard"));
|
gulp.watch("resources/assets/sass/**/*.scss", gulp.parallel("sass-public", "sass-dashboard", "sass-error"));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Task to run non-development tasks
|
// Task to run non-development tasks
|
||||||
gulp.task("default", gulp.parallel(
|
gulp.task("default", gulp.parallel(
|
||||||
"sass-public",
|
"sass-public",
|
||||||
"sass-dashboard",
|
"sass-dashboard",
|
||||||
|
"sass-error",
|
||||||
"js-public",
|
"js-public",
|
||||||
"js-public-libs",
|
"js-public-libs",
|
||||||
"js-dashboard",
|
"js-dashboard",
|
||||||
|
|
|
@ -28,6 +28,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",
|
||||||
"what-input": "^5.0.5"
|
"what-input": "^5.0.5"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue