Comprehensive Guide to Setting Up a Svelte Project Using a Compressed File
This guide will walk you through the process of setting up a project using a compressed file. Please follow the steps below carefully.
Ensure that the package.json file is present in your project.
Compressing the Project
To compress a file on Linux-based operating systems, you can use the following command:
zip -r project.zip project_folder
Please note that the compressed file format must be zip. Avoid using other compression formats (such as rar, gz, 7z) when uploading to Kubar.
1. Initial Setup

Application Name
First, choose a suitable name for your application. This name will be used as the identifier in your project's domain.
- Use lowercase letters and only - as a separator between words.
- You cannot change the application name after creating the app.
Node Version
Select the Node version to be used in your project. You can choose from the available list or manually enter the version. Please ensure that the Node version you use is available in the Docker Hub or other related Docker repositories.
After completing this step, select the "Next" option.
2. Advanced Settings (Optional)

In this section, you can apply more precise settings for your project:
Build
Sample package.json file:
{
"name": "my-svelte-project",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"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 .",
"format": "prettier --write ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.0.3"
},
"dependencies": {
},
"engines": {
"node": ">=18.0.0"
}
}
Build Command
- Specific command(s) for building the project
- Default:
npm run build - To use multiple commands, use ; as a separator (e.g.,
npm run build;npm run start)
Run Command
- Command to run the project
- For Svelte.js, it is better not to enter any command
Output Folder
- Location of the built files
- Default:
dist/