@@ -0,0 +1 @@
+node_modules/
@@ -0,0 +1,14 @@
+{
+ "lockfileVersion": 1,
+ "workspaces": {
+ "": {
+ "name": "prun-calc",
+ "devDependencies": {
+ "typescript": "^5.2.0",
+ },
+ "packages": {
+ "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
+ }
+}
@@ -0,0 +1,7 @@
+// src/main.ts
+var main_default = {};
+export {
+ main_default as default
+};
+
+//# debugId=7ACBF329D9352D3964756E2164756E21
@@ -0,0 +1,9 @@
+ "version": 3,
+ "sources": [],
+ "sourcesContent": [
+ ],
+ "mappings": "",
+ "debugId": "7ACBF329D9352D3964756E2164756E21",
+ "names": []
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>PrUn calculator</title>
+ <link rel="stylesheet" href="styles.css">
+</head>
+<body>
+ <main></main>
+ <script type="module" src="./dist/main.js"></script>
+</body>
+</html>
+ "version": "1.0.0",
+ "description": "GitHub Pages site with TypeScript",
+ "scripts": {
+ "build": "bun build src/main.ts --outdir dist --target browser --sourcemap=external",
+ "typecheck": "tsc --noEmit",
+ "serve": "python3 -m http.server 8000"
+ "typescript": "^5.2.0"
@@ -0,0 +1,16 @@
+* {
+ box-sizing: border-box;
+body {
+ font-family: sans-serif;
+ background-color: #000;
+ color: #eee;
+main {
+ max-width: 1200px;
+ margin: 1em auto;
+ padding: 1em;
+ background: #111;
@@ -0,0 +1,17 @@
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "esnext",
+ "lib": ["ESNext", "DOM"],
+ "outDir": "./dist",
+ "rootDir": "./src",
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "moduleResolution": "bundler",
+ "sourceMap": true,
+ "include": ["src/**/*"],
+ "exclude": ["node_modules"],