From da4910212badce71cf0adbe16ebafef53569bc76 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Tue, 14 Feb 2023 13:57:55 +0900 Subject: [PATCH] chore: package.json refactors --- .npmignore | 3 --- package.json | 6 ++---- tsconfig.json | 1 - 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index e3e70fc..0000000 --- a/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -screenshot.png -index.ts -aicommits.ts diff --git a/package.json b/package.json index b99ce7e..cdefcfb 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,8 @@ "name": "aicommits", "version": "1.0.2", "description": "Writes your git commit messages for you with AI", - "main": "bin/index.js", - "bin": { - "aicommits": "bin/index.js" - }, + "files": ["bin"], + "bin": "bin/index.js", "repository": "https://github.com/Nutlope/aicommits", "author": "Hassan El Mghari (@nutlope)", "license": "MIT", diff --git a/tsconfig.json b/tsconfig.json index d1f8fa3..510440a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,5 +7,4 @@ "forceConsistentCasingInFileNames": true, "skipLibCheck": true /* Skip type checking all .d.ts files. */ }, - "exclude": ["node_modules"] }