diff --git a/.gitignore b/.gitignore index 6635cf5..bdde2ba 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules /build /.svelte-kit /package +/public .env .env.* !.env.example diff --git a/package.json b/package.json index f6f239e..71c1b47 100644 --- a/package.json +++ b/package.json @@ -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" -} +} \ No newline at end of file