@3m1/service-worker-updater
Version:
Manage Create React App's Service Worker update
77 lines (76 loc) • 2.38 kB
JSON
{
"name": "@3m1/service-worker-updater",
"version": "2.0.3",
"description": "Manage Create React App's Service Worker update",
"author": "github.com/emibcn",
"license": "GPL-3.0-or-later",
"repository": "https://github.com/emibcn/service-worker-updater",
"homepage": "https://github.com/emibcn/service-worker-updater",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"sideEffects": false,
"keywords": [
"react",
"service worker",
"ServiceWorker",
"sw",
"PWA",
"SPA",
"registration",
"create-react-app",
"refresh",
"update"
],
"engines": {
"node": ">=10"
},
"scripts": {
"build": "microbundle-crl --format modern,cjs",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom --color --coverage",
"test:unit:cobertura": "cross-env CI=1 react-scripts test --env=jsdom --color --coverage --coverageReporters=cobertura",
"test:unit-html": "cross-env CI=1 react-scripts test --env=jsdom --color --coverage --coverageReporters=html",
"test:watch": "react-scripts test --env=jsdom",
"predeploy-example": "cd example && yarn install && yarn run build",
"deploy-example": "gh-pages -d example/build",
"deploy": "np --color --preview",
"deploy-force": "np --color"
},
"peerDependencies": {
"react": "^17"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^12.0.0",
"@types/react": "^17.0.19",
"cross-env": "^7.0.3",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.23.1",
"gh-pages": "^3.1.0",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "^4.0.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"files": [
"dist"
],
"dependencies": {}
}