{"id":16222088,"url":"https://github.com/hugodf/microbundle-ts-pkg","last_synced_at":"2025-03-19T11:31:19.261Z","repository":{"id":37159094,"uuid":"260863698","full_name":"HugoDF/microbundle-ts-pkg","owner":"HugoDF","description":"A TypeScript npm package skeleton/starter project with microbundle, node:test and prettier","archived":false,"fork":false,"pushed_at":"2023-08-30T02:07:21.000Z","size":801,"stargazers_count":20,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T06:51:35.626Z","etag":null,"topics":["microbundle","node-module","nodejs","prettier","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"https://codewithhugo.com/microbundle-typescript-npm-module/","language":"JavaScript","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/HugoDF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"HugoDF"}},"created_at":"2020-05-03T08:56:32.000Z","updated_at":"2024-04-02T06:54:45.000Z","dependencies_parsed_at":"2024-10-27T20:42:46.119Z","dependency_job_id":null,"html_url":"https://github.com/HugoDF/microbundle-ts-pkg","commit_stats":{"total_commits":67,"total_committers":3,"mean_commits":"22.333333333333332","dds":"0.35820895522388063","last_synced_commit":"2ffad24380cf846a2c0830e007535391c89c4a03"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fmicrobundle-ts-pkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fmicrobundle-ts-pkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fmicrobundle-ts-pkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fmicrobundle-ts-pkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoDF","download_url":"https://codeload.github.com/HugoDF/microbundle-ts-pkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244416978,"owners_count":20449373,"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":["microbundle","node-module","nodejs","prettier","typescript","typescript-library"],"created_at":"2024-10-10T12:11:05.813Z","updated_at":"2025-03-19T11:31:18.924Z","avatar_url":"https://github.com/HugoDF.png","language":"JavaScript","funding_links":["https://github.com/sponsors/HugoDF"],"categories":[],"sub_categories":[],"readme":"![Build](https://github.com/HugoDF/buttondown/workflows/Build%20\u0026%20test/badge.svg)\n\nmicrobundle-ts-pkg: A TypeScript npm package skeleton/starter project with microbundle, node:test and prettier\n\nComes with:\n\n- [SAMPLE_README.md](./SAMPLE_README.md) and [USE_CASES.md](./USE_CASES.md) for documentation.\n- [built-in `node:test` runner](https://nodejs.org/dist/latest-v18.x/docs/api/test.html) for testing (see [./tests](./tests))\n- prettier for formatting\n- microbundle for compiling TypeScript to UMD, ESM, CJS\n\n## Requirements\n\n- Node 18 (to run this repository, due to `node:test` usage)\n- npm v7+\n\n## Setup\n\n1. Clone the repository\n2. Run `npm install` installs all required dependencies.\n3. Run `npm run build` to build from TypeScript to common JavaScript distribution formats.\n4. Run `npm test` to run all tests.\n\n## npm scripts\n\n- `npm run test` run tests against **built output** with Node.js' native `node:test` module. **Important**: runs against build output so run `npm run build` beforehand.\n- `npm run build` run build from TypeScript to UMD, CJS, ESM with [microbundle](https://github.com/developit/microbundle)\n- `npm run watch` runs build in watch mode with [microbundle](https://github.com/developit/microbundle)\n- `npm run lint` will ensure all of the files are prettier-formatted\n- `npm run format` will run prettier formatting option on all the examples files (and tests).\n- `npm run release`, run clean, production build and release with `np`.\n\n# About\n\nThis package is maintained by Hugo from [Code with Hugo](https://codewithhugo.com) and [Alpine.js Weekly](https://alpinejs.codewithhugo.com/newsletter).\n\n## Acknowledgments\n\n\nSpecial thanks to:\n\n- The developers behind\n  - [microbundle](https://github.com/developit/microbundle#readme)\n  - [np](https://github.com/sindresorhus/np#readme)\n\n# LICENSE\n\nCode is licensed under the [MIT License](./LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fmicrobundle-ts-pkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugodf%2Fmicrobundle-ts-pkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fmicrobundle-ts-pkg/lists"}