forked from antfu-collective/vite-ssg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.33 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
{
"name": "vite-ssg",
"description": "Server-side generation for Vite",
"version": "0.15.6",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"./": "./",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./single-page": {
"require": "./dist/client/single-page.js",
"import": "./dist/client/single-page.mjs"
}
},
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"author": "Anthony Fu <[email protected]>",
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/antfu/vite-ssg"
},
"homepage": "https://github.com/antfu/vite-ssg",
"bugs": "https://github.com/antfu/vite-ssg/issues",
"files": [
"dist",
"bin",
"single-page.d.ts"
],
"bin": {
"vite-ssg": "bin/vite-ssg.js"
},
"keywords": [
"vite",
"vite-plugin",
"ssg",
"ssr"
],
"scripts": {
"dev": "npm run build:module -- --watch src",
"copy-readme-files": "esno scripts/copy-readme-files.ts",
"copy-single-page-dts": "esno scripts/copy-single-page-dts.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: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",
"build:module": "tsup src/index.ts src/client/single-page.ts src/node/cli.ts --dts --format cjs,esm --splitting",
"build": "rimraf dist && npm run build:module && npm run copy-single-page-dts",
"prepublishOnly": "npm run build",
"release": "npx bumpp --push --tag --commit"
},
"dependencies": {
"chalk": "^4.1.2",
"fs-extra": "^10.0.0",
"html-minifier": "^4.0.0",
"jsdom": "^17.0.0",
"prettier": "^2.4.1",
"yargs": "^17.2.1"
},
"peerDependencies": {
"@vue/compiler-sfc": "^3.0.4",
"@vue/server-renderer": "^3.0.4",
"@vueuse/head": "^0.5.1",
"critters": "^0.0.10",
"vite": "^2.0.0",
"vue": "^3.0.4",
"vue-router": "^4.0.1"
},
"peerDependenciesMeta": {
"critters": {
"optional": true
}
},
"devDependencies": {
"@antfu/eslint-config": "^0.10.0",
"@types/fs-extra": "^9.0.13",
"@types/jsdom": "^16.2.13",
"@types/yargs": "^17.0.4",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@vue/compiler-sfc": "^3.2.20",
"@vue/server-renderer": "^3.2.20",
"@vueuse/head": "^0.6.0",
"bumpp": "^7.1.1",
"critters": "^0.0.12",
"eslint": "^8.0.1",
"esno": "^0.10.1",
"rollup": "^2.58.0",
"standard-version": "^9.3.2",
"tsup": "^5.4.2",
"typescript": "^4.4.4",
"vite": "^2.6.10",
"vite-plugin-pwa": "^0.11.3",
"vue": "^3.2.20",
"vue-router": "^4.0.12"
}
}