UNPKG

@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
{ "name": "@serwist/background-sync", "version": "9.0.15", "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.0.15" }, "devDependencies": { "cross-env": "7.0.3", "rollup": "4.43.0", "typescript": "5.8.3", "@serwist/configs": "9.0.15" }, "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" } }