0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 11:17:33 +01:00

fix(package.json): add "type": "module" (#679)

This commit is contained in:
Taishi Naritomi 2022-11-26 15:45:24 +09:00 committed by GitHub
parent 8500949bd6
commit 95973a5b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
module.exports = {
export default {
testMatch: ['**/test/**/*.+(ts|tsx|js)', '**/src/**/(*.)+(spec|test).+(ts|tsx|js)'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',

View File

@ -3,6 +3,7 @@
"version": "2.5.5",
"description": "Ultrafast web framework for Cloudflare Workers, Deno, and Bun.",
"main": "dist/cjs/index.js",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [