mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
parent
5d0c5998d2
commit
c9b9e2705a
2 changed files with 10 additions and 1 deletions
|
@ -147,4 +147,11 @@ task("watch", function () {
|
|||
});
|
||||
|
||||
task("build", series("clean", "compile"));
|
||||
|
||||
task("build-production", series("clean", "compile-production"));
|
||||
|
||||
task("pr-check-json", series("lint-json", "validate-json-schema"));
|
||||
|
||||
task("pr-check-scss", series("lint", "sass"));
|
||||
|
||||
task("pr-check-ts", series("lint", "webpack-production"));
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
"lint": "./node_modules/.bin/eslint './backend/**/*.js' './frontend/src/scripts/**/*.js'",
|
||||
"build:live": "cd ./frontend && npm run build:live",
|
||||
"pretty": "prettier --check './backend/**/*.js' './frontend/src/**/*.{js,scss}' './frontend/static/**/*.{json,html}'",
|
||||
"validate-json-schema": "cd frontend && npx gulp validate-json-schema"
|
||||
"pr-check-json": "cd frontend && npx gulp pr-check-json",
|
||||
"pr-check-scss": "cd frontend && npx gulp pr-check-scss",
|
||||
"pr-check-ts": "cd frontend && npx gulp pr-check-ts"
|
||||
},
|
||||
"engines": {
|
||||
"npm": "8.1.2"
|
||||
|
|
Loading…
Reference in a new issue