From: Dessalines Date: Sat, 29 Feb 2020 19:40:27 +0000 (-0500) Subject: Adding generate report for yarn start. X-Git-Url: http://these/git/%7BpictrsAvatarThumbnail%28user.avatar%29%7D?a=commitdiff_plain;h=300828808da5ccc5d085354121336f082fa117db;p=lemmy.git Adding generate report for yarn start. --- diff --git a/ui/package.json b/ui/package.json index 6cb2092c..f0e9f0b7 100644 --- a/ui/package.json +++ b/ui/package.json @@ -9,6 +9,7 @@ "build": "node fuse prod", "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src", "prebuild": "node generate_translations.js", + "prestart": "node generate_translations.js", "start": "node fuse dev" }, "keywords": [], @@ -63,7 +64,7 @@ "engineStrict": true, "husky": { "hooks": { - "pre-commit": "git add ../README.md && cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged" + "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged" } }, "lint-staged": {