-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
6,722 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
# web-dev | ||
# web-dev | ||
|
||
Here's my preferred setup for web development. Feel free to use this template for your own projects. | ||
|
||
## Technology used | ||
|
||
- [Web Dev Server]() | ||
- [Web Test Runner]() | ||
- [TypeScript]() | ||
- [ESLint]() |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "web-dev", | ||
"version": "0.0.1", | ||
"description": "", | ||
"type": "module", | ||
"main": "index.js", | ||
"module": "index.js", | ||
"scripts": { | ||
"start": "web-dev-server", | ||
"test": "web-test-runner" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/koddsson/web-dev.git" | ||
}, | ||
"keywords": [], | ||
"author": "Kristján Oddsson <[email protected]>", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/koddsson/web-dev/issues" | ||
}, | ||
"homepage": "https://github.com/koddsson/web-dev#readme", | ||
"devDependencies": { | ||
"@web/dev-server": "^0.1.35", | ||
"@web/dev-server-esbuild": "^0.3.3", | ||
"@web/test-runner": "^0.15.0" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>My app!</title> | ||
|
||
<!-- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs --> | ||
<link rel="icon" href="/favicon.ico" sizes="any"><!-- 32×32 --> | ||
<link rel="apple-touch-icon" href="/apple-touch-icon.png"><!-- 180×180 --> | ||
<link rel="manifest" href="/manifest.webmanifest"> | ||
|
||
<script async src="./js/index.ts"></script> | ||
</head> | ||
<body> | ||
<h1>My app!</h1> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('Hello world') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { esbuildPlugin } from '@web/dev-server-esbuild'; | ||
|
||
export default { | ||
watch: true, | ||
nodeResolve: true, | ||
rootDir: "./src/", | ||
plugins: [esbuildPlugin({ ts: true, target: 'auto' })], | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default { | ||
files: [] | ||
} |