-
-
Notifications
You must be signed in to change notification settings - Fork 211
/
package.json
161 lines (161 loc) · 4.51 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "vite-plugin-pwa",
"type": "module",
"version": "0.21.0",
"packageManager": "[email protected]",
"description": "Zero-config PWA for Vite",
"author": "antfu <[email protected]>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/vite-pwa/vite-plugin-pwa#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/vite-pwa/vite-plugin-pwa.git"
},
"bugs": "https://github.com/vite-pwa/vite-plugin-pwa/issues",
"keywords": [
"react",
"pwa",
"vue",
"vitepress",
"preact",
"svelte",
"sveltekit",
"workbox",
"solidjs",
"vite",
"vite-plugin"
],
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./types": {
"types": "./types/index.d.ts"
},
"./preact": {
"types": "./preact.d.ts"
},
"./react": {
"types": "./react.d.ts"
},
"./solid": {
"types": "./solid.d.ts"
},
"./svelte": {
"types": "./svelte.d.ts"
},
"./vanillajs": {
"types": "./vanillajs.d.ts"
},
"./vue": {
"types": "./vue.d.ts"
},
"./client": {
"types": "./client.d.ts"
},
"./info": {
"types": "./info.d.ts"
},
"./pwa-assets": {
"types": "./pwa-assets.d.ts"
},
"./package.json": "./package.json",
"./*": "./*"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"*.d.ts",
"dist",
"types"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"docs": "pnpm -C docs run dev",
"docs:build": "pnpm -C docs run build",
"docs:serve": "pnpm -C docs run serve",
"docs:preview": "pnpm -C docs run preview",
"lint": "eslint .",
"lint-fix": "nr lint --fix",
"dev": "esno scripts/dev.ts",
"build": "rimraf dist && esno scripts/build.ts",
"build-js-example-on-root": "vite build --outDir=../../dist-examples-root -c ./examples/vanilla-js-custom-sw/vite.config.js ./examples/vanilla-js-custom-sw",
"build-vue-example-on-root": "DEBUG=vite-plugin-pwa BASE_URL=/ SOURCE_MAP=true CLAIMS=true vite build --outDir=../../dist-examples-root -c ./examples/vue-router/vite.config.ts ./examples/vue-router",
"prepublishOnly": "npm run build",
"release": "bumpp && npm publish",
"examples": "esno scripts/run-examples.ts",
"example:vue:dev:cdn": "pnpm -C examples/vue-basic-cdn run dev",
"example:vue:build:cdn": "pnpm -C examples/vue-basic-cdn run build",
"example:vue:start:cdn": "pnpm -C examples/vue-basic-cdn run start",
"deploy": "nr build && nr docs:build",
"test-vue": "pnpm -C examples/vue-router run test",
"test-react": "pnpm -C examples/react-router run test",
"test-preact": "pnpm -C examples/preact-router run test",
"test-solid": "pnpm -C examples/solid-router run test",
"test-svelte": "pnpm -C examples/svelte-routify run test",
"test-typescript": "pnpm -C examples/vanilla-ts-no-ip run test",
"test": "nr test-vue && nr test-react && nr test-preact && nr test-solid && nr test-svelte && nr test-typescript",
"test:vite-ecosystem-ci": "nr test-typescript"
},
"peerDependencies": {
"@vite-pwa/assets-generator": "^0.2.6",
"vite": "^3.1.0 || ^4.0.0 || ^5.0.0",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0"
},
"peerDependenciesMeta": {
"@vite-pwa/assets-generator": {
"optional": true
}
},
"dependencies": {
"debug": "^4.3.6",
"pretty-bytes": "^6.1.1",
"tinyglobby": "^0.2.10",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.0.0",
"@antfu/ni": "^0.21.9",
"@playwright/test": "^1.40.0",
"@types/debug": "^4.1.12",
"@types/node": "^18.17.14",
"@types/prompts": "^2.4.8",
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@vite-pwa/assets-generator": "^0.2.6",
"bumpp": "^9.2.0",
"eslint": "^8.54.0",
"esno": "0.17.0",
"kolorist": "^1.8.0",
"preact": "^10.19.2",
"prompts": "^2.4.2",
"publint": "^0.2.5",
"react": "^18.2.0",
"solid-js": "^1.8.5",
"svelte": "^4.2.5",
"tsup": "^7.3.0",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vitest": "1.0.0-beta.4",
"vue": "^3.3.8"
},
"pnpm": {
"overrides": {
"rollup": "^4.22.4"
}
}
}