npm 패키지 구조package.json — 메타 + 의존성main / exports — 엔트리 포인트types — TS 타입files — 배포 포함 파일배포npm publish. 공개는 공개, 내부는 scope + private.