Skip to content

Commit 6485a8b

Browse files
committed
Update package.json to change main and types paths and add exports for admin and client modules
1 parent 24cce9a commit 6485a8b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

index.ts

Whitespace-only changes.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
"description": "A TypeScript library designed to simplify the creation and deployment of Firebase functions. It provides a structured and type-safe way to define Firebase functions, requests, and schedules.",
55
"author": "Steven Kellner",
66
"license": "MIT",
7-
"main": "lib/index.js",
8-
"types": "lib/index.d.ts",
7+
"main": "lib/admin/index.js",
8+
"types": "lib/admin/index.d.ts",
9+
"exports": {
10+
"./admin": "./lib/admin/index.js",
11+
"./client": "./lib/client/index.js"
12+
},
913
"scripts": {
1014
"build": "tsc",
1115
"rebuild": "tsc --build --force",

0 commit comments

Comments
 (0)