UNPKG

swarpc

Version:

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

88 lines (87 loc) 2.68 kB
{ "name": "swarpc", "version": "0.17.2", "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://swarpc.js.org", "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" ], "main": "dist/index.js", "types": "dist/index.d.ts", "size-limit": [ { "path": "dist/index.js", "limit": "5 kB" } ], "scripts": { "build": "tsc --removeComments --declaration false && tsc --emitDeclarationOnly", "dev": "tsc --watch", "typecheck": "tsc --noEmit", "test": "vitest", "check": "oxlint", "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", "prepare": "husky" }, "devDependencies": { "@8hobbies/typedoc-plugin-plausible": "^2.2.0", "@playwright/test": "^1.57.0", "@size-limit/esbuild-why": "^12.0.0", "@size-limit/preset-small-lib": "^12.0.0", "@vitest/web-worker": "^4.0.15", "arktype": "^2.1.28", "date-fns": "^4.1.0", "husky": "^9.1.7", "kacl": "^1.1.1", "knip": "^5.72.0", "lint-staged": "^16.2.7", "nodemon": "^3.1.11", "oxlint": "^1.32.0", "pkg-pr-new": "^0.0.62", "prettier": "^3.7.4", "sirv-cli": "^3.0.1", "size-limit": "^12.0.0", "typedoc": "^0.28.15", "typedoc-material-theme": "^1.4.1", "typedoc-plugin-dt-links": "^2.0.32", "typedoc-plugin-extras": "^4.0.1", "typedoc-plugin-inline-sources": "^1.3.0", "typedoc-plugin-mdn-links": "^5.0.10", "typedoc-plugin-redirect": "^1.2.1", "typescript": "^5.9.3", "vite": "^7.2.7", "vitest": "^4.0.15" }, "volta": { "node": "24.11.1", "npm": "11.6.4" }, "lint-staged": { "*.{ts,js,md,json,yaml,yml}": [ "oxlint --fix", "prettier --write" ] } }