-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
120 lines (120 loc) · 3.23 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
{
"name": "vite-ssr",
"version": "0.17.2",
"private": true,
"description": "Vite utility for server side rendering",
"main": "./index.js",
"scripts": {
"dev": "npm-run-all dev:* --parallel dev:watch:* ",
"dev:clean": "rm -rf node_modules/vite-ssr && mkdir node_modules/vite-ssr",
"dev:copy": "cp package.json node_modules/vite-ssr/",
"dev:watch:cjs": "cd src && yarn tsc --watch --incremental --outDir ./node_modules/vite-ssr",
"dev:watch:esm": "yarn dev:watch:cjs --project tsconfig-esm.json",
"test": "uvu -r ts-node/register test/specs",
"test:watch": "watchlist src test -- yarn test",
"pretest": "run-s \"build:compile:* --incremental --outDir ./node_modules/vite-ssr\" dev:copy",
"build": "npm-run-all build:* --parallel build:compile:*",
"build:clean": "rm -rf dist && mkdir dist",
"build:copy": "cp README.md LICENSE dist/ && sed -e '/\"private\"/d' package.json > dist/package.json",
"build:compile:cjs": "cd src && yarn tsc",
"build:compile:esm": "cd src && yarn tsc --project tsconfig-esm.json",
"format": "prettier --write ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/frandiox/vite-ssr.git"
},
"keywords": [
"vite",
"ssr",
"vue",
"react"
],
"author": "Fran Dios",
"license": "MIT",
"bugs": {
"url": "https://github.com/frandiox/vite-ssr/issues"
},
"homepage": "https://github.com/frandiox/vite-ssr#readme",
"bin": "./cli.js",
"types": "./index.d.ts",
"workspaces": [
"examples/vue",
"examples/react",
"examples/react-apollo",
"test/fixtures/*"
],
"peerDependencies": {
"@vitejs/plugin-react": "^3.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vueuse/head": "0.x",
"react": "^17",
"react-dom": "^17",
"react-helmet-async": "^1.0.0",
"react-router-dom": "^6",
"vite": "^4.0.0",
"vue": "^3.2.26",
"vue-router": "^4.0.0"
},
"peerDependenciesMeta": {
"@vitejs/plugin-react": {
"optional": true
},
"@vitejs/plugin-vue": {
"optional": true
},
"@vueuse/head": {
"optional": true
},
"vue": {
"optional": true
},
"vue-router": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"react-helmet-async": {
"optional": true
},
"react-router-dom": {
"optional": true
}
},
"dependencies": {
"@rollup/plugin-replace": "^3.0.0",
"@vue/server-renderer": "^3.2.26",
"chalk": "^4.1.2",
"connect": "^3.7.0",
"node-fetch": "^2.6.1",
"react-router-dom": "^6.2.2",
"react-ssr-prepass": "^1.4.0"
},
"devDependencies": {
"@types/connect": "^3.4.34",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.12",
"@types/node": "^16.4.7",
"@types/node-fetch": "^2.5.9",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"execa": "^5.1.1",
"express": "^4.17.1",
"fs-extra": "^10.0.0",
"npm-run-all": "^4.1.5",
"playwright-chromium": "^1.13.1",
"prettier": "^2.4.1",
"ts-node": "^10.1.0",
"typescript": "^4.2.3",
"uvu": "^0.5.1",
"watchlist": "^0.2.3",
"yorkie": "^2.0.0"
},
"gitHooks": {
"commit-msg": "node scripts/verifyCommit.js"
}
}