Merge branch 'use-gulp' into lint

This commit is contained in:
typer 2020-11-02 17:52:58 -08:00
commit 153efd9a6a
4 changed files with 7 additions and 4 deletions

View file

@ -27,7 +27,9 @@ If you encounter a bug, or have a feature request - send me a message on Reddit,
# credits
Montydrei for the name suggestion
Everyone who provided valuable feedback on the original reddit post for the prototype of this website
Contributors that have helped with implementing various features, adding themes and more.
# support

View file

@ -43,13 +43,13 @@ task("clean", function () {
return src("./dist/", { allowEmpty: true }).pipe(vinylPaths(del));
});
task("build", series("static", "sass", "cat"));
task("compile", series("static", "sass", "cat"));
task("watch", function () {
watch(["./public/**/*", "./src/**/*"], series("build"));
watch(["./public/**/*", "./src/**/*"], series("compile"));
});
task("rebuild", series("clean", "build"));
task("build", series("clean", "compile"));
let eslintConfig = {
parser: "babel-eslint",

View file

@ -4,7 +4,7 @@
"license": "GPL-3.0",
"private": true,
"scripts": {
"build": "npx gulp rebuild",
"build": "npx gulp build",
"start": "npm run build && firebase serve",
"start:dev": "npm run build && concurrently --kill-others \"npx gulp watch\" \"firebase serve\"",
"postinstall": "cd functions && npm install"

View file

@ -115,6 +115,7 @@ async function saveConfigToDB() {
4000
);
}
return;
}
);
}