Initial commit

This commit is contained in:
Greg Shuflin 2023-10-03 01:57:03 -07:00
commit 89bbaaf46c
6 changed files with 1923 additions and 0 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# Spazer
Playground for cool-looking frontend dev stuff
## Run Locally
Run `pnpm exec parcel src/index.html`
Or build with:
```
$ pnpm run build
```

11
package.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "Spazer",
"source": "src/index.html",
"scripts": {
"start": "parcel",
"build": "parcel build"
},
"devDependencies": {
"parcel": "^2.9.3"
}
}

1879
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

4
src/app.js Normal file
View File

@ -0,0 +1,4 @@
import { greet } from "./util.ts";
console.log("Yolo");
greet();

13
src/index.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Spazer</title>
<script type="module" src="app.js"></script>
</head>
<body>
<h1>Spazer</h1>
<canvas id="mainCanvas">
</body>
</html>

3
src/util.ts Normal file
View File

@ -0,0 +1,3 @@
export const greet = () => {
console.log("Hella brah");
};