Skip to content

Commit d802e6b

Browse files
committed
0.9.1
1 parent 100afa0 commit d802e6b

20 files changed

Lines changed: 622 additions & 0 deletions

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/node_modules/
2+
/public/build/
3+
/public
4+
.routify/
5+
android/
6+
ios/
7+
8+
package-lock.json
9+
.env
10+
.DS_Store

assets/bulma.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 47 additions & 0 deletions
Loading

assets/global.css

Whitespace-only changes.

assets/reload-svgrepo-com.svg

Lines changed: 50 additions & 0 deletions
Loading

capacitor.config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"appId": "com.svelte.capacitor",
3+
"appName": "File Home Cloud",
4+
"bundledWebRuntime": false,
5+
"npmClient": "npm",
6+
"webDir": "public",
7+
"plugins": {
8+
"SplashScreen": {
9+
"launchShowDuration": 0
10+
}
11+
},
12+
"cordova": {},
13+
"server": {
14+
"cleartext": true
15+
}
16+
}

index.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<html lang="en">
2+
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="apple-touch-icon" sizes="152x152" href="/assets/favicon/apple-touch-icon.png">
6+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
7+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
8+
<link rel="manifest" href="/assets/favicon/site.webmanifest">
9+
<link rel="mask-icon" href="/assets/favicon/safari-pinned-tab.svg" color="#5bbad5">
10+
<meta name="msapplication-TileColor" content="#da532c">
11+
<meta name="theme-color" content="#ffffff">
12+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
13+
<link rel="stylesheet" href="/assets/bulma.min.css" />
14+
<title>Svelte_Capacitor v2.0.0</title>
15+
</head>
16+
17+
<body>
18+
<div id="app"></div>
19+
<script type="module" src="/src/main.ts"></script>
20+
</body>
21+
22+
</html>

package.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "svelte_capacitor",
3+
"version": "2.0.0",
4+
"scripts": {
5+
"#Build: Core": "Thesee scripts build the core application (routing logic, and views)",
6+
"build:app": "routify -b && vite build",
7+
"build:routify": "routify",
8+
"#Platform: Build": "These build the application for their specific platforms",
9+
"build:android": "run-s build:app cap-run:android",
10+
"build:ios": "run-s build:app cap-run:ios",
11+
"#Platform: Sync": "These build the application for their specific platforms",
12+
"cap-run:android": "cap sync android && cap open android",
13+
"cap-run:ios": "cap sync ios && cap open ios",
14+
"#Dev: Platform": "These enable HMR (Hot module reloading) directly on the device - please check the readme.md for more on this.",
15+
"dev:ios": "run-p dev:start cap-run:ios",
16+
"dev:android": "run-p dev:start cap-run:android",
17+
"#Dev: Core": "These allow the code to be developed with HMR",
18+
"dev:preview": "vite preview",
19+
"dev:start": "run-p build:routify dev:vite",
20+
"dev:vite": "vite --host --port 5001",
21+
"#Utilities": "Various utilities",
22+
"validate": "svelte-check"
23+
},
24+
"devDependencies": {
25+
"@capacitor/share": "^1.0.4",
26+
"@roxi/routify": "^2.18.0",
27+
"@sveltejs/vite-plugin-svelte": "*",
28+
"@tsconfig/svelte": "^1.0.10",
29+
"cross-env": "^7.0.3",
30+
"npm-run-all": "^4.1.5",
31+
"prettier": "^2.2.1",
32+
"prettier-plugin-svelte": "^2.2.0",
33+
"svelte": "^3.37.0",
34+
"svelte-preprocess": "^4.7.3",
35+
"typescript": "^4.2.4",
36+
"vite": "^2.2.3",
37+
"vite-aliases": "^0.6.3",
38+
"vite-plugin-compression": "^0.2.5",
39+
"vite-tsconfig-paths": "^3.3.10"
40+
},
41+
"dependencies": {
42+
"@capacitor/android": "^3.0.1",
43+
"@capacitor/cli": "^3.0.0",
44+
"@capacitor/core": "^3.0.0",
45+
"@capacitor/ios": "^3.0.1",
46+
"@capacitor/share": "^1.0.4"
47+
}
48+
}

src/App.svelte

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<script lang="typescript">
2+
import { Router } from "@roxi/routify";
3+
import { routes } from "../.routify/routes";
4+
</script>
5+
6+
7+
8+
<Router {routes} />
9+
10+
<style @global>
11+
12+
</style>

src/components/.hidden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Delete this file, this is only here so git saves the empty folders.

0 commit comments

Comments
 (0)