Added a service worker
Showing
- package.json 58 additions, 46 deletionspackage.json
- public/manifest.json 23 additions, 23 deletionspublic/manifest.json
- src/index.tsx 2 additions, 0 deletionssrc/index.tsx
- src/service-worker.ts 71 additions, 0 deletionssrc/service-worker.ts
- src/serviceWorkerRegistration.ts 123 additions, 0 deletionssrc/serviceWorkerRegistration.ts
- tsconfig.json 24 additions, 24 deletionstsconfig.json
- yarn.lock 35 additions, 35 deletionsyarn.lock
{ | ||
"name": "ryoko", | ||
"version": "0.1.0", | ||
"description": "Ryoko is a project planning tool build with developers in mind", | ||
"repository": "https://gitlab.inf.unibz.it/Roland.Bernard/wie_202021_csbillero11.git/", | ||
"author": "Roland Bernard <rolbernard@unibz.it>", | ||
"license": "MIT", | ||
"private": true, | ||
"dependencies": { | ||
"@testing-library/jest-dom": "^5.11.4", | ||
"@testing-library/react": "^11.1.0", | ||
"@testing-library/user-event": "^12.1.10", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^12.0.0", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"node-sass": "^5.0.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-scripts": "4.0.3", | ||
"typescript": "^4.1.2", | ||
"web-vitals": "^1.0.1" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"react-app", | ||
"react-app/jest" | ||
] | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
"name": "ryoko", | ||
"version": "0.1.0", | ||
"description": "Ryoko is a project planning tool build with developers in mind", | ||
"repository": "https://gitlab.inf.unibz.it/Roland.Bernard/wie_202021_csbillero11.git/", | ||
"author": "Roland Bernard <rolbernard@unibz.it>", | ||
"license": "MIT", | ||
"private": true, | ||
"dependencies": { | ||
"@testing-library/jest-dom": "^5.11.4", | ||
"@testing-library/react": "^11.1.0", | ||
"@testing-library/user-event": "^12.1.10", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^12.0.0", | ||
"@types/react": "^16.9.53", | ||
"@types/react-dom": "^16.9.8", | ||
"node-sass": "^5.0.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-scripts": "4.0.3", | ||
"typescript": "^4.0.3", | ||
"web-vitals": "^0.2.4", | ||
"workbox-background-sync": "^5.1.3", | ||
"workbox-broadcast-update": "^5.1.3", | ||
"workbox-cacheable-response": "^5.1.3", | ||
"workbox-core": "^5.1.3", | ||
"workbox-expiration": "^5.1.3", | ||
"workbox-google-analytics": "^5.1.3", | ||
"workbox-navigation-preload": "^5.1.3", | ||
"workbox-precaching": "^5.1.3", | ||
"workbox-range-requests": "^5.1.3", | ||
"workbox-routing": "^5.1.3", | ||
"workbox-strategies": "^5.1.3", | ||
"workbox-streams": "^5.1.3" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"react-app", | ||
"react-app/jest" | ||
] | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
src/service-worker.ts
0 → 100644
src/serviceWorkerRegistration.ts
0 → 100644
Please register or sign in to comment