build: update package.json main and types paths

Update the `main` field to point to the `lib` directory instead of `dist/lib` and add the `types` field to specify the TypeScript definition file location. This change aligns the package configuration with the actual file structure and improves TypeScript support.
This commit is contained in:
Shinwoo PARK 2025-03-27 01:08:05 +09:00
parent fc52410bd5
commit 7dc4981907

View File

@ -2,7 +2,8 @@
"name": "nestlogged",
"version": "3.2.3",
"description": "A NestJS Logger Decorator Library",
"main": "./dist/lib/index.js",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"repository": "https://git.psw.kr/p-sw/nestlogged",
"author": "Shinwoo PARK",
"license": "MIT",