{"id":16323793,"url":"https://github.com/david-else/dependency-heaven-typescript","last_synced_at":"2025-05-14T15:12:23.095Z","repository":{"id":103073311,"uuid":"387836613","full_name":"David-Else/dependency-heaven-typescript","owner":"David-Else","description":"Bundle, test, lint and format TypeScript with only Deno and esbuild. No Node needed!","archived":false,"fork":false,"pushed_at":"2022-02-01T19:33:48.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T04:26:54.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/David-Else.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-20T15:32:08.000Z","updated_at":"2021-10-18T08:12:28.000Z","dependencies_parsed_at":"2023-03-23T04:49:32.052Z","dependency_job_id":null,"html_url":"https://github.com/David-Else/dependency-heaven-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fdependency-heaven-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fdependency-heaven-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fdependency-heaven-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fdependency-heaven-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David-Else","download_url":"https://codeload.github.com/David-Else/dependency-heaven-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170068,"owners_count":22026219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T22:55:41.232Z","updated_at":"2025-05-14T15:12:23.071Z","avatar_url":"https://github.com/David-Else.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dependency Heaven Typescript\n\nBundle, test, lint and format TypeScript with only Deno and esbuild. No Node needed!\n\nYou only need two executable files to write TypeScript for the browser: [Deno](https://deno.land/) and [esbuild](https://esbuild.github.io/).\n\n- Remember Deno needs file extensions, for example;\n\n```ts\nimport { example } from \"./src/main.ts\";\n```\n\nThese are taken care of by esbuild in the bundling.\n\nThere is no need for Node anymore, you can import packages via URL's with their types using `https://cdn.skypack.dev/package-name`\n\n## Bundle and serve TypeScript\n\nBundle and minify for the browser using Deno and the official esbuild plugin\n\nTo build a development bundle from `src/main.ts` and serve to a your default browser on Linux/Mac:\n\n```shell\n./build-watch.js\n```\n\n- It will rebuild and reload dev server when any file in `./src` is modified\n- The contents of `./static-assets` will be copied to the `dist` folder on rebuild\n\n## Test code\n\nrun `./test-watch.sh` to execute all tests in the `/test` directory.\n\nRemember Deno has no DOM but many browser compatible API's\n\n## Neovim setup\n\nTo run Deno LSP in Neovim 0.5+ with linting and DOM types enabled via `deno.jsonc`:\n\n```lua\nnvim_lsp.denols.setup({\n  on_attach = on_attach,\n  init_options = {\n    config = \"./deno.jsonc\",\n    lint = true,\n  },\n})\n```\n\nTHANKS to https://github.com/dalcib from https://github.com/evanw/esbuild/issues/802#issuecomment-819579154 for original code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-else%2Fdependency-heaven-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-else%2Fdependency-heaven-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-else%2Fdependency-heaven-typescript/lists"}