@sanity/comlink
Version:
A library for one-to-many cross-origin communication between Window contexts, built on the postMessage API.
70 lines • 1.64 kB
JSON
{
"name": "@sanity/comlink",
"version": "3.0.9",
"keywords": [
"sanity.io",
"postmessage"
],
"homepage": "https://github.com/sanity-io/visual-editing/tree/main/packages/comlink#readme",
"bugs": {
"url": "https://github.com/sanity-io/visual-editing/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/sanity-io/visual-editing.git",
"directory": "packages/comlink"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
"CHANGELOG.md"
],
"browserslist": "extends @sanity/browserslist-config",
"eslintConfig": {
"extends": [
"@repo/eslint-config"
],
"root": true
},
"dependencies": {
"rxjs": "^7.8.2",
"uuid": "^11.1.0",
"xstate": "^5.20.1"
},
"devDependencies": {
"@sanity/pkg-utils": "^7.9.8",
"eslint": "^8.57.1",
"typescript": "5.8.3",
"vitest": "^3.2.4",
"@repo/eslint-config": "0.0.0",
"@repo/package.config": "0.0.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "pkg build --strict --check --clean",
"dev": "pkg build --strict",
"lint": "eslint --cache .",
"test": "vitest --pass-with-no-tests --typecheck"
}
}