{"id":14967405,"url":"https://github.com/yohangz/packer-cli","last_synced_at":"2025-05-02T22:31:24.774Z","repository":{"id":38271785,"uuid":"149270225","full_name":"yohangz/packer-cli","owner":"yohangz","description":":boom: Full-fledged CLI tool to generate and package node modules compliant with Browser and NodeJS. Packer CLI support all modern style, unit test and script transpiler tools","archived":false,"fork":false,"pushed_at":"2023-01-07T03:26:48.000Z","size":5834,"stargazers_count":85,"open_issues_count":22,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T03:36:55.354Z","etag":null,"topics":["babel","build-tool","eslint","gulp","handlebars","istambul","jasmine","jest","jsdom","less","mocha","nodejs","reactjs","rollupjs","sass","spdx","stylelint","stylus","tslint","typescript"],"latest_commit_sha":null,"homepage":"http://bit.ly/packer-cli","language":"HTML","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/yohangz.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}},"created_at":"2018-09-18T10:28:18.000Z","updated_at":"2024-08-16T11:25:38.000Z","dependencies_parsed_at":"2023-02-06T11:01:42.930Z","dependency_job_id":null,"html_url":"https://github.com/yohangz/packer-cli","commit_stats":null,"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohangz%2Fpacker-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohangz%2Fpacker-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohangz%2Fpacker-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohangz%2Fpacker-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yohangz","download_url":"https://codeload.github.com/yohangz/packer-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252116276,"owners_count":21697346,"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":["babel","build-tool","eslint","gulp","handlebars","istambul","jasmine","jest","jsdom","less","mocha","nodejs","reactjs","rollupjs","sass","spdx","stylelint","stylus","tslint","typescript"],"created_at":"2024-09-24T13:38:00.689Z","updated_at":"2025-05-02T22:31:19.767Z","avatar_url":"https://github.com/yohangz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://image.ibb.co/kezsYp/packer.png\" alt=\"Packer CLI\"/\u003e\n  \n  \u003ca href=\"https://travis-ci.org/yohangz/packer-cli\"\u003e\n    \u003cimg src=\"https://travis-ci.org/yohangz/packer-cli.svg?branch=master\" alt=\"travis build\" height=\"18\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/yohangz/packer-cli/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat\" alt=\"license\" height=\"18\"\u003e\n  \u003c/a\u003e  \n  \u003ca href=\"https://badge.fury.io/js/packer-cli\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/packer-cli.svg\" alt=\"npm version\" height=\"18\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Packer CLI helps you to kick start new node module projects compliant with NodeJS and Browser, prescribing best practices. Packer encapsulating file-watching, live-reloading, transpiling, bundling and unit test framework integration with coverage and much more, so you don't have to. You will get to enjoy the latest latest JavaScript awesomeness with flexibility to custom fit your project needs.\n  To do so, we provide a generator ecosystem via command line to scaffold complete projects with full control over all exposed workflows.\n  \n  Explained in detail: [Build Node Modules Like a Pro with Packer CLI](http://bit.ly/packer-cli)\n  \n## :book: Table of Contents\n  \u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n  \u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n  \n  - [Tech Stack](#bulb-tech-stack)\n  - [Usage](#sparkles-usage)\n    - [Basic Usage](#mag_right-basic-usage)\n    - [Standalone Usage](#gear-standalone-usage)\n  - [Build Configuration](#hammer_and_pick-build-configuration)\n  - [Contributions](#seedling-contributions)\n  - [License](#copyright-license)\n  \n  \u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## :bulb: Tech Stack\n\n[![Rollup](https://image.ibb.co/djqwR9/rollup.png)](https://rollupjs.org/)\n[![Gulp](https://image.ibb.co/j8A7Yp/gulp.png)](https://gulpjs.com/)\n[![Babel](https://image.ibb.co/hNSXzU/babel.png)](https://babeljs.io/)\n[![ES Lint](https://image.ibb.co/iGhzeU/eslint.png)](https://eslint.org/)\n[![Typescript](https://image.ibb.co/fjR369/typescript.png)](https://www.typescriptlang.org/)\n[![TS Lint](https://image.ibb.co/ddVVm9/ts-lint.png)](https://palantir.github.io/tslint/)\n[![Postcss](https://image.ibb.co/bSSbR9/postcss.png)](https://postcss.org/)\n[![LESS](https://image.ibb.co/mXSXzU/less.png)](http://lesscss.org/)\n[![SASS](https://image.ibb.co/jBLwR9/sass.png)](https://sass-lang.com/)\n[![Stylus](https://image.ibb.co/jteZDp/stylus.png)](http://stylus-lang.com/)\n[![Style Lint](https://image.ibb.co/hqySYp/stylelint.png)](https://stylelint.io/)\n[![Karma](https://image.ibb.co/hq8i69/karma.png)](https://karma-runner.github.io)\n[![Mocha](https://image.ibb.co/nn2XzU/mocha.png)](https://mochajs.org/)\n[![Chai](https://i.ibb.co/drY8ryr/chaijs.png)](https://www.chaijs.com/)\n[![Jest](https://i.ibb.co/ftLCJ50/jest.png)](https://jestjs.io/)\n[![Jasmine](https://image.ibb.co/jrGEDp/jasmine.png)](https://jasmine.github.io/)\n[![Istanbul](https://image.ibb.co/fOsbR9/istanbul.png)](https://istanbul.js.org/)\n[![React](https://i.ibb.co/zHccJ3r/react.png)](https://reactjs.org/)\n[![JSdom](https://i.ibb.co/FKDXFxM/jsdom.png)](https://github.com/jsdom/jsdom)\n[![Handlebars](https://image.ibb.co/g2Di69/handlebars.png)](https://handlebarsjs.com/)\n[![Prettier](https://i.ibb.co/WgG8y3H/prettier.png)](https://prettier.io/)\n[![SPDX](https://image.ibb.co/jSgEDp/spdx.png)](https://spdx.org/)\n[![NPM](https://image.ibb.co/m2HMtp/npm.png)](https://www.npmjs.com/)\n[![YARN](https://image.ibb.co/g1aVm9/yarn.png)](https://yarnpkg.com/)\n[![Travis CI](https://image.ibb.co/fGqKeU/travis-ci.png)](https://travis-ci.org/)\n\n## :sparkles: Usage\n\nProceed with next steps if your platform meet following prerequisites. \n\n- Install [Node.js](https://nodejs.org/en/) on your device. \n\n## :mag_right: Basic Usage\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.ibb.co/hDZZFZb/packer-intro.gif\" alt=\"Packer Intro\" width=\"620px\" /\u003e\n\u003c/p\u003e\n\nYou can simply run the following command in a preferred directory to generate a new library project using Packer CLI,\n\n```sh\nnpx packer-cli generate my-library\n```\n\nor\n\n```sh\nnpm install packer-cli -g \u0026\u0026 packer generate my-library\n```\n\nOnce project is generated and dependencies are installed, you can use the following NPM scripts:\n\n```sh\n# Run project on watch mode\nnpm run watch\n\n# Production build\nnpm run build\n\n# Run Style and script lint tasks\nnpm run lint\n\n# Run style lint task\nnpm run lint:style\n\n# Run script lint task\nnpm run lint:script\n\n# Run auto format source task\nnpm run format\n\n# Run unit test suite on development envrionemnt watch mode\nnpm run test\n\n# Run unit test suite with coverage on development envrionemnt watch mode\nnpm run test:coverage\n\n# Run unit test suite on continues integration environment mode\nnpm run test:ci\n\n# Run unit test suite with coverage mode on continues integration environment mode\nnpm run test:coverage:ci\n\n# Bump package version and push updated package config\nnpm version major|minor|patch\n\n# Build project and publish to NPM\nnpm run release\n```\n\nGenerated project structure can be viewed [here](docs/STRUCTURE.md)\n\n## :gear: Standalone Usage\n\nYou can also use packer CLI standalone on any packer compliant project to customize the NPM scripts generated.\n\n```text\nUsage: packer [--version | -v] | [--help | -h] | \u003ccommand\u003e[\u003cargs\u003e]\n\n  Arguments supported with all commands\n\n  + Logging flags\n    [--trace]          set console log level to trace\n    [--info]           set console log level to information\n    [--warn]           set console log level to warning\n    [--error]          set console log level to error\n    [--silent]         set console log level to silent\n\n  + Other Flags\n    [--config | -c]    dynamic packer config path\n\n  Generate a new library project via packer\n\n  generate | g \u003cproject name\u003e\n    [--skipInstall | -sk]   skip dependency install after project\n\n  These are packer commands can be used on generated project\n    build | b                trigger build\n      [--perf | -P]          execute build task with rollup performance monitoring\n    watch | w                trigger serve on watch mode\n    test | t                 execute project test suite\n      [--watch | -W]         execute test on watch mode\n      [--coverage | -C]      execute test suite with coverage\n    clean | c                clean project build artifacts and temporary files generated\n    lint | l                 execute lint for project source\n      [--style | -sc]        execute only style lint\n      [--script | -sr]       execute only script lint\n    format | f               auto format project source\n```\n\n## :hammer_and_pick: Build Configuration\n\nBuild configuration can be updated after project generation via ``.packerrc.js``. Refer [packer configuration options](docs/BUILD_CONFIGURATION.md) for detailed configuration options list.\n                                                                                                                                                                 \n## :seedling: Contributions\n\nFeel free to open an issue or create a PR.\n\n## :copyright: License\n\nPacker-CLI is MIT licensed. Please refer [LICENSE](https://github.com/yohangz/packer-cli/blob/master/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohangz%2Fpacker-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyohangz%2Fpacker-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohangz%2Fpacker-cli/lists"}