{"id":16364005,"url":"https://github.com/adevinwild/micro-ts","last_synced_at":"2025-10-03T13:02:11.512Z","repository":{"id":65900188,"uuid":"601268366","full_name":"adevinwild/micro-ts","owner":"adevinwild","description":"A minimalist template to create packages with TypeScript and microbundle from @developit","archived":false,"fork":false,"pushed_at":"2023-02-22T07:49:36.000Z","size":51,"stargazers_count":87,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-06T22:44:07.624Z","etag":null,"topics":["bootstrap","bundle","library","microbundle","npm","package","ready","ready-to-use","template","ts","typescript"],"latest_commit_sha":null,"homepage":"","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/adevinwild.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":"2023-02-13T18:02:11.000Z","updated_at":"2025-01-28T00:42:11.000Z","dependencies_parsed_at":"2023-05-18T03:00:31.925Z","dependency_job_id":null,"html_url":"https://github.com/adevinwild/micro-ts","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/adevinwild/micro-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adevinwild%2Fmicro-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adevinwild%2Fmicro-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adevinwild%2Fmicro-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adevinwild%2Fmicro-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adevinwild","download_url":"https://codeload.github.com/adevinwild/micro-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adevinwild%2Fmicro-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275691206,"owners_count":25510501,"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-17T02:00:09.119Z","response_time":84,"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":["bootstrap","bundle","library","microbundle","npm","package","ready","ready-to-use","template","ts","typescript"],"created_at":"2024-10-11T02:29:05.962Z","updated_at":"2025-09-18T00:58:28.765Z","avatar_url":"https://github.com/adevinwild.png","language":"TypeScript","readme":"\u003cp align=\"center\" \u003e\n    \u003cimg alt=\"micro-ts\" src=\"./.r/banner.png\" width=\"640\" /\u003e\n\u003c/p\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\" style=\"max-width:50%;margin:0 auto;\"\u003e\n  \u003ccode\u003emicro-ts\u003c/code\u003e A micro-minimalist template to create TypeScript packages with `microbundle`.\n\u003c/p\u003e\n\u003cbr /\u003e\n\n\u003ca href=\"https://github.com/adevinwild/micro-ts/generate\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ckbd\u003eStart now ✨\u003c/kbd\u003e\n  \u003c/p\u003e\n\u003c/a\u003e\n\n## Features 🎉\n\n-   Pre-configured `microbundle` repository 📦\n-   Pre-configured `eslint` and `prettier` 🛠️\n-   Pre-configured `jest` and `ts-jest` 🧪\n\n## Usage 📖\n\nYou can clone the repository or click on the `Use this template` button to create a new repository from this template.\n\nStart hacking inside the `src` folder and run `npm run build` to build the package.\n\n## Publishing 🚀\n\nWhile we haven't included a specific package for publishing your NPM package, we do have a few recommendations for you. If you want a simple and straightforward method for publishing your package, **we recommend using the [np](https://github.com/sindresorhus/np) package.**\nThe following command will guide you through the publishing process, and it is an easy way to publish your package.\n\n```bash\nnpx np\n```\n\n## Configuration 🛠️\n\n\u003ckbd\u003emicro-ts\u003c/kbd\u003e is based on the `microbundle` package. You can find more information about the configuration [here](https://github.com/developit/microbundle).\n\nThe `package.json` file contains the following keys:\n\n```\n\n{\n\"name\": \"foo\", // your package name\n\"type\": \"module\",\n\"source\": \"src/foo.js\", // your source code\n\"exports\": {\n\"require\": \"./dist/foo.cjs\", // used for require() in Node 12+\n\"default\": \"./dist/foo.modern.js\" // where to generate the modern bundle (see below)\n},\n\"main\": \"./dist/foo.cjs\", // where to generate the CommonJS bundle\n\"module\": \"./dist/foo.module.js\", // where to generate the ESM bundle\n\"unpkg\": \"./dist/foo.umd.js\", // where to generate the UMD bundle (also aliased as \"umd:main\")\n\"scripts\": {\n\"build\": \"microbundle\", // compiles \"source\" to \"main\"/\"module\"/\"unpkg\"\n\"dev\": \"microbundle watch\" // re-build when source files change\n}\n}\n\n```\n\n\u003csmall\u003eThis is a copy of the `microbundle` documentation.\u003c/small\u003e\n\nWhen you build your project using `microbundle`, three different file formats are generated:\n\n-   \u003ckbd\u003e.umd.js\u003c/kbd\u003e: A Universal Module Definition (UMD) file format that works in different module systems, including AMD, CommonJS, and global scripts.\n\n-   \u003ckbd\u003e.module.js\u003c/kbd\u003e: An ES module file format that uses the import and export syntax and is designed to work in modern browsers and build tools.\n\n-   \u003ckbd\u003e.cjs\u003c/kbd\u003e: A CommonJS module file format that uses the require and module.exports syntax and is used in Node.js and older JavaScript environments.\n\nYou can use these file formats to **target different environments**.\n\n## License 📝\n\n[MIT](./LICENSE)\n\n\u003ca href=\"https://github.com/adevinwild/micro-ts/generate\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ckbd\u003eStart now ✨\u003c/kbd\u003e\n  \u003c/p\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadevinwild%2Fmicro-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadevinwild%2Fmicro-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadevinwild%2Fmicro-ts/lists"}