UNPKG

swarpc

Version:

Full type-safe RPC library for service worker -- move things off of the UI thread with ease!

67 lines (66 loc) 2.11 kB
{ "name": "swarpc", "version": "0.10.0", "description": "Full type-safe RPC library for service worker -- move things off of the UI thread with ease!", "keywords": [ "service-workers", "sw", "rpc", "trpc", "typesafe" ], "homepage": "https://github.com/gwennlbh/swarpc#readme", "bugs": { "url": "https://github.com/gwennlbh/swarpc/issues" }, "repository": { "type": "git", "url": "git+https://github.com/gwennlbh/swarpc.git" }, "license": "MIT", "author": "Gwenn Le Bihan <gwenn.lebihan7@gmail.com>", "type": "module", "files": [ "dist", "src" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "dev": "tsc --watch", "typecheck": "tsc --noEmit", "test": "vitest", "typedoc": "typedoc", "version": "kacl release && prettier -w CHANGELOG.md && git add CHANGELOG.md", "typedoc:dev": "nodemon --watch src --watch README.md --watch typedoc.json --watch typedoc.css --exec npm run typedoc:withplugins", "typedoc:serve": "npx sirv-cli --dev docs", "typedoc:plugins": "node -e \"const fs=require('fs');const p=JSON.parse(fs.readFileSync('typedoc.json')).plugin||[];if(p.length)require('child_process').execSync('npm add --legacy-peer-deps -D '+p.join(' '),{stdio:'inherit'});else console.log('No plugins found');\"", "typedoc:withplugins": "npm run typedoc:plugins && npm run typedoc" }, "dependencies": { "arktype": "^2.1.20" }, "devDependencies": { "@8hobbies/typedoc-plugin-plausible": "^2.2.0", "@vitest/web-worker": "^3.2.4", "kacl": "^1.1.1", "nodemon": "^3.1.10", "prettier": "^3.6.2", "sirv-cli": "^3.0.1", "typedoc": "^0.28.9", "typedoc-material-theme": "^1.4.0", "typedoc-plugin-dt-links": "^2.0.13", "typedoc-plugin-extras": "^4.0.1", "typedoc-plugin-inline-sources": "^1.3.0", "typedoc-plugin-mdn-links": "^5.0.7", "typedoc-plugin-redirect": "^1.2.0", "typescript": "^5.9.2", "vite": "^7.0.6", "vitest": "^3.2.4" }, "volta": { "node": "22.18.0", "npm": "11.5.2" } }