UNPKG

react-workbox

Version:

Manage installation and activation of service worker

63 lines (62 loc) 1.74 kB
{ "name": "react-workbox", "version": "1.0.0-beta-5", "description": "Manage installation and activation of service worker", "license": "MIT", "repository": "https://github.com/NShahri/react-workbox", "author": "Nima Shahri <https://github.com/NShahri>", "bugs": { "url": "https://github.com/NShahri/react-workbox/issues" }, "keywords": [ "workbox", "service worker", "service", "worker", "react", "cache", "PWA", "progressive", "progressive web app", "create react app", "CRA" ], "main": "build/cjs/index.js", "module": "build/es/index.js", "typings": "build/es/index.d.ts", "scripts": { "test": "jest", "prepublish": "npm run build", "prebuild": "rimraf build/", "build": "tsc --project tsconfig.json & tsc --project tsconfig-cjs.json", "format": "prettier --config ./.prettierrc --write 'src/**/*.{ts,tsx}' && module-grouping 'src/**/*.{ts,tsx}' --write", "lint": "eslint ./src" }, "files": [ "build/**/*" ], "devDependencies": { "@types/jest": "^27.0.3", "@types/react": "^17.0.0", "@types/react-test-renderer": "^17.0.0", "@typescript-eslint/eslint-plugin": "^5.7.0", "@typescript-eslint/parser": "^5.7.0", "eslint": "^8.5.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "jest": "27.4.5", "module-grouping-cli": "^0.2.9", "prettier": "^2.2.1", "react-test-renderer": "^17.0.1", "rimraf": "3.0.2", "ts-jest": "^27.1.2", "typescript": "^4.1.3" }, "dependencies": { "react": "^17.0.1", "tslib": "^2.1.0", "workbox-window": "^6.0.2" } }