mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-08 06:29:45 +08:00
Merge branch 'use-gulp' into lint
This commit is contained in:
commit
153efd9a6a
4 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -115,6 +115,7 @@ async function saveConfigToDB() {
|
|||
4000
|
||||
);
|
||||
}
|
||||
return;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue