/
package.json
57 lines (57 loc) · 1.66 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
{
"name": "gatsby-plugin-offline",
"description": "Gatsby plugin which sets up a site to be able to run offline",
"version": "6.0.0-next.3",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"cheerio": "^1.0.0-rc.10",
"gatsby-core-utils": "^4.0.0-next.2",
"glob": "^7.2.3",
"idb-keyval": "^3.2.0",
"lodash": "^4.17.21",
"workbox-build": "^4.3.1"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^3.0.0-next.1",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^4.0.0-next.3",
"rewire": "^6.0.0"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline#readme",
"keywords": [
"gatsby",
"gatsby-plugin",
"offline",
"precache",
"service-worker"
],
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"gatsby": "^5.0.0-next",
"react": "^18.0.0 || ^0.0.0",
"react-dom": "^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-plugin-offline"
},
"scripts": {
"build": "npm run build:src && npm run build:sw-append",
"build:src": "babel src --out-dir . --ignore \"**/__tests__,src/sw-append.js\"",
"build:sw-append": "cpy src/sw-append.js .",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch"
},
"engines": {
"node": ">=18.0.0"
}
}