Skip to content

Commit 82cd242

Browse files
committed
init
0 parents  commit 82cd242

File tree

9 files changed

+551
-0
lines changed

9 files changed

+551
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

index.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + TS</title>
8+
<style>
9+
:root {
10+
font-family: sans-serif;
11+
font-size: 16px;
12+
line-height: 24px;
13+
font-weight: 400;
14+
15+
/* co to jest color-scheme? */
16+
color-scheme: light dark;
17+
color: rgba(255, 255, 255, 0.87);
18+
background-color: #242424;
19+
20+
font-synthesis: none;
21+
/* coś dla renderowania textu w svg ??? */
22+
text-rendering: optimizeLegibility;
23+
/* po co dokładnie mi te 3 reguły? */
24+
-webkit-font-smoothing: antialiased;
25+
-moz-osx-font-smoothing: grayscale;
26+
-webkit-text-size-adjust: 100%;
27+
}
28+
29+
body {
30+
margin: 0;
31+
width: 100vw;
32+
height: 100vh;
33+
overflow: hidden;
34+
}
35+
</style>
36+
</head>
37+
<body>
38+
<canvas></canvas>
39+
<script type="module" src="/src/main.ts"></script>
40+
</body>
41+
</html>

package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "js13k22",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc && vite build",
9+
"preview": "vite preview"
10+
},
11+
"devDependencies": {
12+
"typescript": "^4.6.4",
13+
"vite": "^3.0.7"
14+
}
15+
}

0 commit comments

Comments
 (0)