-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.21 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
{
"name": "solid-ssr-demo",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "node server",
"build": "cross-env vite build --outDir dist/csr",
"preview": "vite preview --outDir dist/csr",
"dev-ssr": "cross-env VITE_SSR=true node server",
"build:client-ssr": "cross-env VITE_SSR=true vite build --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
"build-ssr": "pnpm build:client-ssr && pnpm build:server",
"preview-ssr": "cross-env NODE_ENV=production node server",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"serve-static": "^1.15.0",
"solid-js": "^1.8.4",
"winston": "^3.11.0"
},
"devDependencies": {
"@antfu/eslint-config": "^1.1.0",
"@types/express": "^4.17.20",
"@typescript-eslint/parser": "^6.9.0",
"@unocss/reset": "^0.57.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.52.0",
"eslint-plugin-solid": "^0.13.0",
"postcss": "^8.4.31",
"typescript": "^5.0.2",
"unocss": "^0.57.1",
"vite": "^4.4.5",
"vite-plugin-solid": "^2.7.0"
}
}