fix(firebase-auth): export esm (#337)
* fix(firebase-auth): export esm * add changesetpull/338/head
parent
42f9a1bd77
commit
75841d6b48
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@hono/firebase-auth': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: export esm
|
|
@ -2,7 +2,9 @@
|
||||||
"name": "@hono/firebase-auth",
|
"name": "@hono/firebase-auth",
|
||||||
"version": "1.3.3",
|
"version": "1.3.3",
|
||||||
"description": "A third-party firebase auth middleware for Hono",
|
"description": "A third-party firebase auth middleware for Hono",
|
||||||
"main": "dist/index.js",
|
"type": "module",
|
||||||
|
"main": "dist/index.cjs",
|
||||||
|
"module": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
@ -11,10 +13,23 @@
|
||||||
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
||||||
"test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'",
|
"test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"build": "tsc",
|
"build": "tsup ./src/index.ts --format esm,cjs --dts",
|
||||||
"prerelease": "yarn build",
|
"publint": "publint",
|
||||||
|
"prerelease": "yarn build && arn publint",
|
||||||
"release": "yarn publish"
|
"release": "yarn publish"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.cts",
|
||||||
|
"default": "./dist/index.cjs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -38,6 +53,7 @@
|
||||||
"hono": "^3.11.7",
|
"hono": "^3.11.7",
|
||||||
"miniflare": "^3.20231025.1",
|
"miniflare": "^3.20231025.1",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
|
"tsup": "^8.0.1",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vitest": "^0.34.6"
|
"vitest": "^0.34.6"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1426,6 +1426,7 @@ __metadata:
|
||||||
hono: "npm:^3.11.7"
|
hono: "npm:^3.11.7"
|
||||||
miniflare: "npm:^3.20231025.1"
|
miniflare: "npm:^3.20231025.1"
|
||||||
prettier: "npm:^2.7.1"
|
prettier: "npm:^2.7.1"
|
||||||
|
tsup: "npm:^8.0.1"
|
||||||
typescript: "npm:^4.7.4"
|
typescript: "npm:^4.7.4"
|
||||||
vitest: "npm:^0.34.6"
|
vitest: "npm:^0.34.6"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
Loading…
Reference in New Issue