{"id":24511698,"url":"https://github.com/devnax/makepack","last_synced_at":"2025-07-09T13:40:16.343Z","repository":{"id":269793006,"uuid":"908496566","full_name":"devnax/makepack","owner":"devnax","description":"MakePack is a command-line interface (CLI) tool that helps you to quickly set up, build, and manage JavaScript, TypeScript, React, and React-TypeScript libraries for use in npm projects.","archived":false,"fork":false,"pushed_at":"2025-06-19T03:42:38.000Z","size":321,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T17:17:17.135Z","etag":null,"topics":["cli","javascript","javascript-library","makepack","react","reactjs","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/makepack","language":"JavaScript","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/devnax.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,"zenodo":null}},"created_at":"2024-12-26T08:04:02.000Z","updated_at":"2025-06-19T03:42:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fba4eab3-afac-4e78-a893-929185847b49","html_url":"https://github.com/devnax/makepack","commit_stats":null,"previous_names":["devnax/makepack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devnax/makepack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnax%2Fmakepack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnax%2Fmakepack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnax%2Fmakepack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnax%2Fmakepack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devnax","download_url":"https://codeload.github.com/devnax/makepack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnax%2Fmakepack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263619046,"owners_count":23489541,"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":["cli","javascript","javascript-library","makepack","react","reactjs","typescript","typescript-library"],"created_at":"2025-01-22T00:40:27.863Z","updated_at":"2025-07-09T13:40:16.304Z","avatar_url":"https://github.com/devnax.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/devnax/makepack\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg  src=\"https://raw.githubusercontent.com/devnax/makepack/main/logo.png\" alt=\"Makepack logo\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eMakepack\u003c/h1\u003e\n\n**MakePack** is a command-line interface (CLI) tool that helps you to quickly set up, build, and manage JavaScript, TypeScript, React, and React-TypeScript libraries for use in npm projects. With just a few simple commands, you can generate your own libraries, start a development server, or build and publish your project to the npm repository.\n\n\n## 📥 Installation\n\nInstall `makepack` globally to get started:\n\n```sh\nnpm install -g makepack\n```\n\n---\n\n## 🎯 Why Choose makepack?\n- **Zero-Config Setup** – Instantly scaffold a structured project.\n- **TypeScript Support** – Seamlessly work with modern JavaScript.\n- **Integrated Dev Server** – Run your package with Vite and Express.\n- **Efficient Build System** – Generate optimized ESM and CJS outputs.\n- **One-Command Publish** – Deploy your package to npm effortlessly.\n---\n\n## 📜 CLI Commands\n\n### ✨ `makepack create` – Scaffold a New Project\nQuickly initialize a structured package with the following setup:\n\n```\nsrc/index.ts or tsx or js or jsx\n.gitignore\npackage.json\nREADME.md\n```\n\nRun:\n```sh\nmakepack create\n```\nFollow the interactive prompts to configure your project.\n\n### 🚀 `makepack start` – Launch the Development Server\nRun a Vite + Express server to develop and test your package in real-time.\n\n```sh\nmakepack start\n```\n\n### 🏗️ `makepack build` – Compile Your Package\nBuilds and optimizes your package into the `build` directory.\n\n```sh\nmakepack build\n```\n\n### 📦 `makepack publish` – Deploy to NPM\nPublish your package to the npm registry in one command.\n\n```sh\nmakepack publish\n```\n\n---\n\n## ⚙️ Configuration\n\nCustomize your project by creating a `makepack.js` file in the root directory. This file allows full control over the build and dev environment.\n\n### 🔧 Default Configuration\n\n```js\nmodule.exports = (prevConfig) =\u003e ({\n  build: {\n    outdir: \"build\",\n    types: true,\n    formatPackageJson: (p) =\u003e p,\n    configs: [\n      {\n        entryPoints: \"src/**/*.{tsx,ts,js,jsx}\",\n        outdir: \"esm\",\n        format: \"esm\",\n        sourcemap: true,\n        jsx: 'automatic',\n        loader: {\n          '.ts': 'ts',\n          '.tsx': 'tsx'\n        },\n      },\n      {\n        entryPoints: \"src/**/*.{tsx,ts,js,jsx}\",\n        outdir: \"\",\n        format: \"cjs\",\n        sourcemap: true,\n        jsx: 'automatic',\n        loader: {\n          '.ts': 'ts',\n          '.tsx': 'tsx'\n        },\n      }\n    ]\n  },\n  start: {\n    port: 5000,\n    entry: \"App.tsx\",\n  }\n});\n```\n\n---\n\n## 📜 License\n\n`makepack` is released under the **MIT License**, allowing free usage in both open-source and commercial projects.\n\n---\n\n🚀 **Start building your next NPM package with `makepack` today!**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevnax%2Fmakepack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevnax%2Fmakepack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevnax%2Fmakepack/lists"}