Skip to content

Commit

Permalink
Delete unnecessary properties from package.json
Browse files Browse the repository at this point in the history
- Remove the bin property from package.json
- Delete files, main, and repository properties
  • Loading branch information
zanhk committed Sep 12, 2023
1 parent 7530b2b commit 36f6fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ async function main() {
}
packageData.version = "0.0.1";
packageData.author = getGitAuthorName();
delete packageData.bin; // Remove the bin property from package.json
delete packageData.bin;
delete packageData.files;
delete packageData.main;
delete packageData.repository;
Expand Down

0 comments on commit 36f6fa7

Please sign in to comment.