honojs-middleware/packages/esbuild-transpiler/package.json

87 lines
2.0 KiB
JSON

{
"name": "@hono/esbuild-transpiler",
"version": "0.1.3",
"description": "esbuild Transpiler Middleware for Hono",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup ./src/*.ts ./src/transpilers/*.ts --no-splitting --external esbuild-wasm,esbuild",
"prepack": "yarn build",
"publint": "attw --pack && publint",
"typecheck": "tsc -b tsconfig.json",
"test": "vitest"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./wasm": {
"import": {
"types": "./dist/transpilers/wasm.d.ts",
"default": "./dist/transpilers/wasm.js"
},
"require": {
"types": "./dist/transpilers/wasm.d.cts",
"default": "./dist/transpilers/wasm.cjs"
}
},
"./node": {
"import": {
"types": "./dist/transpilers/node.d.ts",
"default": "./dist/transpilers/node.js"
},
"require": {
"types": "./dist/transpilers/node.d.cts",
"default": "./dist/transpilers/node.cjs"
}
}
},
"typesVersions": {
"*": {
"wasm": [
"./dist/transpilers/wasm"
],
"node": [
"./dist/transpilers/node"
]
}
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/honojs/middleware.git",
"directory": "packages/esbuild-transpiler"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
"hono": ">=3.9.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"esbuild": "^0.19.9",
"esbuild-wasm": "^0.19.5",
"publint": "^0.3.9",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
},
"engines": {
"node": ">=18.14.1"
}
}