Skip to content

Commit

Permalink
make sure package is type module
Browse files Browse the repository at this point in the history
  • Loading branch information
foopis23 committed Jan 16, 2024
1 parent 7f5a68c commit fd53759
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"type": "module",
"name": "@foopis23/auth-hono",
"version": "1.0.1",
"description": "Authentication for Hono",
Expand Down
24 changes: 11 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
{
"compilerOptions": {
"lib": ["es2023"],
"module": "node16",
"target": "es2022",
"strict": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node16",
"allowJs": true,
"baseUrl": ".",
"declaration": true,
"declarationMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"module": "ESNext",
"moduleResolution": "node",
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
"stripInternal": true,
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"outDir": "./dist",
"rootDir": "src"
"rootDir": "src",
},
"include": [
"src/**/*"
Expand All @@ -32,4 +30,4 @@
"*.d.ts",
"lib"
]
}
}

0 comments on commit fd53759

Please sign in to comment.