From 67cdcbdec822c2a05456d67c2e3a0e1d16e8444b Mon Sep 17 00:00:00 2001 From: "ADMSK\\AVROGAL1" Date: Mon, 15 Mar 2021 15:56:54 +0300 Subject: [PATCH] docs: updates on workflows Added information on documentation --- lefthook.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lefthook.yml b/lefthook.yml index fee9177f0..1d58a684b 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -4,7 +4,7 @@ pre-commit: prettier: files: git diff --name-only @{push} glob: "*.{js,ts}" - run: npx prettier --single-quote --write + run: npx prettier --single-quote --write {files} linter: files: git diff --name-only @{push} glob: "*.{js,ts}" diff --git a/package.json b/package.json index 9457c917a..2c498df3b 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "test": "TZ=utc jest", "test:coverage": "jest --collectCoverage --detectOpenHandles", "test:watch": "jest --watch", + "test:all": "npm run test && npm run test:folio", "all": "npm run format && npm run lint && npm run build" }, "dependencies": {