-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
139 lines (139 loc) · 4.88 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@americanexpress/one-service-worker",
"version": "1.0.4",
"description": "A service worker built for the modern web",
"license": "Apache-2.0",
"homepage": "https://github.com/americanexpress/one-service-worker",
"bugs": {
"url": "https://github.com/americanexpress/one-service-worker/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/one-service-worker.git"
},
"keywords": [
"sw",
"pwa",
"service worker",
"cache",
"offline",
"web-push",
"background-sync"
],
"contributors": [
"Andres Escobar <Andres.Escobar@aexp.com> (https://github.com/anescobar1991)",
"James Singleton <James.Singleton1@aexp.com> (https://github.com/JamesSingleton)",
"Jamie King <Jamie.King@aexp.com> (https://github.com/10xLaCroixDrinker)",
"Jonathan Adshead <Jonathan.Adshead@aexp.com> (https://github.com/JAdshead)",
"Michael Tobia <Michael.M.Tobia@aexp.com> (https://github.com/Francois-Esquire)",
"Michael Tomcal <Michael.A.Tomcal@aexp.com> (https://github.com/mtomcal)",
"Stephanie Coates <Stephanie.Coates1@aexp.com> (https://github.com/stephaniecoates)",
"Nelly Kiboi <Nelly.J.Kiboi@aexp.com> (https://github.com/nellyk)",
"Nickolas Oliver <nickolas.oliver@aexp.com> (https://github.com/PixnBits)"
],
"files": [
"es",
"index.esm.js",
"index.cjs.js",
"index.umd.js",
"index.min.js",
"index.min.js.gz",
"jest.environment.js"
],
"sideEffects": false,
"main": "index.cjs.js",
"module": "index.esm.js",
"browser": "index.min.js",
"scripts": {
"test": "cross-env NODE_ENV=production jest --config jest.config.js",
"pretest": "npm run build && (cd packages/one-service-worker-demo && yarn)",
"posttest": "npm run test:integration && npm run lint",
"test:integration": "cross-env NODE_ENV=production jest --config jest.integration.config.js || (npm run demo:test-down && exit 1)",
"pretest:integration": "npm run demo:test-up",
"posttest:integration": "npm run demo:test-down",
"lint:commits": "commitlint --from origin/main --to HEAD",
"lint:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts registry.yarnpkg.com --validate-https",
"lint:eslint": "eslint . --ext js,jsx,md,snap",
"lint": "npm run lint:eslint && npm run lint:lockfile && npm run lint:commits",
"print": "node scripts/print.js",
"clean": "node scripts/clean.js",
"build": "node scripts/build.js",
"prebuild": "npm run clean",
"prepack": "cross-env NODE_ENV=production npm run build",
"dev": "npm run dev --prefix packages/one-service-worker-demo",
"demo": "npm start --prefix packages/one-service-worker-demo",
"demo:test-up": "node scripts/demo.js demo-test-up",
"demo:test-down": "node scripts/demo.js demo-test-down",
"demo:watch": "npm run start:watch --prefix packages/one-service-worker-demo",
"demo:build": "npm run build --prefix packages/one-service-worker-demo",
"demo:install": "npm install --prefix packages/one-service-worker-demo"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.8.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.2.0",
"@rollup/plugin-babel": "^5.0.4",
"@rollup/plugin-buble": "^0.21.0",
"@rollup/plugin-node-resolve": "^8.0.1",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.0.2",
"@semantic-release/release-notes-generator": "^9.0.0",
"amex-jest-preset": "^6.0.1",
"babel-jest": "^26.0.1",
"babel-preset-amex": "^3.3.0",
"chalk": "^4.1.0",
"cross-env": "^7.0.0",
"eslint": "^7.2.0",
"eslint-config-amex": "^12.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^4.2.1",
"jest": "^26.0.1",
"lockfile-lint": "^4.0.0",
"npm-run-all": "^4.1.3",
"playwright": "^1.32.1",
"prettier": "^2.0.2",
"rollup": "^2.0.3",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-gzip": "^2.2.0",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^17.0.2",
"service-worker-mock": "^2.0.5",
"web-push": "^3.4.3"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}