mirror of
https://github.com/zoriya/EAU.git
synced 2025-12-05 22:26:14 +00:00
Adding task to build and watch sass.
This commit is contained in:
24
.vscode/tasks.json
vendored
Normal file
24
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// Sass configuration
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks":
|
||||
[
|
||||
{
|
||||
"label": "Compile SASS",
|
||||
"type": "shell",
|
||||
"command": "gulp sass",
|
||||
"group": "build",
|
||||
"problemMatcher": [
|
||||
"$node-sass"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Watch SASS",
|
||||
"type": "shell",
|
||||
"command": "gulp watch",
|
||||
"group": "build"
|
||||
}
|
||||
]
|
||||
}
|
||||
10153
dist/css/custom.css
vendored
10153
dist/css/custom.css
vendored
File diff suppressed because it is too large
Load Diff
104
dist/css/custom.css.map
vendored
104
dist/css/custom.css.map
vendored
File diff suppressed because one or more lines are too long
20
gulpfile.js
Normal file
20
gulpfile.js
Normal file
@@ -0,0 +1,20 @@
|
||||
var gulp = require('gulp');
|
||||
var sass = require('gulp-sass');
|
||||
|
||||
gulp.task("sass", function (cb)
|
||||
{
|
||||
gulp.src("./src/scss/custom.scss")
|
||||
.pipe(sass())
|
||||
.pipe(gulp.dest(function (f)
|
||||
{
|
||||
return "./dist/css/";
|
||||
}));
|
||||
cb();
|
||||
});
|
||||
|
||||
gulp.task("watch", gulp.series("sass", function (cb)
|
||||
{
|
||||
gulp.watch("./src/scss/custom.scss", gulp.series("sass"));
|
||||
gulp.watch("./src/scss/fragments/*.scss", gulp.series("sass"));
|
||||
cb();
|
||||
}));
|
||||
5374
package-lock.json
generated
5374
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -7,6 +7,8 @@
|
||||
"@types/jquery": "^3.3.29",
|
||||
"bootstrap": "^4.3.1",
|
||||
"electron": "^4.0.5",
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-sass": "^4.0.2",
|
||||
"jquery": "^3.3.1",
|
||||
"npm": "^6.9.0",
|
||||
"oidc-client": "^1.6.1",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
position: absolute;
|
||||
transform: translateZ(-880px) rotateY(0);
|
||||
transform-style: preserve-3d;
|
||||
transition: transform 1s;
|
||||
transition: transform 1s;
|
||||
}
|
||||
|
||||
.carousel__cell
|
||||
|
||||
Reference in New Issue
Block a user