UNPKG

vite-plugin-sharedworker

Version:

Make SharedWorker works like Remote Procedure Call easily

72 lines 1.54 kB
{ "name": "vite-plugin-sharedworker", "version": "0.2.0", "description": "Make SharedWorker works like Remote Procedure Call easily", "keywords": [ "vite", "vite-plugin", "rpc", "sharedworker", "webworker" ], "homepage": "https://github.com/yjl9903/vite-plugin-sharedworker#readme", "bugs": { "url": "https://github.com/yjl9903/vite-plugin-sharedworker/issues" }, "repository": { "type": "git", "url": "git+https://github.com/yjl9903/vite-plugin-sharedworker.git" }, "license": "MIT", "author": "XLor", "sideEffects": false, "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./runtime": { "require": "./dist/runtime.cjs", "import": "./dist/runtime.mjs", "types": "./dist/runtime.d.ts" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./*" ] } }, "files": [ "dist", "*.d.ts" ], "dependencies": { "mlly": "^1.4.2" }, "devDependencies": { "@types/node": "^20.8.10", "@types/sharedworker": "^0.0.105", "unbuild": "^2.0.0", "vite": "^4.5.0", "vitest": "^0.34.6" }, "peerDependencies": { "vite": "^4.4.9" }, "engines": { "node": ">=v18.16.0" }, "scripts": { "build": "unbuild", "test": "vitest", "test:ci": "vitest --run", "typecheck": "tsc --noEmit" } }