-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
116 lines (116 loc) · 3.46 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
{
"name": "@vite-pwa/nuxt",
"type": "module",
"version": "0.10.6",
"packageManager": "[email protected]",
"description": "Zero-config PWA for Nuxt 3",
"author": "antfu <[email protected]>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/vite-pwa/nuxt#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/vite-pwa/nuxt.git"
},
"bugs": "https://github.com/vite-pwa/nuxt/issues",
"keywords": [
"nuxt",
"pwa",
"workbox",
"vite-plugin-pwa",
"nuxt-module"
],
"exports": {
".": {
"types": "./dist/types.d.mts",
"default": "./dist/module.mjs"
},
"./configuration": {
"types": "./configuration.d.ts"
},
"./package.json": "./package.json",
"./*": "./*"
},
"main": "./dist/module.mjs",
"types": "./dist/types.d.ts",
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"prepack": "nuxt-module-build prepare && nuxt-module-build build",
"dev": "nuxi dev playground",
"dev:generate": "nuxi generate playground",
"dev:generate:netlify": "NITRO_PRESET=netlify nuxi generate playground",
"dev:generate:vercel": "NITRO_PRESET=vercel nuxi generate playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"dev:preview:build": "nr dev:build && node playground/.output/server/index.mjs",
"dev:preview:generate": "nr dev:generate && serve playground/dist",
"release": "bumpp && npm publish",
"lint": "eslint .",
"lint:fix": "nr lint --fix",
"test:build:serve": "PORT=4173 node playground/.output/server/index.mjs",
"test:generate:serve": "PORT=4173 serve playground/dist",
"test:build": "nr dev:build && NUXT_ECOSYSTEM_CI=true TEST_BUILD=true vitest run && TEST_BUILD=true playwright test",
"test:generate": "nr dev:generate && NUXT_ECOSYSTEM_CI=true vitest run && playwright test",
"test:build:local": "nr dev:build && TEST_BUILD=true vitest run && TEST_BUILD=true playwright test",
"test:generate:local": "nr dev:generate && vitest run && playwright test",
"test:local": "nr test:build:local && nr test:generate:local",
"test": "nr test:build && nr test:generate",
"test:with-build": "nr dev:prepare && nr prepack && nr test"
},
"peerDependencies": {
"@vite-pwa/assets-generator": "^0.2.6"
},
"peerDependenciesMeta": {
"@vite-pwa/assets-generator": {
"optional": true
}
},
"dependencies": {
"@nuxt/kit": "^3.9.0",
"pathe": "^1.1.1",
"ufo": "^1.3.2",
"vite-plugin-pwa": ">=0.20.5 <1"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
"@antfu/ni": "^0.21.10",
"@nuxt/module-builder": "^0.8.3",
"@nuxt/schema": "^3.10.1",
"@nuxt/test-utils": "^3.11.0",
"@playwright/test": "^1.40.1",
"@types/node": "^18",
"bumpp": "^9.2.0",
"eslint": "^8.54.0",
"node-fetch-native": "^1.4.1",
"nuxt": "^3.10.1",
"publint": "^0.2.5",
"rimraf": "^5.0.5",
"serve": "^14.2.1",
"typescript": "^5.4.5",
"vitest": "^1.1.0",
"vue-tsc": "^1.8.27"
},
"resolutions": {
"@nuxt/kit": "^3.10.1"
},
"build": {
"externals": [
"node:child_process",
"node:fs",
"consola",
"esbuild",
"h3",
"pathe",
"rollup",
"ufo",
"vite",
"vite-plugin-pwa"
]
},
"stackblitz": {
"startCommand": "nr prepack && nr dev:prepare && nr dev"
}
}