-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
77 lines (77 loc) · 2.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"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": ">=18"
},
"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": "^6.4.2",
"@testing-library/react": "^15.0.1",
"@types/react": "^18.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.8.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "5",
"eslint-plugin-promise": "^7.0.0",
"eslint-plugin-react": "^7.23.1",
"gh-pages": "^6.1.1",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-scripts": "^5.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"files": [
"dist"
],
"dependencies": {}
}