From 2fcc895869219a8a7a49dc2713bc265fa0d77b80 Mon Sep 17 00:00:00 2001 From: K Date: Sat, 15 Oct 2022 17:21:11 -0400 Subject: [PATCH] add barrelsby this commit adds barrelsby as a dynamic way to update index without messiness/redundancy. --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index a763b3cf..56318020 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "lint:fix": "eslint . --fix --cache --ext .js,.jsx,.ts,.tsx", "format": "prettier --check .", "format:fix": "prettier --write .", + "generate-barrels": "barrelsby -d ./src/commands/chat -D -q -S", "clean": "git clean -xdf --exclude=\"/config/**/*\"", "clean:dry": "git clean -xdf --exclude=\"/config/**/*\" --dry-run", "build": "tsc --project tsconfig.json", @@ -61,6 +62,7 @@ "@types/remove-markdown": "0.3.1", "@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/parser": "^5.40.0", + "barrelsby": "^2.5.1", "eslint": "^8.25.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-unicorn": "^44.0.2",