112 lines
2.7 KiB
JSON
112 lines
2.7 KiB
JSON
{
|
|
"name": "@hono/vite-dev-server",
|
|
"description": "Vite dev-server plugin for Hono",
|
|
"version": "0.19.1",
|
|
"types": "dist/index.d.ts",
|
|
"module": "dist/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test:unit": "vitest --run ./src",
|
|
"test:e2e": "playwright test -c e2e/playwright.config.ts e2e/e2e.test.ts",
|
|
"test:e2e:bun": "playwright test -c e2e-bun/playwright.config.ts e2e-bun/e2e.test.ts",
|
|
"test": "yarn test:unit && yarn test:e2e",
|
|
"build": "rimraf dist && tsup --format esm,cjs --dts && publint",
|
|
"watch": "tsup --watch",
|
|
"prerelease": "yarn build && yarn test",
|
|
"release": "yarn publish"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./cloudflare": {
|
|
"types": "./dist/adapter/cloudflare.d.ts",
|
|
"require": "./dist/adapter/cloudflare.cjs",
|
|
"import": "./dist/adapter/cloudflare.js"
|
|
},
|
|
"./node": {
|
|
"types": "./dist/adapter/node.d.ts",
|
|
"require": "./dist/adapter/node.cjs",
|
|
"import": "./dist/adapter/node.js"
|
|
},
|
|
"./bun": {
|
|
"types": "./dist/adapter/bun.d.ts",
|
|
"require": "./dist/adapter/bun.cjs",
|
|
"import": "./dist/adapter/bun.js"
|
|
}
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"types": [
|
|
"./dist/types"
|
|
],
|
|
"cloudflare": [
|
|
"./dist/adapter/cloudflare.d.ts"
|
|
],
|
|
"node": [
|
|
"./dist/adapter/node.d.ts"
|
|
],
|
|
"bun": [
|
|
"./dist/adapter/bun.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/honojs/vite-plugins.git"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org",
|
|
"access": "public"
|
|
},
|
|
"homepage": "https://github.com/honojs/vite-plugins",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.37.1",
|
|
"glob": "^10.3.10",
|
|
"hono": "^4.4.11",
|
|
"miniflare": "^3.20240701.0",
|
|
"playwright": "^1.39.0",
|
|
"publint": "^0.2.5",
|
|
"rimraf": "^5.0.1",
|
|
"tsup": "^7.2.0",
|
|
"vite": "^6.1.1",
|
|
"vitest": "^0.34.6",
|
|
"wrangler": "^3.63.1"
|
|
},
|
|
"peerDependencies": {
|
|
"hono": "*",
|
|
"miniflare": "*",
|
|
"wrangler": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"hono": {
|
|
"optional": false
|
|
},
|
|
"miniflare": {
|
|
"optional": true
|
|
},
|
|
"wrangler": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18.14.1"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.14.2",
|
|
"minimatch": "^9.0.3"
|
|
}
|
|
}
|