Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.37 KB

development.md

File metadata and controls

34 lines (25 loc) · 1.37 KB

Development

First, run npm install to install all dependencies.

Then, run npm run dev to run this project in development mode. Run npm run storybook to run Storybook, which demonstrates how components can be used.

Code quality

To automatically benefit from the code quality tools that are included with this project, use an editor (such as Visual Studio Code) with plugins for EditorConfig, ESLint, Prettier, and Svelte.

When installed correctly, these plugins will warn you when your code contains potential problems or when it's formatted inconsistently. If you choose to, you can also configure your editor to automatically format files with Prettier upon save.

Even with these plugins, you may want to run npm run format and npm test before sharing your code to be sure that you didn't miss anything. Also, be aware that Prettier and its plugins can rarely break existing code. You may want to double-check that everything works after running npm run format just in case.

Deployment

As for development, run npm install to install all dependencies.

Then, run npm run build to build this project for production deployment. After it's built, host the public directory on a static server or use npm start to serve it with Node.