@serwist/window
Version:
Simplifies communications with Serwist packages running in the service worker
70 lines • 1.63 kB
JSON
{
"name": "@serwist/window",
"version": "9.2.1",
"type": "module",
"description": "Simplifies communications with Serwist packages running in the service worker",
"files": [
"src",
"dist"
],
"keywords": [
"serwist",
"serwistjs",
"service worker",
"sw",
"window",
"message",
"postMessage"
],
"author": "Google's Web DevRel Team",
"contributors": [
"Serwist <ducanh2912.rusty@gmail.com> (https://serwist.pages.dev/)"
],
"license": "MIT",
"repository": "https://github.com/serwist/serwist",
"bugs": "https://github.com/serwist/serwist/issues",
"homepage": "https://serwist.pages.dev",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"internal": [
"./dist/index.internal.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./internal": {
"types": "./dist/index.internal.d.ts",
"default": "./dist/index.internal.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@types/trusted-types": "2.0.7",
"serwist": "9.2.1"
},
"devDependencies": {
"rollup": "4.49.0",
"typescript": "5.9.2",
"@serwist/configs": "9.2.1"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"scripts": {
"build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js --watch",
"lint": "biome lint ./src",
"typecheck": "tsc"
}
}