{"id":13485135,"url":"https://github.com/kt3k/packup","last_synced_at":"2025-09-04T13:41:23.602Z","repository":{"id":40407625,"uuid":"364292882","full_name":"kt3k/packup","owner":"kt3k","description":"📦 Zero-config web application packager for Deno","archived":false,"fork":false,"pushed_at":"2024-06-02T10:48:35.000Z","size":9871,"stargazers_count":337,"open_issues_count":12,"forks_count":17,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-07-30T12:24:47.875Z","etag":null,"topics":["deno","esbuild","frontend","packup","typescript"],"latest_commit_sha":null,"homepage":"https://packup.deno.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kt3k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-04T14:58:16.000Z","updated_at":"2025-06-08T10:28:47.000Z","dependencies_parsed_at":"2024-01-05T20:59:58.956Z","dependency_job_id":"2bd7f311-739a-44f0-b833-856abbcba5f4","html_url":"https://github.com/kt3k/packup","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/kt3k/packup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fpackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fpackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fpackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fpackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kt3k","download_url":"https://codeload.github.com/kt3k/packup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fpackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273618877,"owners_count":25138234,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deno","esbuild","frontend","packup","typescript"],"created_at":"2024-07-31T17:01:47.121Z","updated_at":"2025-09-04T13:41:23.522Z","avatar_url":"https://github.com/kt3k.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Modules","typescript"],"sub_categories":["Frontend framework"],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/kt3k/packup/main/docs/logo-v2.svg\" width=\"400\" /\u003e\n\n# packup v0.2.6\n\n[![ci](https://github.com/kt3k/packup/actions/workflows/ci.yml/badge.svg)](https://github.com/kt3k/packup/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/kt3k/packup/branch/main/graph/badge.svg?token=OjZni3m4yk)](https://codecov.io/gh/kt3k/packup)\n\n\u003e Zero-config web application packager for [Deno][Deno].\n\n# Features\n\n- 📦 Bundle web application like [Parcel][Parcel].\n- ✨ Support TypeScript out of the box.\n- 🦕 Deno-compatible ES Modules resolution.\n- 💨 Fast build with [esbuild][esbuild] bundler.\n\n# Usage\n\nInstall via deno.land/x:\n\n```shell\ndeno install -qAf https://deno.land/x/packup@v0.2.6/cli.ts\n```\n\nWrite HTML and JavaScript:\n\nindex.html\n\n```html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003cscript src=\"./main.ts\"\u003e\u003c/script\u003e\n    \u003ch1\u003eHi from packup!\u003c/h1\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nmain.ts\n\n```js\nconsole.log(\"hello world\");\n```\n\n`packup` has the development server builtin. Run the following command to start\nthe server.\n\n```\npackup index.html\n```\n\nThen open http://localhost:1234/ in your browser.\n\nSee `packup serve -h` and `packup build -h` for more usages.\n\n# Typings\n\nYou can type check the script with [Deno][Deno].\n\nYou need the following `tsconfig.json` for your frontend scripts correctly type\nchecked.\n\n```json\n{\n  \"compilerOptions\": {\n    \"lib\": [\"esnext\", \"dom\"]\n  }\n}\n```\n\nIf you use vscode you need to set 'deno.config' property in\n`.vscode/settings.json` file to point the tsconfig.json:\n\n```json\n{\n  \"deno.enable\": true,\n  \"deno.lint\": true,\n  \"deno.unstable\": true,\n  \"deno.config\": \"./tsconfig.json\"\n}\n```\n\nIf you'd prefer to use CLI directly to type check your script, you can use the\nfollowing command for it:\n\n```sh\ndeno cache --config tsconfig.json \u003cscript\u003e\n```\n\nSee [the example repository](https://github.com/kt3k/packup_example) for more\ndetails.\n\n# 1.0 roadmap\n\n- [x] --public-url\n- [x] image import support\n- [x] import map support\n- [ ] twind example\n- [ ] optimize (minify) option\n- [ ] css import support\n- [ ] scss `@import` support\n- [ ] sourcemap support\n\n## Prior art\n\n- [Parcel][Parcel]\n- [Hammer][Hammer]\n\n# History\n\n- 2022-09-22 v0.2.1 Fix path issues on windows. #50\n- 2022-09-22 v0.2.0 Update esbuild. #49\n- 2022-09-11 v0.1.14 Add import map support. #47\n- 2022-07-12 v0.1.13 Add `\u003cDOCTYPE html\u003e` to html by default. #44 tag. #39\n- 2021-12-27 v0.1.11 Add support of `\u003cimg\u003e` `srcset` attribute and `\u003csource\u003e`\n  tag. #39\n- 2021-12-22 v0.1.11 Add support of image imports (in html). #33\n- 2021-12-05 v0.1.10 Install wasm under `DENO_DIR` when it's specified. #31\n- 2021-12-05 v0.1.9 Add logging related to sass.\n- 2021-11-29 v0.1.8 Add `--static-dist-prefix` option #30\n- 2021-11-29 v0.1.7 Add `--public-url` option #29\n- 2021-10-21 v0.1.6 CLI start up time improvement\n- 2021-10-20 v0.1.5 Remove the use of unstable flag #28\n- 2021-10-19 v0.1.4 Change esbuild wasm file name.\n- 2021-09-19 v0.1.3 Skip processing http(s):// url references in html #22.\n- 2021-09-17 v0.1.2 Fix -p option.\n- 2021-09-16 v0.1.1 Add `ensure_esbuild_wasm.ts` entrypoint.\n- 2021-09-15 v0.1.0 Add basic support of scss #18\n- 2021-09-08 v0.0.17 Support multiple entrypoints #14\n- 2021-09-01 v0.0.16 Fix the message when the server starts #11\n- 2021-07-31 v0.0.15 Update `iterable_file_server`\n- 2021-07-01 v0.0.14 Fix @import-maps/resolve dependency\n  https://github.com/kt3k/packup/commit/4c502652315d5d15755be340318263dbd75fb12f\n  . Remove --bundler options\n  https://github.com/kt3k/packup/commit/e66c76695e0415c9aeb97e8c1b477a828daf5c52\n- 2021-06-21 v0.0.13 Fix for windows https://github.com/kt3k/packup/pull/5.\n\n# License\n\nMIT\n\n[Parcel]: https://parceljs.org/\n[Esbuild]: https://esbuild.github.io/\n[Deno]: https://deno.land/\n[Hammer]: https://github.com/sinclairzx81/hammer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt3k%2Fpackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkt3k%2Fpackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt3k%2Fpackup/lists"}