Skip to content

getneil/svelte-firebase-template

Repository files navigation

Svelte Firebase Template

This is a boilerplate of SvelteKit that auto deploys to Firebase Hosting

Development

To setup your dev environment easily use the following comands. This will automatically setup the dependencies specified below.

sh <(curl https://tea.xyz)
tea -SE

Tasks

The following can be run with xc, eg. xc build

Setup

yarn

Build

yarn
yarn workspace functions run build
yarn workspace app run build

Dev

yarn
yarn workspace app run dev

Format

yarn workspaces foreach run format

Lint

yarn workspaces foreach run lint

Deploy

yarn
yarn workspace functions run build
yarn workspace app run build
./node_modules/.bin/firebase deploy

You can preview the production build with npm run preview.

Dependencies

Project Version
nodejs.org =18.13.0
npmjs.com =9.2.0
yarnpkg.com >=3.4.1
xcfile.dev >=0.0.110
git-scm.org >=2.39.1

About

SvelteKit + Firebase Hosting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published