Skip to content

Commit 2a8fcc5

Browse files
committed
updated package.json
1 parent 9fb6300 commit 2a8fcc5

File tree

2 files changed

+12
-31
lines changed

2 files changed

+12
-31
lines changed

package-lock.json

Lines changed: 8 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"name": "nextjs-centralized-error-handler",
3-
"version": "1.0.7",
4-
"main": "index.js",
3+
"version": "1.0.8",
4+
"main": "src/index.js",
55
"scripts": {
66
"test": "jest",
7-
"format": "prettier --write .",
8-
"prepare": "husky install"
7+
"format": "prettier --write ."
98
},
109
"keywords": [
1110
"nextjs",
@@ -18,10 +17,9 @@
1817
],
1918
"author": "Riyon Sebastian",
2019
"license": "MIT",
21-
"description": "Centralized error handling for Next.js API routes with custom error classes.",
20+
"description": "A comprehensive error-handling solution for Next.js API routes, offering centralized management with custom error classes to deliver robust and user-friendly error responses. This package simplifies error handling by eliminating repetitive try-catch blocks and enhancing security through structured JSON responses.",
2221
"devDependencies": {
2322
"globals": "^15.11.0",
24-
"husky": "^9.1.6",
2523
"jest": "^29.7.0",
2624
"prettier": "^3.3.3"
2725
}

0 commit comments

Comments
 (0)