58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|||
|
|
"name": "vite-dev-rpc",
|
||
|
|
"type": "module",
|
||
|
|
"version": "2.0.0",
|
||
|
|
"description": "Remote procedure call for client-server communication in Vite plugins",
|
||
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
||
|
|
"license": "MIT",
|
||
|
|
"funding": "https://github.com/sponsors/antfu",
|
||
|
|
"homepage": "https://github.com/antfu/vite-dev-rpc#readme",
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/antfu/vite-dev-rpc.git"
|
||
|
|
},
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/antfu/vite-dev-rpc/issues"
|
||
|
|
},
|
||
|
|
"keywords": [],
|
||
|
|
"sideEffects": false,
|
||
|
|
"exports": {
|
||
|
|
".": "./dist/index.mjs",
|
||
|
|
"./package.json": "./package.json"
|
||
|
|
},
|
||
|
|
"types": "./dist/index.d.mts",
|
||
|
|
"files": [
|
||
|
|
"dist"
|
||
|
|
],
|
||
|
|
"peerDependencies": {
|
||
|
|
"vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0 || ^8.0.0"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"birpc": "^4.0.0",
|
||
|
|
"vite-hot-client": "^2.2.0"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@antfu/eslint-config": "^8.2.0",
|
||
|
|
"@antfu/ni": "^30.1.0",
|
||
|
|
"@babel/types": "^7.29.0",
|
||
|
|
"@types/node": "^25.6.0",
|
||
|
|
"bumpp": "^11.0.1",
|
||
|
|
"eslint": "^10.2.1",
|
||
|
|
"pnpm": "^10.33.2",
|
||
|
|
"tsdown": "^0.21.10",
|
||
|
|
"tsx": "^4.8.0",
|
||
|
|
"typescript": "^6.0.3",
|
||
|
|
"vite": "^8.0.10",
|
||
|
|
"vitest": "^4.1.5"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"build": "tsdown",
|
||
|
|
"dev": "tsdown --watch",
|
||
|
|
"lint": "eslint .",
|
||
|
|
"play": "nr build && vite playground",
|
||
|
|
"release": "bumpp",
|
||
|
|
"start": "tsx src/index.ts",
|
||
|
|
"test": "vitest",
|
||
|
|
"typecheck": "tsc --noEmit"
|
||
|
|
}
|
||
|
|
}
|