@serwist/background-sync
Version:
A module that queues failed requests and uses the Background Synchronization API to replay them when the network is available.
57 lines • 1.37 kB
JSON
{
"name": "@serwist/background-sync",
"version": "9.5.6",
"type": "module",
"description": "A module that queues failed requests and uses the Background Synchronization API to replay them when the network is available.",
"files": [
"src",
"dist"
],
"keywords": [
"serwist",
"serwistjs",
"service worker",
"sw",
"background",
"sync",
"serwist-plugin"
],
"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",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"dependencies": {
"serwist": "9.5.6"
},
"devDependencies": {
"cross-env": "10.1.0",
"rollup": "4.57.0",
"typescript": "5.9.3",
"@serwist/configs": "9.5.6"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"scripts": {
"build": "rimraf dist && NODE_ENV=production rollup --config rollup.config.js",
"lint": "biome lint ./src",
"typecheck": "tsc"
}
}