-
-
Notifications
You must be signed in to change notification settings - Fork 136
/
package.json
141 lines (141 loc) · 4.07 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
{
"name": "vite-ssg",
"version": "0.24.1",
"packageManager": "[email protected]",
"description": "Server-side generation for Vite",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/vite-ssg",
"repository": {
"type": "git",
"url": "https://github.com/antfu/vite-ssg"
},
"bugs": "https://github.com/antfu/vite-ssg/issues",
"keywords": [
"vite",
"vite-plugin",
"ssg",
"ssr"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.mjs",
"require": "./dist/node.cjs"
},
"./single-page": {
"types": "./dist/client/single-page.d.ts",
"import": "./dist/client/single-page.mjs",
"require": "./dist/client/single-page.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"single-page": [
"dist/client/single-page.d.ts"
],
"node": [
"dist/node.d.ts"
]
}
},
"bin": {
"vite-ssg": "bin/vite-ssg.js"
},
"files": [
"*.d.ts",
"bin",
"dist"
],
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"dev": "unbuild",
"lint": "eslint .",
"copy-readme-files": "esno scripts/copy-readme-files.ts",
"example:dev": "npm run copy-readme-files && npm -C examples/multiple-pages run dev",
"example:build": "npm run copy-readme-files && npm -C examples/multiple-pages run build",
"example:serve": "npm run copy-readme-files && npm -C examples/multiple-pages run serve",
"example:pwa:dev": "npm run copy-readme-files && npm -C examples/multiple-pages-pwa run dev",
"example:pwa:build": "npm run copy-readme-files && npm -C examples/multiple-pages-pwa run build",
"example:pwa:serve": "npm run copy-readme-files && npm -C examples/multiple-pages-pwa run serve",
"example:store:dev": "npm run copy-readme-files && npm -C examples/multiple-pages-with-store run dev",
"example:store:build": "npm run copy-readme-files && npm -C examples/multiple-pages-with-store run build",
"example:store:serve": "npm run copy-readme-files && npm -C examples/multiple-pages-with-store run serve",
"example:single:dev": "npm -C examples/single-page run dev",
"example:single:build": "npm -C examples/single-page run build",
"example:single:serve": "npm -C examples/single-page run serve",
"test": "pnpm -r --filter=./examples/* build && vitest run",
"build": "unbuild",
"prepublishOnly": "npm run build",
"typecheck": "vue-tsc --noEmit",
"release": "bumpp && npm publish"
},
"peerDependencies": {
"beasties": "^0.1.0",
"critters": "^0.0.24",
"vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0",
"vue": "^3.2.10",
"vue-router": "^4.0.1"
},
"peerDependenciesMeta": {
"beasties": {
"optional": true
},
"critters": {
"optional": true
},
"vue-router": {
"optional": true
}
},
"dependencies": {
"@unhead/dom": "^1.11.10",
"@unhead/vue": "^1.11.10",
"fs-extra": "^11.2.0",
"html-minifier-terser": "^7.2.0",
"html5parser": "^2.0.2",
"jsdom": "^25.0.1",
"kolorist": "^1.8.0",
"prettier": "^3.3.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@types/fs-extra": "^11.0.4",
"@types/html-minifier-terser": "^7.0.2",
"@types/jsdom": "^21.1.7",
"@types/yargs": "^17.0.33",
"beasties": "^0.1.0",
"bumpp": "^9.8.0",
"critters": "^0.0.25",
"eslint": "^9.13.0",
"esno": "^4.8.0",
"fast-glob": "^3.3.2",
"p-queue": "^8.0.1",
"rollup": "^4.24.2",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"vite": "^5.4.10",
"vite-plugin-pwa": "^0.20.5",
"vitest": "^2.1.4",
"vue": "^3.5.12",
"vue-router": "^4.4.5",
"vue-tsc": "^2.1.8"
},
"resolutions": {
"vite": "^5.4.10"
}
}