mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42: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
|
||||
const jsDashboardLibs = [
|
||||
"bower_components/jquery/dist/jquery.js",
|
||||
"bower_components/bootstrap-sass/assets/javascripts/bootstrap.js",
|
||||
"node_modules/jquery/dist/jquery.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/pickadate/lib/picker.js",
|
||||
"bower_components/pickadate/lib/picker.date.js",
|
||||
"bower_components/list.js/dist/list.js",
|
||||
"bower_components/simplemde/dist/simplemde.min.js"
|
||||
];
|
||||
|
@ -120,6 +120,11 @@ gulp.task("sass-dashboard", () => {
|
|||
return processSass("dashboard");
|
||||
});
|
||||
|
||||
// Task for error page styles
|
||||
gulp.task("sass-error", () => {
|
||||
return processSass("error");
|
||||
});
|
||||
|
||||
// Task for public javascript
|
||||
gulp.task("js-public", () => {
|
||||
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(jsPublic, gulp.series("js-public", 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
|
||||
gulp.task("default", gulp.parallel(
|
||||
"sass-public",
|
||||
"sass-dashboard",
|
||||
"sass-error",
|
||||
"js-public",
|
||||
"js-public-libs",
|
||||
"js-dashboard",
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
"gulp-uglify": "^3.0.0",
|
||||
"jquery": "^3.3.1",
|
||||
"minimist": "^1.2.0",
|
||||
"pickadate": "^3.5.6",
|
||||
"popper.js": "^1.14.3",
|
||||
"what-input": "^5.0.5"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue