This website template is a partial remake of dorota1997's template using Svelte.
Install the dependencies...
npm install
...then start Rollup:
npm run dev
Navigate to localhost:8080. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
By default cypress is used to write and run tests. Make sure you run the command:
npx cypress open
to open the web interface for cypress and create and run tests
To run tests from cmd line, simply run:
npm run test
To format the code just run
npm run format
This ill use pretty
to make the code better indented and also lint the code using eslint
To deploy to github pages, simply run
npm run deploy
This should deploy to gh-pages
branch, which you should use when serving the website