Initial commit
This commit is contained in:
commit
89bbaaf46c
13
README.md
Normal file
13
README.md
Normal 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
11
package.json
Normal 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
1879
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
4
src/app.js
Normal file
4
src/app.js
Normal file
@ -0,0 +1,4 @@
|
||||
import { greet } from "./util.ts";
|
||||
|
||||
console.log("Yolo");
|
||||
greet();
|
13
src/index.html
Normal file
13
src/index.html
Normal 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
3
src/util.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const greet = () => {
|
||||
console.log("Hella brah");
|
||||
};
|
Loading…
Reference in New Issue
Block a user