1
1
# Template
2
2
<img src =" https://github.com/user-attachments/assets/ca0d1fb9-4f77-4b3d-9812-7590c4208193 " align =" right " width =" 128 " >
3
3
4
- Template for Frontend development. Build a web page using [ SolidJS] ( https://solidjs.com ) as frontend framework and [ Deno] ( https://deno.land ) as your backend. Clean architecture. No NodeJS required.
4
+ Template for Frontend development. Build a web page using [ SolidJS] ( https://solidjs.com ) as frontend framework and
5
+ [ Deno] ( https://deno.land ) as your backend. Clean architecture. No NodeJS required.
5
6
6
7
7
8
[ ![ Run Linter] ( https://github.com/JavaScriptPlayground/Template/actions/workflows/lint.yml/badge.svg )] ( https://github.com/JavaScriptPlayground/Template/actions/workflows/lint.yml )
@@ -18,10 +19,12 @@ Template for Frontend development. Build a web page using [SolidJS](https://soli
18
19
- ` .github ` [ GitHub configuration] ( https://www.freecodecamp.org/news/how-to-use-the-dot-github-repository/ ) directory.
19
20
- ` config ` Project specific config files (not part of sourcecode).
20
21
- ` deno.lock ` Lock file for all dependencies.
21
- - ` import_map.json ` [ Import map] ( https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap ) for all imports.
22
+ - ` import_map.json ` [ Import map] ( https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap ) for
23
+ all imports.
22
24
- ` build ` Build configuration files.
23
25
- ` copy_files_extension_filter.json ` JSON array of extensions for files that should be copied to the dist folder.
24
- - ` index.ts ` Build configuration for [ esbuild] ( https://esbuild.github.io ) . Only change this if you know what you are doing.
26
+ - ` index.ts ` Build configuration for [ esbuild] ( https://esbuild.github.io ) . Only change this if you know what you are
27
+ doing.
25
28
- ` types ` Project type declarations.
26
29
- ` ... ` Declaration.
27
30
- ` doc ` Documentation for the page.
@@ -55,12 +58,15 @@ Use `deno task <name_of_the_task>`:
55
58
- ` build:dev:watch ` Build the page for development (without optimization like minification) with active file watcher.
56
59
- ` cache-reload ` Cache all dependencies.
57
60
- ` serve ` Serve the build ` dist ` directory as the page root. * (recommended)*
58
- - ` serve:dev ` Serve the build ` dist ` directory as the page root for development (with verbose logging and directory listing enabled).
61
+ - ` serve:dev ` Serve the build ` dist ` directory as the page root for development (with verbose logging and directory
62
+ listing enabled).
59
63
- ` lint ` Lint the sourcecode
60
- - ` test ` Test your sourcecode (all ` .test.ts ` file will be checked). A junit report gets generated to ` ./reports/report.xml `
64
+ - ` test ` Test your sourcecode (all ` .test.ts ` file will be checked). A junit report gets generated to
65
+ ` ./reports/report.xml `
61
66
62
67
### GitHub Workflows
63
- - ` deployment.yml ` Deploys your current app to GitHub Pages if the name of your repository ends with ` .github.io ` . (Ex. ` github.com/foo/foo.github.io ` )
68
+ - ` deployment.yml ` Deploys your current app to GitHub Pages if the name of your repository ends with ` .github.io ` .
69
+ (Ex. ` github.com/foo/foo.github.io ` )
64
70
- ` lint.yml ` Lints your sourcecode.
65
71
- ` test.yml ` Runs all the unit tests.
66
72
0 commit comments