{"id":14967728,"url":"https://github.com/mangoweb/mango-cli","last_synced_at":"2025-10-25T21:31:58.762Z","repository":{"id":23278854,"uuid":"26637593","full_name":"manGoweb/mango-cli","owner":"manGoweb","description":"A project scaffolding and build tool to accelerate your development","archived":false,"fork":false,"pushed_at":"2023-04-12T17:18:59.000Z","size":6118,"stargazers_count":30,"open_issues_count":52,"forks_count":9,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-30T02:36:48.769Z","etag":null,"topics":["babel","browsersync","build-tool","devstack","frontend","imagemin","jade","javascript","less","mango-cli","pug","react","sass","sourcemaps","stylus","typescript","webpack","workflow"],"latest_commit_sha":null,"homepage":"http://mangocli.org","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/manGoweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2014-11-14T12:25:59.000Z","updated_at":"2023-09-08T16:52:08.000Z","dependencies_parsed_at":"2024-06-19T23:08:45.315Z","dependency_job_id":"02d1e554-689d-4a34-ac70-8104335dcc15","html_url":"https://github.com/manGoweb/mango-cli","commit_stats":{"total_commits":697,"total_committers":17,"mean_commits":41.0,"dds":0.6341463414634146,"last_synced_commit":"1ce36022697689fe264e231be816350ec995463c"},"previous_names":[],"tags_count":109,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manGoweb%2Fmango-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manGoweb%2Fmango-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manGoweb%2Fmango-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manGoweb%2Fmango-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manGoweb","download_url":"https://codeload.github.com/manGoweb/mango-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238212427,"owners_count":19434955,"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","browsersync","build-tool","devstack","frontend","imagemin","jade","javascript","less","mango-cli","pug","react","sass","sourcemaps","stylus","typescript","webpack","workflow"],"created_at":"2024-09-24T13:38:31.542Z","updated_at":"2025-10-25T21:31:58.388Z","avatar_url":"https://github.com/manGoweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"128\" src=\"https://s3.eu-central-1.amazonaws.com/uploads.mangoweb.org/go-outline.svg\"\u003e\u003c/p\u003e\n\nmango-cli [![CircleCI](https://circleci.com/gh/manGoweb/mango-cli/tree/master.svg?style=svg)](https://circleci.com/gh/manGoweb/mango-cli/tree/master) [![NPM downloads](https://img.shields.io/npm/dm/mango-cli.svg)](https://www.npmjs.com/package/mango-cli) [![Docker Pulls](https://img.shields.io/docker/pulls/mangoweb/mango-cli.svg)](https://hub.docker.com/r/mangoweb/mango-cli/)\n=========\n\nScaffold and build your projects way more faster than before. Preconfigured frontend devstack to the absolute perfection. Fully automated to save your precious time. Ready for any type of web project.\n\n**A little example project** is here: [manGoweb/mango-cli-example](https://github.com/mangoweb/mango-cli-example).\n\n\n- [Installation](#installation)\n\t- [Requirements](#requirements)\n\t- [Alternative methods](#alternative-methods)\n- [Usage](#usage)\n\t- [Project scaffolding and initialization](#project-scaffolding-and-initialization)\n\t- [Managing project dependencies](#managing-project-dependencies)\n\t- [Project build](#project-build)\n- [Configuration](docs/config.md)\n- [FAQ](https://github.com/manGoweb/mango-cli/wiki/FAQ)\n\n## Under the hood\n\n\u003ctable\u003e\n\u003ctr\u003e\u003cth colspan=2 align=left\u003eStyles\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://learnboost.github.io/stylus\"\u003eStylus\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eexpressive, robust, feature-rich CSS preprocessor\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://github.com/sass/libsass\"\u003eSass\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eCSS with superpowers\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://lesscss.org\"\u003eLess\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ethe dynamic stylesheet language\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://github.com/postcss/autoprefixer\"\u003eAutoprefixer \u003c/a\u003e\u003c/td\u003e\u003ctd\u003evendor prefixes based on the real usage\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://github.com/jakubpawlowicz/clean-css\"\u003eClean-CSS\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eFast and efficient CSS minifier\u003c/td\u003e\u003c/tr\u003e\n\n\u003ctr\u003e\u003cth colspan=2 align=left\u003eTemplates\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://pugjs.org\"\u003ePug (Jade)\u003c/a\u003e\u003c/td\u003e\u003ctd\u003erobust, elegant and feature rich template engine\u003c/td\u003e\u003c/tr\u003e\n\n\u003ctr\u003e\u003cth colspan=2 align=left\u003eScripts\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://webpack.js.org\"\u003eWebpack\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eStatic module bundler for modern JavaScript applications\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://www.typescriptlang.org/\"\u003eTypeScript\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eTyped superset of JavaScript\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://babeljs.io/\"\u003eBabel\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eUse next generation JavaScript today\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://facebook.github.io/react\"\u003eReact\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eJavaScript library for building user interfaces from Facebook\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://svelte.dev/\"\u003eSvelte\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eCybernetically enhanced web apps\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://lisperator.net/uglifyjs\"\u003eUglifyJS\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eJavaScript minifier\u003c/td\u003e\u003c/tr\u003e\n\n\u003ctr\u003e\u003cth colspan=2 align=left\u003eTools\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.browsersync.io\"\u003eBrowserSync\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eTime-saving synchronised browser testing\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://www.npmjs.org\"\u003eNPM\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNode.js package manager\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://gulpjs.com/\"\u003eGulp\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eAutomated build tasks\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://github.com/imagemin/imagemin\"\u003eImagemin\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eSeamless image minification\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://github.com/floridoo/gulp-sourcemaps\"\u003eSourcemaps\u003c/a\u003e\u003c/td\u003e\u003ctd\u003edebug like a pro\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n## Installation\n\nInstall mango-cli once from `npm` and use it everywhere:\n\n```sh\nnpm install -g mango-cli\n```\n\n### Requirements\n\nBefore installation check that your system has these requirements:\n\n- [Node.js LTS (10.x)](https://nodejs.org/en/download/)\n- [Git](http://git-scm.com) executable in `PATH`\n\n#### Mac OS X\n\n   * `python` (`v2.7` recommended, `v3.x.x` is __*not*__ supported) (already installed on Mac)\n   * [Xcode](https://developer.apple.com/xcode/download/)\n     * You also need to install the `Command Line Tools` via Xcode. You can find this under the menu `Xcode -\u003e Preferences -\u003e Downloads`\n   * [libvips](https://jcupitt.github.io/libvips/) via Homebrew `brew install vips`\n\n#### Windows\n\n   * [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) via `npm install -g --production windows-build-tools` (from an elevated PowerShell)\n     * will install and configure *Python v2.7* and *Visual C++ Build Tools 2015* for you\n\n#### Linux\n\n   * `python` (`v2.7` recommended, `v3.x.x` is __*not*__ supported)\n   * `make`\n   * A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)\n\n\n### Alternative methods\n\n#### Docker\n\nWe also provide a Docker image `mangoweb/mango-cli` which is available on the [Docker HUB](https://hub.docker.com/r/mangoweb/mango-cli/)\n\n#### Pre-packed archives\n\nIf you're still having problems with the installation, check out prepared [release packages](https://github.com/manGoweb/mango-cli/releases).\n\nExtract them locally and run `npm link` in the `mango-cli` folder (on Mac OS X you still need the `libvips` dependency though).\n\n\n## Usage\n\n* `mango init` - scaffolding and initialization\n* `mango install` - dependency installation\n* `mango build` - production build\n* `mango dev` - development mode\n\nFeel free to use `mango [command] -h` for detailed instructions\n\n\n### Project scaffolding and initialization\n\n```sh\nmango init [options] [directory]\n```\n\nForks a template into folder.\n\nOptions:\n* `-s, --source [git_repository]` - git repository with a template to fork. Default is currently the [mango-cli-example](https://github.com/manGoweb/mango-cli-example)\n\n\n### Managing project dependencies\n\n```sh\nmango install [packages...]\n```\n\nInstalls packages from NPM and stores them in `node_modules` folder, from where you can `require` them (thanks to browserify).\nMaintain current list in the `mango.yaml` config file under the `dependencies` section.\n\n\n### Project build\n\nAssuming the config file `mango.yaml` is present in a current directory and contains:\n\n```yaml\nstyles:\n  - styles/screen.styl\nscripts:\n  - scripts/index.js\nimages:\n  - images/**/*.{jpg,png,svg}\ntemplates:\n  - templates/**/*.pug\nstatic:\n  - fonts/**\ndependencies:\n  - jquery\nwatch:\n  - app/**\ndist_folder: dist\n```\n\nConfig file can be in JSON or JS formats. `mango.json` gets parsed as a JSON file, `mango.config.js` gets required as-is.\n\n\n#### Production build\n\n```sh\nmango build [tasks...]\n```\n\nAll assets are compiled and minified into `dist_folder`, ready for production use.\n\nOptions:\n* `[tasks...]` - run only specified tasks as `styles`, `scripts`, `images`, `templates`, `static`\n\n\n#### Development mode\n\n```sh\nmango dev [http_proxy]\n```\n\nStarts BrowserSync server (or proxy server) and fs watch for assets change.\n\n\n## Configuration\n\nMore in [Configuration options](docs/config.md) docs...\n\n\n## FAQ\n\nMore in [the Wiki page...](https://github.com/manGoweb/mango-cli/wiki/FAQ)\n\n\n## Copyright\n\nCopyright 2016-2018 [manGoweb s.r.o.](https://www.mangoweb.cz) Code released under [the MIT license](LICENSE). Evolved from [Frontbase](http://frontbase.org) devstack.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmangoweb%2Fmango-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmangoweb%2Fmango-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmangoweb%2Fmango-cli/lists"}