mirror of
https://github.com/mikkelsvartveit/astro-personal-website.git
synced 2025-12-22 19:22:37 +00:00
Add preview script
This commit is contained in:
parent
68b787ef5b
commit
f82952d924
3 changed files with 7 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "wrangler pages dev ./dist",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
"prettier": "3.0.3",
|
"prettier": "3.0.3",
|
||||||
"prettier-plugin-astro": "^0.12.3",
|
"prettier-plugin-astro": "^0.12.3",
|
||||||
"prettier-plugin-svelte": "^3.3.2",
|
"prettier-plugin-svelte": "^3.3.2",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.14"
|
"prettier-plugin-tailwindcss": "^0.5.14",
|
||||||
|
"wrangler": "^3.99.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,9 @@ importers:
|
||||||
prettier-plugin-tailwindcss:
|
prettier-plugin-tailwindcss:
|
||||||
specifier: ^0.5.14
|
specifier: ^0.5.14
|
||||||
version: 0.5.14(prettier-plugin-astro@0.12.3)(prettier-plugin-svelte@3.3.2(prettier@3.0.3)(svelte@5.15.0))(prettier@3.0.3)
|
version: 0.5.14(prettier-plugin-astro@0.12.3)(prettier-plugin-svelte@3.3.2(prettier@3.0.3)(svelte@5.15.0))(prettier@3.0.3)
|
||||||
|
wrangler:
|
||||||
|
specifier: ^3.99.0
|
||||||
|
version: 3.99.0(@cloudflare/workers-types@4.20241218.0)
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name = "astro-personal-website"
|
name = "astro-personal-website"
|
||||||
pages_build_output_dir = "dist"
|
pages_build_output_dir = "dist"
|
||||||
compatibility_date = "2023-10-15"
|
compatibility_date = "2024-12-23"
|
||||||
compatibility_flags = ["nodejs_compat"]
|
compatibility_flags = ["nodejs_compat"]
|
||||||
|
|
||||||
[[kv_namespaces]]
|
[[kv_namespaces]]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue