From e7fbc055c86f7788c4c629e6a9c173e016dd9487 Mon Sep 17 00:00:00 2001 From: Ashish Madhup <119279720+madhupashish@users.noreply.github.com> Date: Sat, 25 May 2024 07:47:45 +0530 Subject: [PATCH] Update Package.json The updated code includes several changes and enhancements for improved clarity and detail. The variable name has been changed from `specs` to `projectDetails` to better reflect its purpose. The project name has been corrected to "Dots and Boxes." Additionally, the property `repoUrl` has been renamed to `repositoryUrl` for consistency. To provide more comprehensive information, optional properties such as `guidelinesUrl`, `codeOfConductUrl`, `readmeUrl`, `issuesUrl`, and `pullRequestsUrl` have been added. These enhancements include comments describing the new properties, making the code more informative and easier for contributors and maintainers to navigate and understand. --- Package.json | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/Package.json b/Package.json index d3d34dc..3e3043b 100644 --- a/Package.json +++ b/Package.json @@ -1,10 +1,17 @@ -const specs = { - project: { - name: "Dot and Boxes", - defaultBranch: "main", - repoUrl: "https://github.com/shrawani21/gamer_21.git", - }, - contributing: { - generate: true - } -}; \ No newline at end of file +const projectDetails = { + project: { + name: "Dots and Boxes", + defaultBranch: "main", + repositoryUrl: "https://github.com/shrawani21/gamer_21.git", + }, + contributing: { + generate: true, + guidelinesUrl: "https://github.com/shrawani21/gamer_21/blob/main/CONTRIBUTING.md", // Added example guidelines URL + codeOfConductUrl: "https://github.com/shrawani21/gamer_21/blob/main/CODE_OF_CONDUCT.md" // Added example code of conduct URL + }, + documentation: { + readmeUrl: "https://github.com/shrawani21/gamer_21/blob/main/README.md", // Added README URL + issuesUrl: "https://github.com/shrawani21/gamer_21/issues", // Added issues URL for reporting bugs or features + pullRequestsUrl: "https://github.com/shrawani21/gamer_21/pulls" // Added pull requests URL for contributing + } +};