feat: configure scripts start, preview, and postinstall in package.json
This commit is contained in:
parent
2f88f9a201
commit
e915cf88dd
1 changed files with 2 additions and 1 deletions
|
|
@ -5,10 +5,11 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro preview --host 0.0.0.0 --port 8080",
|
||||||
"check": "astro check",
|
"check": "astro check",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview --host 0.0.0.0 --port 8080",
|
"preview": "astro preview --host 0.0.0.0 --port 8080",
|
||||||
|
"postinstall": "astro build",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue