Blueprint

Blueprint

🧱 Template repository for my personal projects.

Blueprint

Quick Start

npx degit LenaSchnedlitz/blueprint my-project
cd my-project
npm install
npm run setup
npm run dev

For static code analysis, also run (in another tab):

npm run analyse:watch

:metro:


Details

Customization

Adapt the following files:

  • /public all pics - Don't forget to optimize!
  • /src/core/Logo.svelte
  • src/App.svelte - see TODOs

Development

  • Start developing in src/AppContent.svelte.
  • Most places that need editing are marked with TODO.
  • Check code (manual + GitLab pipeline):
    • npm run analyse
    • npm run eslint
  • Format: Files are prettified automatically (via pre-commit hook).
    You need to run npx husky-init before you commit for the first time!

Deployment

  • Set up GitHub repo
  • Uncomment lines in .gitlab-ci.yml - see TODO
  • Add variables to CI/CD config on GitLab:
    • DEPLOY_REPO
    • DEPLOY_TOKEN - masked!

Top categories

Loading Svelte Themes