Skip to content

Commit 20410e3

Browse files
committed
initial commit
0 parents  commit 20410e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+7163
-0
lines changed

.eslintignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.eslintrc.cjs

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
5+
plugins: ['svelte3', '@typescript-eslint'],
6+
ignorePatterns: ['*.cjs'],
7+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
8+
settings: {
9+
'svelte3/typescript': () => require('typescript')
10+
},
11+
parserOptions: {
12+
sourceType: 'module',
13+
ecmaVersion: 2020
14+
},
15+
env: {
16+
browser: true,
17+
es2017: true,
18+
node: true
19+
}
20+
};

.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
.vercel
10+
.output
11+
12+
### VisualStudioCode ###
13+
.vscode/*
14+
!.vscode/settings.json
15+
!.vscode/tasks.json
16+
!.vscode/launch.json
17+
!.vscode/extensions.json
18+
!.vscode/*.code-snippets
19+
20+
# Local History for Visual Studio Code
21+
.history/
22+
23+
# Built Visual Studio Code Extensions
24+
*.vsix
25+
26+
### VisualStudioCode Patch ###
27+
# Ignore all local history of files
28+
.history
29+
.ionide
30+
31+
# Support for Project snippet scope
32+
.vscode/*.code-snippets
33+
34+
# Ignore code-workspaces
35+
*.code-workspace

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.prettierrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"pluginSearchDirs": ["."],
7+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
8+
}

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
3+
}

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Tauri + Vanilla
2+
3+
This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript.
4+
5+
## Recommended IDE Setup
6+
7+
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)

package.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "svelte",
3+
"version": "0.0.1",
4+
"scripts": {
5+
"dev": "vite dev",
6+
"build": "vite build",
7+
"preview": "vite preview",
8+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
9+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
10+
"lint": "prettier --check . && eslint .",
11+
"format": "prettier --write ."
12+
},
13+
"devDependencies": {
14+
"@sveltejs/adapter-auto": "next",
15+
"@sveltejs/adapter-static": "1.0.0-next.43",
16+
"@sveltejs/kit": "next",
17+
"@types/cookie": "^0.5.1",
18+
"@typescript-eslint/eslint-plugin": "^5.27.0",
19+
"@typescript-eslint/parser": "^5.27.0",
20+
"eslint": "^8.16.0",
21+
"eslint-config-prettier": "^8.3.0",
22+
"eslint-plugin-svelte3": "^4.0.0",
23+
"prettier": "^2.6.2",
24+
"prettier-plugin-svelte": "^2.7.0",
25+
"svelte": "^3.46.0",
26+
"svelte-check": "^2.7.1",
27+
"svelte-preprocess": "^4.10.6",
28+
"tslib": "^2.3.1",
29+
"typescript": "^4.7.4",
30+
"vite": "^3.1.0"
31+
},
32+
"type": "module",
33+
"dependencies": {
34+
"@fontsource/fira-mono": "^4.5.0",
35+
"@tauri-apps/api": "^1.1.0"
36+
}
37+
}

0 commit comments

Comments
 (0)