-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 2.11 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
{
"name": "svelte-pilot-template",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"dev:spa": "vite",
"dev:ssr": "node ssr-dev-server",
"build:spa": "vite build",
"build:ssr": "export && vite build --ssrManifest --outDir ${CSR_OUT:-dist/client} && vite build --ssr src/adapters/${ADAPTER:-node}/index.ts --outDir ${SSR_OUT:-dist/server} && rm -rf ${CSR_OUT:-dist/client}/.vite",
"build:cloudflare": "ADAPTER=cloudflare CSR_OUT=dist SSR_OUT=functions npm run build:ssr && cp src/adapters/cloudflare/_routes.json dist && mv functions/index.js functions/[[catchall]].js",
"build:netlify": "ADAPTER=netlify npm run build:ssr",
"build:netlify-edge": "ADAPTER=netlify-edge npm run build:ssr",
"build:ssg": "ADAPTER=ssg CSR_OUT=dist SSR_OUT=.ssg npm run build:ssr && node .ssg/index.js && rm -rf .ssg && if [ ${NOJS:-0} -eq 1 ]; then rm dist/**/*.js; fi",
"start:ssr": "node dist/server/index.js",
"check": "svelte-check --tsconfig ./tsconfig.json",
"md2html": "node md2html.js"
},
"dependencies": {
"@netlify/functions": "^2.8.2",
"accepts": "^1.3.8",
"cookie.js": "^7.0.1",
"sirv": "^3.0.0",
"svelte": "^5.2.7",
"svelte-pilot": "6.0.3"
},
"devDependencies": {
"@antfu/eslint-config": "^3.9.2",
"@cloudflare/workers-types": "^4.20241112.0",
"@sveltejs/vite-plugin-svelte": "^4.0.1",
"@tailwindcss/typography": "^0.5.15",
"@tsconfig/svelte": "^5.0.4",
"@types/node": "^22.9.1",
"@unocss/eslint-plugin": "^0.64.1",
"@unocss/extractor-svelte": "^0.64.1",
"eslint": "^9.15.0",
"eslint-plugin-format": "^0.1.2",
"eslint-plugin-svelte": "^2.46.0",
"html-entities": "^2.5.2",
"marked": "^15.0.2",
"marked-gfm-heading-id": "^4.1.1",
"mime": "^4.0.4",
"postcss-preset-env": "^10.1.1",
"shiki": "^1.23.1",
"svelte-check": "^4.0.9",
"svelte-eslint-parser": "^0.43.0",
"svelte-preprocess-css-hash": "^0.2.0",
"svelte-preprocess-import-assets": "^1.1.0",
"tailwindcss": "^3.4.15",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"unocss": "^0.64.1",
"vite": "^5.4.11"
}
}