Add basic deploy script
This commit is contained in:
parent
0c40ac4646
commit
b8efe39d7d
2 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@ node_modules
|
|||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
/public
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
"preview": "vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "eslint ."
|
||||
"lint": "eslint .",
|
||||
"deploy": "git pull; vite build; rm -rf public/; mv build/ public/"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^3.0.0",
|
||||
|
@ -30,4 +31,4 @@
|
|||
"vite": "^5.0.3"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue